Class ArrowTool
java.lang.Object
com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTool
com.inductiveautomation.factorypmi.designer.workspace.tools.AbstractShapeTool
com.inductiveautomation.factorypmi.designer.workspace.tools.ArrowTool
- All Implemented Interfaces:
IDesignTool
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.factorypmi.designer.workspace.tools.AbstractShapeTool
AbstractShapeTool.AbstractShapeControls
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.designer.designable.IDesignTool
IDesignTool.ToolbarInitializer
-
Field Summary
Fields inherited from class com.inductiveautomation.factorypmi.designer.workspace.tools.AbstractShapeTool
cursor
Fields inherited from class com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTool
actionMap, changeSupport, designable, HANDLES_PROPERTY, inputMap, interactionLayer, panel, workspace
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Cursor
protected void
protected Class<? extends ShapeDelegate>
protected String
getStatusBarText
(List<JComponent> selection, Point point, int inputMask) Calculates the currently applicable status bar text for this toolprotected void
protected ISelectionControl
protected ShapeDelegate
newShapeDelegate
(Rectangle2D rect) void
Called while the user is dragging.void
Called when the user stops dragging.void
onDragStart
(Point startZoomed, Point lastZoomed, Rectangle r, int modifiers) Called when the user start's dragging while this tool is active.protected void
updateToolbar
(PathBasedVisionShape component) Methods inherited from class com.inductiveautomation.factorypmi.designer.workspace.tools.AbstractShapeTool
getCursor, getShape, handlesShape, install, isRelevantFor, newSelectionControl, onClick, onPress, tt, uninstall, updateToolbar, validSelection
Methods inherited from class com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTool
addAction, addKeyBinding, addKeyBinding, addPropertyChangeListener, createCursor, findDropContainer, getAction, getDragHighlight, getOffsettingBounds, getOriginalBounds, isInstalled, itemMovable, movable, newToolbarSpinner, newToolbarSpinner, newToolbarSpinner, onClickAlterSelection, onDoubleClick, onKeyEvent, onMove, onPopupTrigger, onRelease, onRightClickSwitchToSelectionTool, removePropertyChangeListener
-
Constructor Details
-
ArrowTool
public ArrowTool()
-
-
Method Details
-
initActions
protected void initActions() -
getToolbarInitializer
- Specified by:
getToolbarInitializer
in interfaceIDesignTool
- Overrides:
getToolbarInitializer
in classAbstractDesignTool
-
disableToolbar
protected void disableToolbar()- Overrides:
disableToolbar
in classAbstractShapeTool
-
updateToolbar
- Overrides:
updateToolbar
in classAbstractShapeTool
-
createCursor
- Specified by:
createCursor
in classAbstractShapeTool
-
getStatusBarText
Description copied from interface:IDesignTool
Calculates the currently applicable status bar text for this tool- Specified by:
getStatusBarText
in interfaceIDesignTool
- Overrides:
getStatusBarText
in classAbstractDesignTool
-
newShapeControl
- Specified by:
newShapeControl
in classAbstractShapeTool
-
getDelegateType
- Specified by:
getDelegateType
in classAbstractShapeTool
-
newShapeDelegate
- Specified by:
newShapeDelegate
in classAbstractShapeTool
-
getNewShapeName
- Specified by:
getNewShapeName
in classAbstractShapeTool
-
onDragStart
Description copied from class:AbstractDesignTool
Called when the user start's dragging while this tool is active. All coordinates are relative to the interaction panel and are in zoomed space.- Specified by:
onDragStart
in interfaceIDesignTool
- Overrides:
onDragStart
in classAbstractShapeTool
-
onDrag
Description copied from class:AbstractDesignTool
Called while the user is dragging. All coordinates are relative to the interaction panel and are in zoomed space.- Specified by:
onDrag
in interfaceIDesignTool
- Overrides:
onDrag
in classAbstractShapeTool
-
onDragEnd
Description copied from class:AbstractDesignTool
Called when the user stops dragging. All coordinates are relative to the interaction panel and are in zoomed space.- Specified by:
onDragEnd
in interfaceIDesignTool
- Overrides:
onDragEnd
in classAbstractShapeTool
-