Class SplitLineStringTool
- 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.cursortool.AbstractClickSelectedLineStringsTool
-
- com.vividsolutions.jump.workbench.ui.cursortool.SplitLineStringTool
-
- All Implemented Interfaces:
CursorTool
,MouseListener
,MouseMotionListener
,EventListener
public class SplitLineStringTool extends AbstractClickSelectedLineStringsTool
-
-
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.AbstractClickSelectedLineStringsTool
NO_SELECTED_LINESTRINGS_HERE_MESSAGE
-
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 SplitLineStringTool(WorkbenchContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
gestureFinished(Collection nearbyLineStringFeatures)
Icon
getIcon()
String
getName()
Returns a very brief description of this CursorTool.-
Methods inherited from class com.vividsolutions.jump.workbench.ui.cursortool.AbstractClickSelectedLineStringsTool
gestureFinished, getModelClickPoint, getModelSource, getShape, layer, warnLayerNotEditable
-
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, 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, getCursor, getImage, getImagePosition, 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
-
SplitLineStringTool
public SplitLineStringTool(WorkbenchContext context)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:CursorTool
Returns a very brief description of this CursorTool.- Specified by:
getName
in interfaceCursorTool
- Overrides:
getName
in classAbstractClickSelectedLineStringsTool
- Returns:
- the name of this CursorTool
-
gestureFinished
protected void gestureFinished(Collection nearbyLineStringFeatures) throws NoninvertibleTransformException
- Specified by:
gestureFinished
in classAbstractClickSelectedLineStringsTool
- Throws:
NoninvertibleTransformException
-
getIcon
public Icon getIcon()
- Returns:
- null to use a default icon
-
-