Class DeleteIncrementalWarpingVectorTool
- java.lang.Object
-
- com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool
-
- com.vividsolutions.jump.workbench.ui.cursortool.DragTool
-
- com.vividsolutions.jump.workbench.ui.cursortool.SpecifyFeaturesTool
-
- com.vividsolutions.jump.workbench.ui.warp.AbstractDeleteVectorTool
-
- com.vividsolutions.jump.workbench.ui.warp.DeleteIncrementalWarpingVectorTool
-
- All Implemented Interfaces:
CursorTool,MouseListener,MouseMotionListener,EventListener
public class DeleteIncrementalWarpingVectorTool extends AbstractDeleteVectorTool
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool
AbstractCursorTool.Listener
-
-
Field Summary
-
Fields inherited from class com.vividsolutions.jump.workbench.ui.cursortool.DragTool
DEFAULT_VIEW_CLICK_BUFFER, modelDestination, modelSource
-
Fields inherited from class com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool
isLinuxOS, panel
-
-
Constructor Summary
Constructors Constructor Description DeleteIncrementalWarpingVectorTool(WorkbenchContext context, WarpingPanel warpingPanel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UndoableCommandcreateBaseCommand()The command returned uses super.createCommand to delete the feature in VectorLayer and add the deletion of the feature from IncrementalVectorLayerprotected UndoableCommandcreateCommand()protected AbstractVectorLayerFindercreateIncrementalVectorLayerFinder(LayerManagerProxy layerManagerProxy)protected AbstractVectorLayerFindercreateVectorLayerFinder(LayerManagerProxy layerManagerProxy)CursorgetCursor()IcongetIcon()-
Methods inherited from class com.vividsolutions.jump.workbench.ui.warp.AbstractDeleteVectorTool
gestureFinished
-
Methods inherited from class com.vividsolutions.jump.workbench.ui.cursortool.SpecifyFeaturesTool
candidateLayersIterator, layerToSpecifiedFeaturesMap, layerToSpecifiedFeaturesMap, mouseClicked, specifiedFeatures, specifiedFeatures
-
Methods inherited from class com.vividsolutions.jump.workbench.ui.cursortool.DragTool
deactivate, getBoxInModelCoordinates, getModelDestination, getModelSource, getShape, getShape, getViewDestination, getViewSource, modelClickBuffer, mouseDragged, mousePressed, mouseReleased, setModelDestination, setModelSource, setViewClickBuffer, setViewDestination, setViewSource, wasClick
-
Methods inherited from class com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool
activate, add, allowSnapping, cancelGesture, check, cleanup, clearImage, clearShape, componentWithFocusIsHandledByCursorTools, createCursor, createCursor, createCursor, createStandardSnappingPolicies, drawImageXOR, drawImageXOR, drawShapeXOR, drawShapeXOR, execute, execute, fireGestureFinished, getColor, getImage, getImagePosition, getName, getPanel, getPanel, getSnapManager, getStroke, getTaskFrame, getWorkbench, getWorkbenchContext, isGestureInProgress, isRightMouseButtonUsed, isRollingBackInvalidEdits, isShapeOnScreen, mouseEntered, mouseExited, mouseMoved, name, prohibitSnapping, redrawImage, redrawShape, reportNothingToUndoYet, setColor, setControlPressed, setFilling, setPanel, setShiftPressed, setStroke, setup, snap, snap, supportsSnapping, toString, wasControlPressed, wasShiftPressed
-
-
-
-
Constructor Detail
-
DeleteIncrementalWarpingVectorTool
public DeleteIncrementalWarpingVectorTool(WorkbenchContext context, WarpingPanel warpingPanel)
-
-
Method Detail
-
createVectorLayerFinder
protected AbstractVectorLayerFinder createVectorLayerFinder(LayerManagerProxy layerManagerProxy)
- Specified by:
createVectorLayerFinderin classAbstractDeleteVectorTool
-
createIncrementalVectorLayerFinder
protected AbstractVectorLayerFinder createIncrementalVectorLayerFinder(LayerManagerProxy layerManagerProxy)
-
createCommand
protected UndoableCommand createCommand() throws NoninvertibleTransformException
- Overrides:
createCommandin classAbstractDeleteVectorTool- Throws:
NoninvertibleTransformException
-
getIcon
public Icon getIcon()
- Returns:
- null to use a default icon
-
getCursor
public Cursor getCursor()
- Specified by:
getCursorin interfaceCursorTool- Overrides:
getCursorin classAbstractCursorTool
-
createBaseCommand
protected UndoableCommand createBaseCommand() throws NoninvertibleTransformException
The command returned uses super.createCommand to delete the feature in VectorLayer and add the deletion of the feature from IncrementalVectorLayer- Returns:
- an UndoableCommand
- Throws:
NoninvertibleTransformException- if an Exception occurred in layerToSpecifiedFeaturesMap
-
-