Class AbstractClickSelectedLineStringsTool
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
- All Implemented Interfaces:
CursorTool, MouseListener, MouseMotionListener, EventListener
- Direct Known Subclasses:
NodeLineStringsTool, SplitLineStringTool
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractCursorTool
AbstractCursorTool.Listener -
Field Summary
FieldsFields inherited from class DragTool
DEFAULT_VIEW_CLICK_BUFFER, modelDestination, modelSourceFields inherited from class AbstractCursorTool
isLinuxOS, panel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected abstract voidgestureFinished(Collection<Feature> nearbyLineStringFeatures) protected org.locationtech.jts.geom.Pointprotected org.locationtech.jts.geom.CoordinategetName()Returns a very brief description of this CursorTool.protected Shapeprotected Layerprotected voidwarnLayerNotEditable(Layer layer) Methods inherited from class SpecifyFeaturesTool
candidateLayersIterator, layerToSpecifiedFeaturesMap, layerToSpecifiedFeaturesMap, mouseClicked, specifiedFeatures, specifiedFeaturesMethods inherited from class DragTool
deactivate, getBoxInModelCoordinates, getModelDestination, 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, 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, wasShiftPressedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface CursorTool
getIcon
-
Field Details
-
NO_SELECTED_LINESTRINGS_HERE_MESSAGE
- See Also:
-
-
Constructor Details
-
AbstractClickSelectedLineStringsTool
-
-
Method Details
-
warnLayerNotEditable
-
getName
Description copied from interface:CursorToolReturns a very brief description of this CursorTool.- Specified by:
getNamein interfaceCursorTool- Overrides:
getNamein classAbstractCursorTool- Returns:
- the name of this CursorTool
-
getModelSource
protected org.locationtech.jts.geom.Coordinate getModelSource()- Overrides:
getModelSourcein classDragTool
-
getShape
-
getModelClickPoint
protected org.locationtech.jts.geom.Point getModelClickPoint() -
gestureFinished
- Specified by:
gestureFinishedin classAbstractCursorTool- Throws:
Exception
-
gestureFinished
protected abstract void gestureFinished(Collection<Feature> nearbyLineStringFeatures) throws NoninvertibleTransformException - Throws:
NoninvertibleTransformException
-
layer
-