Class ShapeNode
java.lang.Object
com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
com.inductiveautomation.reporting.designer.workspace.nav.ShapeNode
- All Implemented Interfaces:
Iterable<AbstractNavTreeNode>
,TreeNode
Created by carl.gould on 4/17/2015.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
AbstractNavTreeNode.DeleteReason, AbstractNavTreeNode.PopupAction
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
bold, children, childrenLoaded, copyAction, copyPathAction, cutAction, deleteAction, depth, discardOverridesAction, icon, italic, log, model, name, parent, pasteAction, renameAction, selectionModel, text, thumbnail, tooltip
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addEditActions
(JPopupMenu menu) getShape()
void
install
(AbstractNavTreeNode parent) boolean
Override this and return true if you want your node's text to be editable.protected List<AbstractNavTreeNode>
Called before this node responds from any of the children-related TreeNode functions, if a list of children wasn't already set.void
Called after this node has been edited in the tree.void
Called when this node is selected in the treevoid
select
(boolean append) Causes this tree node to become selected.toString()
protected static String
protected void
Called when the node is removed from the tree.Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
addBadges, addEditActions, canCopy, canDelete, canDrag, canDrop, canPaste, checkChildren, children, confirmDelete, createResourceCopy, debug, debug, dispatchSelectionEvent, doCopy, doCut, doDelete, doPaste, expand, expandAndSelect, findChild, findCommonEditActionHandler, findDropHandler, findEditActionHandler, forceChildrenReload, getAllowsChildren, getChildAt, getChildCount, getClipboard, getDeleteAction, getDepth, getExpandedIcon, getIcon, getIndex, getModel, getName, getParent, getPopupActions, getSelectionModel, getSortOrder, getText, getThumbnail, getTooltip, getWorkspaceName, initPopupMenu, isBold, isEditActionHandler, isItalic, isLeaf, isModuleNode, isRestricted, isSelected, isTopLevelNode, isValidName, iterator, newLogger, notifyChildNameChanged, onChildrenSelected, onDoubleClick, pathToRoot, performOnAllChildren, recreate, recreate, refresh, reload, select, setBold, setChildren, setIcon, setItalic, setName, setText, setThumbnail, setTooltip, setupEditActions, showPopupMenu, uninstallChildren, useThumbnailTooltip, visitIfLoaded
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
select
public void select(boolean append) Description copied from class:AbstractNavTreeNode
Causes this tree node to become selected.- Overrides:
select
in classAbstractNavTreeNode
- Parameters:
append
- Should this node be appended to the current selection, or be selected by itself?
-
onSelected
public void onSelected()Description copied from class:AbstractNavTreeNode
Called when this node is selected in the tree- Overrides:
onSelected
in classAbstractNavTreeNode
-
addEditActions
- Overrides:
addEditActions
in classAbstractNavTreeNode
-
getShape
-
isEditable
public boolean isEditable()Description copied from class:AbstractNavTreeNode
Override this and return true if you want your node's text to be editable. SeeAbstractNavTreeNode.onEdit(String)
- Overrides:
isEditable
in classAbstractNavTreeNode
-
onEdit
Description copied from class:AbstractNavTreeNode
Called after this node has been edited in the tree.- Overrides:
onEdit
in classAbstractNavTreeNode
-
toString
- Overrides:
toString
in classAbstractNavTreeNode
-
uninstall
protected void uninstall()Description copied from class:AbstractNavTreeNode
Called when the node is removed from the tree. Override to provide meaningful implementation.- Overrides:
uninstall
in classAbstractNavTreeNode
-
toString
-
loadChildren
Description copied from class:AbstractNavTreeNode
Called before this node responds from any of the children-related TreeNode functions, if a list of children wasn't already set. Override to use lazy child loading.- Overrides:
loadChildren
in classAbstractNavTreeNode
-