public abstract class AbstractClickSelectedLineStringsTool extends SpecifyFeaturesTool
AbstractCursorTool.Listener
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
NO_SELECTED_LINESTRINGS_HERE_MESSAGE |
DEFAULT_VIEW_CLICK_BUFFER, modelDestination, modelSource
isLinuxOS, panel
Constructor and Description |
---|
AbstractClickSelectedLineStringsTool() |
Modifier and Type | Method and Description |
---|---|
protected void |
gestureFinished() |
protected abstract void |
gestureFinished(java.util.Collection nearbyLineStringFeatures) |
protected com.vividsolutions.jts.geom.Point |
getModelClickPoint() |
protected com.vividsolutions.jts.geom.Coordinate |
getModelSource() |
java.lang.String |
getName()
Returns a very brief description of this CursorTool.
|
protected java.awt.Shape |
getShape(java.awt.geom.Point2D source,
java.awt.geom.Point2D destination) |
protected Layer |
layer(Feature feature,
java.util.Map layerToSpecifiedFeaturesMap) |
protected void |
warnLayerNotEditable(Layer layer) |
candidateLayersIterator, layerToSpecifiedFeaturesMap, layerToSpecifiedFeaturesMap, mouseClicked, specifiedFeatures, specifiedFeatures
deactivate, getBoxInModelCoordinates, getModelDestination, getShape, getViewDestination, getViewSource, modelClickBuffer, mouseDragged, mousePressed, mouseReleased, setModelDestination, setModelSource, setViewClickBuffer, setViewDestination, setViewSource, wasClick
activate, add, allowSnapping, cancelGesture, check, cleanup, clearImage, clearShape, createCursor, createCursor, drawImageXOR, drawImageXOR, drawShapeXOR, drawShapeXOR, execute, fireGestureFinished, getColor, getCursor, getImage, getImagePosition, getPanel, getPanel, getSnapManager, getTaskFrame, getWorkbench, getWorkbenchFrame, isGestureInProgress, isRightMouseButtonUsed, isRollingBackInvalidEdits, isShapeOnScreen, mouseEntered, mouseExited, mouseMoved, name, prohibitSnapping, redrawImage, redrawShape, reportNothingToUndoYet, setColor, setFilling, setPanel, setStroke, setStrokeWidth, setup, snap, snap, supportsSnapping, toString, wasControlPressed, wasShiftPressed, workbench, workbenchFrame
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIcon
protected static final java.lang.String NO_SELECTED_LINESTRINGS_HERE_MESSAGE
public AbstractClickSelectedLineStringsTool()
protected void warnLayerNotEditable(Layer layer)
public java.lang.String getName()
CursorTool
getName
in interface CursorTool
getName
in class AbstractCursorTool
protected com.vividsolutions.jts.geom.Coordinate getModelSource()
getModelSource
in class DragTool
protected java.awt.Shape getShape(java.awt.geom.Point2D source, java.awt.geom.Point2D destination) throws java.lang.Exception
protected com.vividsolutions.jts.geom.Point getModelClickPoint()
protected void gestureFinished() throws java.lang.Exception
gestureFinished
in class AbstractCursorTool
java.lang.Exception
protected abstract void gestureFinished(java.util.Collection nearbyLineStringFeatures) throws java.awt.geom.NoninvertibleTransformException
java.awt.geom.NoninvertibleTransformException