Class PathEditorTool
java.lang.Object
com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTool
com.inductiveautomation.factorypmi.designer.workspace.tools.AbstractShapeTool
com.inductiveautomation.factorypmi.designer.workspace.tools.PathEditorTool
- All Implemented Interfaces:
IDesignTool
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.factorypmi.designer.workspace.tools.AbstractShapeTool
AbstractShapeTool.AbstractShapeControlsNested 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
addingShape, cursor, dropContainerFields 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 Cursorprotected JComponentfindDropContainer(Point2D point) Finds the top-most object under the given spot that the delegate designates as a container.protected Class<? extends ShapeDelegate>protected StringgetStatusBarText(List<JComponent> selection, Point point, int inputMask) Calculates the currently applicable status bar text for this toolprotected booleanhandlesShape(ShapeDelegate shape) protected ISelectionControlprotected ShapeDelegatenewShapeDelegate(Rectangle2D rect) voidCalled while the user is dragging.voidCalled when the user stops dragging.voidonDragStart(Point startPoint, Point lastPoint, Rectangle r, int modifiers) Called when the user start's dragging while this tool is active.voidUninstalls the tool.Methods inherited from class com.inductiveautomation.factorypmi.designer.workspace.tools.AbstractShapeTool
disableToolbar, getCursor, getShape, install, isRelevantFor, newSelectionControl, onClick, onPress, tt, updateToolbar, updateToolbar, validSelectionMethods inherited from class com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTool
addAction, addKeyBinding, addKeyBinding, addPropertyChangeListener, createCursor, getAction, getDragHighlight, getOffsettingBounds, getOriginalBounds, isInstalled, itemMovable, movable, newToolbarSpinner, newToolbarSpinner, newToolbarSpinner, onClickAlterSelection, onDoubleClick, onKeyEvent, onMove, onPopupTrigger, onRelease, onRightClickSwitchToSelectionTool, removePropertyChangeListener
-
Constructor Details
-
PathEditorTool
public PathEditorTool()
-
-
Method Details
-
getToolbarInitializer
- Specified by:
getToolbarInitializerin interfaceIDesignTool- Overrides:
getToolbarInitializerin classAbstractDesignTool
-
createCursor
- Specified by:
createCursorin classAbstractShapeTool
-
getStatusBarText
Description copied from interface:IDesignToolCalculates the currently applicable status bar text for this tool- Specified by:
getStatusBarTextin interfaceIDesignTool- Overrides:
getStatusBarTextin classAbstractDesignTool
-
newShapeControl
- Specified by:
newShapeControlin classAbstractShapeTool
-
uninstall
public void uninstall()Description copied from interface:IDesignToolUninstalls the tool.- Specified by:
uninstallin interfaceIDesignTool- Overrides:
uninstallin classAbstractShapeTool
-
onDragStart
Description copied from class:AbstractDesignToolCalled 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:
onDragStartin interfaceIDesignTool- Overrides:
onDragStartin classAbstractShapeTool
-
onDragEnd
Description copied from class:AbstractDesignToolCalled when the user stops dragging. All coordinates are relative to the interaction panel and are in zoomed space.- Specified by:
onDragEndin interfaceIDesignTool- Overrides:
onDragEndin classAbstractShapeTool
-
onDrag
Description copied from class:AbstractDesignToolCalled while the user is dragging. All coordinates are relative to the interaction panel and are in zoomed space.- Specified by:
onDragin interfaceIDesignTool- Overrides:
onDragin classAbstractShapeTool
-
getDelegateType
- Specified by:
getDelegateTypein classAbstractShapeTool
-
handlesShape
- Overrides:
handlesShapein classAbstractShapeTool
-
findDropContainer
Description copied from class:AbstractDesignToolFinds the top-most object under the given spot that the delegate designates as a container. Point should be specified in unzoomed (logical) coordinates.- Overrides:
findDropContainerin classAbstractDesignTool
-
newShapeDelegate
- Specified by:
newShapeDelegatein classAbstractShapeTool
-
getNewShapeName
- Specified by:
getNewShapeNamein classAbstractShapeTool
-