com.vividsolutions.jump.workbench.ui.cursortool
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, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener
- Direct Known Subclasses:
- NodeLineStringsTool, SplitLineStringTool
public abstract class AbstractClickSelectedLineStringsTool
- extends SpecifyFeaturesTool
| Methods inherited from class com.vividsolutions.jump.workbench.ui.cursortool.DragTool |
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, clearShape, createCursor, createCursor, createStandardSnappingPolicies, deactivate, drawShapeXOR, drawShapeXOR, execute, fireGestureFinished, getColor, getCursor, getPanel, getSnapManager, getTaskFrame, getWorkbench, isGestureInProgress, isRightMouseButtonUsed, isRollingBackInvalidEdits, isShapeOnScreen, mouseEntered, mouseExited, mouseMoved, name, redrawShape, reportNothingToUndoYet, setColor, setFilling, setStroke, setStrokeWidth, setup, snap, snap, toString, wasControlPressed, wasShiftPressed, workbench, workbenchFrame |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.vividsolutions.jump.workbench.ui.cursortool.CursorTool |
getIcon |
NO_SELECTED_LINESTRINGS_HERE_MESSAGE
protected static final java.lang.String NO_SELECTED_LINESTRINGS_HERE_MESSAGE
- See Also:
- Constant Field Values
AbstractClickSelectedLineStringsTool
public AbstractClickSelectedLineStringsTool()
warnLayerNotEditable
protected void warnLayerNotEditable(Layer layer)
getName
public java.lang.String getName()
- Description copied from interface:
CursorTool
- Returns a very brief description of this CursorTool.
- Specified by:
getName in interface CursorTool- Overrides:
getName in class AbstractCursorTool
- Returns:
- the name of this CursorTool
getModelSource
protected com.vividsolutions.jts.geom.Coordinate getModelSource()
- Overrides:
getModelSource in class DragTool
getShape
protected java.awt.Shape getShape(java.awt.geom.Point2D source,
java.awt.geom.Point2D destination)
throws java.lang.Exception
- Overrides:
getShape in class DragTool
- Returns:
- null if nothing should be drawn
- Throws:
java.lang.Exception
getModelClickPoint
protected com.vividsolutions.jts.geom.Point getModelClickPoint()
gestureFinished
protected void gestureFinished()
throws java.lang.Exception
- Specified by:
gestureFinished in class AbstractCursorTool
- Throws:
java.lang.Exception
gestureFinished
protected abstract void gestureFinished(java.util.Collection nearbyLineStringFeatures)
throws java.awt.geom.NoninvertibleTransformException
- Throws:
java.awt.geom.NoninvertibleTransformException
layer
protected Layer layer(Feature feature,
java.util.Map layerToSpecifiedFeaturesMap)