root / trunk / extensions / extCAD / src / com / iver / cit / gvsig / project / documents / view / snapping / ISnapper.java @ 8943
History | View | Annotate | Download (582 Bytes)
1 |
package com.iver.cit.gvsig.project.documents.view.snapping; |
---|---|
2 |
|
3 |
import java.awt.Graphics; |
4 |
import java.awt.geom.Point2D; |
5 |
|
6 |
import com.iver.andami.ui.mdiManager.IWindow; |
7 |
|
8 |
/**
|
9 |
* @author fjp
|
10 |
*
|
11 |
*/
|
12 |
public interface ISnapper { |
13 |
|
14 |
|
15 |
// void setSnapPoint(Point2D snapPoint);
|
16 |
|
17 |
void draw(Graphics g, Point2D pPixels); |
18 |
|
19 |
String getToolTipText();
|
20 |
|
21 |
/**
|
22 |
* Implement this if you need a Snapper more important than the others.
|
23 |
* Default value is 0 (no prority).
|
24 |
* @return
|
25 |
*/
|
26 |
int getPriority();
|
27 |
|
28 |
boolean isEnabled();
|
29 |
public void setEnabled(boolean enabled); |
30 |
|
31 |
IWindow getConfigurator(); |
32 |
|
33 |
} |