Class InstantiationTool
java.lang.Object
com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTool
com.inductiveautomation.factorypmi.designer.workspace.tools.InstantiationTool
- All Implemented Interfaces:
- IDesignTool
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.inductiveautomation.ignition.designer.designable.IDesignToolIDesignTool.ToolbarInitializer
- 
Field SummaryFields inherited from class com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignToolactionMap, changeSupport, designable, HANDLES_PROPERTY, inputMap, interactionLayer, panel, workspace
- 
Constructor SummaryConstructorsConstructorDescriptionInstantiationTool(VisionDesignerInterface vision, ComponentInstantiator item) 
- 
Method SummaryModifier and TypeMethodDescriptionThe cursor to use given the current event mask, which can be used to detect what keys are being held downCalled while dragging as an easy way for a tool to install a highlight while dragging.getStatusBarText(List<JComponent> selection, Point point, int inputMask) Calculates the currently applicable status bar text for this toolbooleanisRelevantFor(JComponent component) voidCalled when the user clicks in the design space.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.voidonKeyEvent(KeyEvent e, boolean pressed) Delegates the key event using field AbstractDesignTool.inputMap field.voidCalled when the user presses the mouse in the design space.voidMethods inherited from class com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTooladdAction, addKeyBinding, addKeyBinding, addPropertyChangeListener, createCursor, findDropContainer, getAction, getOffsettingBounds, getOriginalBounds, getToolbarInitializer, install, isInstalled, itemMovable, movable, newSelectionControl, newToolbarSpinner, newToolbarSpinner, newToolbarSpinner, onClickAlterSelection, onDoubleClick, onMove, onPopupTrigger, onRelease, onRightClickSwitchToSelectionTool, removePropertyChangeListener, uninstall
- 
Constructor Details- 
InstantiationTool
 
- 
- 
Method Details- 
getStatusBarTextDescription copied from interface:IDesignToolCalculates the currently applicable status bar text for this tool- Specified by:
- getStatusBarTextin interface- IDesignTool
- Overrides:
- getStatusBarTextin class- AbstractDesignTool
 
- 
isRelevantFor- Overrides:
- isRelevantForin class- AbstractDesignTool
 
- 
getCursorDescription copied from interface:IDesignToolThe cursor to use given the current event mask, which can be used to detect what keys are being held down- Specified by:
- getCursorin interface- IDesignTool
- Overrides:
- getCursorin class- AbstractDesignTool
 
- 
onClickDescription copied from interface:IDesignToolCalled when the user clicks in the design space.- Specified by:
- onClickin interface- IDesignTool
- Overrides:
- onClickin class- AbstractDesignTool
- Parameters:
- point- The point at which they clicked. Relative to the designable container.
- modifiers- A bitmask of modifiers. Comes from- InputEvent.getModifiersEx()
 
- 
onDragDescription 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 interface- IDesignTool
- Overrides:
- onDragin class- AbstractDesignTool
 
- 
onDragStartDescription 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 interface- IDesignTool
- Overrides:
- onDragStartin class- AbstractDesignTool
 
- 
onDragEndDescription 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 interface- IDesignTool
- Overrides:
- onDragEndin class- AbstractDesignTool
 
- 
onKeyEventDescription copied from class:AbstractDesignToolDelegates the key event using field AbstractDesignTool.inputMap field. Add key bindings using theAbstractDesignTool.addKeyBinding(int, int, Object)methods.- Specified by:
- onKeyEventin interface- IDesignTool
- Overrides:
- onKeyEventin class- AbstractDesignTool
 
- 
onPressDescription copied from interface:IDesignToolCalled when the user presses the mouse in the design space.- Specified by:
- onPressin interface- IDesignTool
- Overrides:
- onPressin class- AbstractDesignTool
- Parameters:
- move- The point at which they pressed. Relative to the designable container.
- modifiers- A bitmask of modifiers. Comes from- InputEvent.getModifiersEx()
 
- 
removeToolpublic void removeTool()
- 
getDragHighlightDescription copied from interface:IDesignToolCalled while dragging as an easy way for a tool to install a highlight while dragging.- Specified by:
- getDragHighlightin interface- IDesignTool
- Overrides:
- getDragHighlightin class- AbstractDesignTool
 
 
-