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
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractCursorTool
AbstractCursorTool.Listener -
Field Summary
Fields inherited from class DragTool
DEFAULT_VIEW_CLICK_BUFFER, modelDestination, modelSourceFields inherited from class AbstractCursorTool
isLinuxOS, panel -
Constructor Summary
ConstructorsConstructorDescriptionDeleteIncrementalWarpingVectorTool(WorkbenchContext context, WarpingPanel warpingPanel) -
Method Summary
Modifier and TypeMethodDescriptionprotected UndoableCommandThe command returned uses super.createCommand to delete the feature in VectorLayer and add the deletion of the feature from IncrementalVectorLayerprotected UndoableCommandprotected AbstractVectorLayerFindercreateIncrementalVectorLayerFinder(LayerManagerProxy layerManagerProxy) protected AbstractVectorLayerFindercreateVectorLayerFinder(LayerManagerProxy layerManagerProxy) getIcon()Methods inherited from class AbstractDeleteVectorTool
gestureFinishedMethods inherited from class SpecifyFeaturesTool
candidateLayersIterator, layerToSpecifiedFeaturesMap, layerToSpecifiedFeaturesMap, mouseClicked, specifiedFeatures, specifiedFeaturesMethods inherited from class DragTool
deactivate, getBoxInModelCoordinates, getModelDestination, getModelSource, getShape, getShape, getViewDestination, getViewSource, modelClickBuffer, mouseDragged, mousePressed, mouseReleased, setModelDestination, setModelSource, setViewClickBuffer, setViewDestination, setViewSource, wasClickMethods inherited from class 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 Details
-
DeleteIncrementalWarpingVectorTool
-
-
Method Details
-
createVectorLayerFinder
- Specified by:
createVectorLayerFinderin classAbstractDeleteVectorTool
-
createIncrementalVectorLayerFinder
protected AbstractVectorLayerFinder createIncrementalVectorLayerFinder(LayerManagerProxy layerManagerProxy) -
createCommand
- Overrides:
createCommandin classAbstractDeleteVectorTool- Throws:
NoninvertibleTransformException
-
getIcon
- Returns:
- null to use a default icon
-
getCursor
- Specified by:
getCursorin interfaceCursorTool- Overrides:
getCursorin classAbstractCursorTool
-
createBaseCommand
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
-