Revision 32

View differences:

org.gvsig.attributeeditor/trunk/org.gvsig.attributeeditor/pom.xml
3 3
	<parent>
4 4
		<groupId>org.gvsig</groupId>
5 5
		<artifactId>org.gvsig.desktop</artifactId>
6
		<version>2.0.72</version>
6
		<version>2.0.76-SNAPSHOT</version>
7 7
	</parent>
8 8
	<groupId>org.gvsig</groupId>
9 9
	<artifactId>org.gvsig.attributeeditor</artifactId>
org.gvsig.attributeeditor/trunk/org.gvsig.attributeeditor/org.gvsig.attributeeditor.mapcontrol/src/main/java/org/gvsig/fmap/mapcontrol/tools/Listeners/AttributeEditorBehavior.java
26 26

  
27 27
import org.gvsig.fmap.mapcontrol.MapControl;
28 28
import org.gvsig.fmap.mapcontrol.tools.CompoundBehavior;
29
import org.gvsig.fmap.mapcontrol.tools.PanListenerImpl;
30 29
import org.gvsig.fmap.mapcontrol.tools.Behavior.Behavior;
31
import org.gvsig.fmap.mapcontrol.tools.Behavior.MoveWithMiddleButtonBehavior;
32 30
import org.gvsig.fmap.mapcontrol.tools.Behavior.PointBehavior;
33 31

  
34 32

  
......
45 43
     */
46 44
    public AttributeEditorBehavior(MapControl mapControl) {
47 45
        super(new Behavior[0]);
48
        PanListener pl = new PanListenerImpl(mapControl);
49 46
        this.attributeEditorPointListener =
50 47
            new AttributeEditorPointListener(mapControl);
51 48

  
52
        this.addMapBehavior(new MoveWithMiddleButtonBehavior(pl), true);
53
        this.addMapBehavior(new PointBehavior(attributeEditorPointListener), false);
49
        this.addMapBehavior(new PointBehavior(attributeEditorPointListener), true);
54 50

  
55 51
    }
56 52

  
org.gvsig.attributeeditor/trunk/org.gvsig.attributeeditor/org.gvsig.attributeeditor.app/org.gvsig.attributeeditor.app.mainplugin/src/main/java/org/gvsig/app/mainplugin/extension/AttributeEditorExtension.java
68 68
                FLyrVect lyr = (FLyrVect)act_lyr[0];
69 69
                MapControl mapControl = vw.getMapControl();
70 70
                if (!mapControl.hasTool(AttributeEditorPointListener.ATTRIBUTE_EDITOR_TOOL_NAME)){
71
                    StatusBarListener sbl = new StatusBarListener(mapControl);
71
//                    StatusBarListener sbl = new StatusBarListener(mapControl);
72 72

  
73 73
                    AttributeEditorBehavior attributeEditorBehavior = new AttributeEditorBehavior(mapControl);
74
                    attributeEditorBehavior.addMapBehavior(new MouseMovementBehavior(sbl), false);
74
//                    attributeEditorBehavior.addMapBehavior(new MouseMovementBehavior(sbl), false);
75 75
                    mapControl.addBehavior(AttributeEditorPointListener.ATTRIBUTE_EDITOR_TOOL_NAME, attributeEditorBehavior);
76 76
                }
77 77

  

Also available in: Unified diff