root / trunk / extensions / extCAD / src / com / iver / cit / gvsig / project / documents / view / snapping / AbstractSnapper.java @ 8943
History | View | Annotate | Download (939 Bytes)
1 |
package com.iver.cit.gvsig.project.documents.view.snapping; |
---|---|
2 |
|
3 |
import java.awt.Color; |
4 |
|
5 |
import com.iver.andami.ui.mdiManager.IWindow; |
6 |
|
7 |
public abstract class AbstractSnapper implements ISnapper { |
8 |
|
9 |
// private Point2D snapPoint = null;
|
10 |
private int sizePixels = 10; |
11 |
private Color color = Color.MAGENTA; |
12 |
private boolean enabled; |
13 |
// public void setSnapPoint(Point2D snapPoint) {
|
14 |
// this.snapPoint = snapPoint;
|
15 |
//
|
16 |
// }
|
17 |
|
18 |
|
19 |
public int getSizePixels() { |
20 |
return sizePixels;
|
21 |
} |
22 |
|
23 |
public void setSizePixels(int sizePixels) { |
24 |
this.sizePixels = sizePixels;
|
25 |
} |
26 |
|
27 |
public Color getColor() { |
28 |
return color;
|
29 |
} |
30 |
|
31 |
public void setColor(Color color) { |
32 |
this.color = color;
|
33 |
} |
34 |
|
35 |
public IWindow getConfigurator(){
|
36 |
// DefaultConfigurePanel configurePanel=new DefaultConfigurePanel();
|
37 |
// return configurePanel;
|
38 |
return null; |
39 |
} |
40 |
|
41 |
public boolean isEnabled() { |
42 |
return enabled;
|
43 |
} |
44 |
|
45 |
public void setEnabled(boolean enabled) { |
46 |
this.enabled = enabled;
|
47 |
} |
48 |
} |