gvsig-vectorediting / org.gvsig.vectorediting / trunk / org.gvsig.vectorediting / org.gvsig.vectorediting.lib / org.gvsig.vectorediting.lib.impl / src / main / java / org / gvsig / vectorediting / lib / impl / DefaultEditingBehavior.java @ 13
History | View | Annotate | Download (1.52 KB)
1 |
/*
|
---|---|
2 |
* Copyright 2014 DiSiD Technologies S.L.L. All rights reserved.
|
3 |
*
|
4 |
* Project : DiSiD org.gvsig.vectorediting.lib.impl
|
5 |
* SVN Id : $Id$
|
6 |
*/
|
7 |
package org.gvsig.vectorediting.lib.impl; |
8 |
|
9 |
import java.awt.event.MouseEvent; |
10 |
|
11 |
import org.gvsig.fmap.mapcontrol.MapControl; |
12 |
import org.gvsig.fmap.mapcontrol.tools.BehaviorException; |
13 |
import org.gvsig.fmap.mapcontrol.tools.Behavior.Behavior; |
14 |
import org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener; |
15 |
import org.gvsig.vectorediting.lib.api.EditingBehavior; |
16 |
|
17 |
public class DefaultEditingBehavior extends Behavior implements EditingBehavior { |
18 |
|
19 |
private MapControl mapControl;
|
20 |
|
21 |
public DefaultEditingBehavior(MapControl mapControl) {
|
22 |
// TODO Auto-generated constructor stub
|
23 |
if(mapControl !=null){ |
24 |
this.mapControl = mapControl;
|
25 |
} |
26 |
} |
27 |
|
28 |
public void activateTool(String name) { |
29 |
// TODO Auto-generated method stub
|
30 |
} |
31 |
|
32 |
@Override
|
33 |
public ToolListener getListener() {
|
34 |
// TODO Auto-generated method stub
|
35 |
return null; |
36 |
} |
37 |
|
38 |
public void mouseClicked(MouseEvent e) throws BehaviorException { |
39 |
// TODO Auto-generated method stub
|
40 |
} |
41 |
|
42 |
public void mouseEntered(MouseEvent e) throws BehaviorException { |
43 |
// TODO Auto-generated method stub
|
44 |
} |
45 |
|
46 |
public void mouseMoved(MouseEvent e) throws BehaviorException { |
47 |
// TODO Auto-generated method stub
|
48 |
} |
49 |
|
50 |
public void mousePressed(MouseEvent e) throws BehaviorException { |
51 |
// TODO Auto-generated method stub
|
52 |
} |
53 |
|
54 |
public void mouseReleased(MouseEvent e) throws BehaviorException { |
55 |
// TODO Auto-generated method stub
|
56 |
} |
57 |
|
58 |
} |