Class RectangleTool
java.lang.Object
com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTool
com.inductiveautomation.factorypmi.designer.workspace.tools.AbstractShapeTool
com.inductiveautomation.factorypmi.designer.workspace.tools.AbstractRectangularShapeTool
com.inductiveautomation.factorypmi.designer.workspace.tools.RectangleTool
- 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.AbstractRectangularShapeTool
hSpinner, wSpinner, xSpinner, ySpinnerFields 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 voidprotected Class<? extends ShapeDelegate>protected StringgetStatusBarText(List<JComponent> selection, Point point, int inputMask) Calculates the currently applicable status bar text for this toolprotected voidprotected voidinitToolbar(DesignerToolbar toolbar) protected ISelectionControlprotected ShapeDelegatenewShapeDelegate(Rectangle2D rect) protected voidMethods inherited from class com.inductiveautomation.factorypmi.designer.workspace.tools.AbstractRectangularShapeTool
getToolbarInitializer, onDrag, updateSpinnersMethods inherited from class com.inductiveautomation.factorypmi.designer.workspace.tools.AbstractShapeTool
getCursor, getShape, handlesShape, install, isRelevantFor, newSelectionControl, onClick, onDragEnd, onDragStart, onPress, tt, uninstall, updateToolbar, validSelectionMethods 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
-
RectangleTool
public RectangleTool()
-
-
Method Details
-
initActions
protected void initActions()- Overrides:
initActionsin classAbstractRectangularShapeTool
-
initToolbar
- Overrides:
initToolbarin classAbstractRectangularShapeTool
-
updateToolbar
- Overrides:
updateToolbarin classAbstractRectangularShapeTool
-
disableToolbar
protected void disableToolbar()- Overrides:
disableToolbarin classAbstractRectangularShapeTool
-
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
-
newShapeDelegate
- Specified by:
newShapeDelegatein classAbstractShapeTool
-
getNewShapeName
- Specified by:
getNewShapeNamein classAbstractShapeTool
-
newShapeControl
- Specified by:
newShapeControlin classAbstractShapeTool
-
getDelegateType
- Specified by:
getDelegateTypein classAbstractShapeTool
-