Revision 43913 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.fmap.control/src/main/java/org/gvsig/fmap/mapcontrol/MapControlManager.java
MapControlManager.java | ||
---|---|---|
52 | 52 |
|
53 | 53 |
import java.util.Map; |
54 | 54 |
import java.util.prefs.Preferences; |
55 |
import javax.swing.JButton; |
|
56 |
import javax.swing.JTextField; |
|
57 |
import javax.swing.JToggleButton; |
|
55 | 58 |
import javax.swing.tree.TreeModel; |
56 | 59 |
import org.cresques.cts.IProjection; |
57 | 60 |
import org.gvsig.fmap.geom.Geometry; |
61 |
import org.gvsig.fmap.geom.primitive.Envelope; |
|
58 | 62 |
|
59 | 63 |
import org.gvsig.fmap.mapcontext.MapContext; |
60 | 64 |
import org.gvsig.fmap.mapcontext.layers.FLayers; |
61 | 65 |
import org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol; |
62 | 66 |
import org.gvsig.fmap.mapcontrol.swing.dynobject.LayersDynObjectSetComponent; |
67 |
import org.gvsig.fmap.mapcontrol.swing.pickercontroller.impl.EnvelopePickerControllerImpl; |
|
63 | 68 |
import org.gvsig.fmap.mapcontrol.tools.snapping.snappers.ISnapper; |
64 | 69 |
import org.gvsig.tools.dynobject.DynObject; |
65 | 70 |
import org.gvsig.tools.dynobject.DynObjectSet; |
71 |
import org.gvsig.tools.swing.api.pickercontroller.PickerController; |
|
66 | 72 |
|
67 | 73 |
/** |
68 | 74 |
* <p> |
... | ... | |
269 | 275 |
public double perimeter(Geometry geom, IProjection proj, int distanceUnits); |
270 | 276 |
|
271 | 277 |
public double area(Geometry geom, IProjection proj, int areaUnits); |
278 |
|
|
279 |
public PickerController<Envelope> createEnvelopePickerController( |
|
280 |
MapControl mapControl, |
|
281 |
JTextField txtUpperLeftX, |
|
282 |
JTextField txtUpperLeftY, |
|
283 |
JTextField txtLowerRightX, |
|
284 |
JTextField txtLowerRightY, |
|
285 |
JButton btnMapControlEnvelope, |
|
286 |
JToggleButton btnCapture |
|
287 |
); |
|
288 |
|
|
289 |
public PickerController<Envelope> createEnvelopePickerController( |
|
290 |
MapControl mapControl, |
|
291 |
JTextField txtEnvelope, |
|
292 |
JButton btnMapControlEnvelope, |
|
293 |
final JToggleButton btnCapture |
|
294 |
); |
|
272 | 295 |
} |
273 | 296 |
|
Also available in: Unified diff