Statistics
| Revision:

root / branches / v2_0_0_prep / libraries / libFMap_controls / src / org / gvsig / fmap / mapcontrol / tools / snapping / snappers / ISnapper.java @ 30349

History | View | Annotate | Download (606 Bytes)

1
package org.gvsig.fmap.mapcontrol.tools.snapping.snappers;
2

    
3
import java.awt.geom.Point2D;
4

    
5
import org.gvsig.fmap.mapcontrol.PrimitivesDrawer;
6

    
7
/**
8
 * @author fjp
9
 *
10
 */
11
public interface ISnapper {
12

    
13
        void draw(PrimitivesDrawer primitivesDrawer, Point2D pPixels);
14

    
15
        String getToolTipText();
16

    
17
        /**
18
         * Implement this if you need a Snapper more important than the others.
19
         * Default value is 0 (no prority).
20
         * @return
21
         */
22
        int getPriority();
23

    
24
        boolean isEnabled();
25
        public void setEnabled(boolean enabled);
26
        public void setPriority(int priority);
27
        Object getConfigurator();
28

    
29
}