public abstract class SpecifyFeaturesTool extends DragTool
AbstractCursorTool.Listener
DEFAULT_VIEW_CLICK_BUFFER, modelDestination, modelSource
isLinuxOS, panel
Constructor and Description |
---|
SpecifyFeaturesTool() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Iterator |
candidateLayersIterator() |
protected java.util.Map |
layerToSpecifiedFeaturesMap()
Returns the layers containing the specified features, and the specified
features themselves.
|
static java.util.Map |
layerToSpecifiedFeaturesMap(java.util.Iterator layerIterator,
com.vividsolutions.jts.geom.Envelope boxInModelCoordinates) |
void |
mouseClicked(java.awt.event.MouseEvent e) |
protected java.util.Set |
specifiedFeatures() |
protected java.util.Collection |
specifiedFeatures(java.util.Collection layers) |
deactivate, getBoxInModelCoordinates, getModelDestination, getModelSource, getShape, 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, gestureFinished, getColor, getCursor, getImage, getImagePosition, getName, 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 java.util.Iterator candidateLayersIterator()
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
mouseClicked
in class AbstractCursorTool
protected java.util.Set specifiedFeatures() throws java.awt.geom.NoninvertibleTransformException
java.awt.geom.NoninvertibleTransformException
protected java.util.Map layerToSpecifiedFeaturesMap() throws java.awt.geom.NoninvertibleTransformException
java.awt.geom.NoninvertibleTransformException
public static java.util.Map layerToSpecifiedFeaturesMap(java.util.Iterator layerIterator, com.vividsolutions.jts.geom.Envelope boxInModelCoordinates) throws java.awt.geom.NoninvertibleTransformException
java.awt.geom.NoninvertibleTransformException
protected java.util.Collection specifiedFeatures(java.util.Collection layers) throws java.awt.geom.NoninvertibleTransformException
layers
- Layers to filter injava.awt.geom.NoninvertibleTransformException