Class PipeNode
- java.lang.Object
-
- com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
-
- com.inductiveautomation.perspective.designer.workspace.nav.PipeNode
-
- All Implemented Interfaces:
java.lang.Iterable<AbstractNavTreeNode>,javax.swing.tree.TreeNode
public class PipeNode extends AbstractNavTreeNode
-
-
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, depth, icon, italic, log, model, name, parent, pasteAction, renameAction, selectionModel, text, thumbnail, tooltip
-
-
Constructor Summary
Constructors Constructor Description PipeNode(ViewResourceEditor editor, int pipeIndex, java.lang.String pipeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddEditActions(javax.swing.JPopupMenu menu)java.lang.StringgetComponentPath()protected AbstractNavTreeNode.PopupActiongetDeleteAction()PipesFolderNodegetParent()Overridden to narrow the return typejava.lang.StringgetPropsPath()booleanisEditable()Override this and return true if you want your node's text to be editable.voidonEdit(java.lang.String newTextValue)Called after this node has been edited in the tree.voidupdate(java.lang.String pipeName)-
Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
addBadges, 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, getDepth, getExpandedIcon, getIcon, getIndex, getModel, getName, getPopupActions, getSelectionModel, getSortOrder, getText, getThumbnail, getTooltip, getWorkspaceName, initPopupMenu, install, isBold, isEditActionHandler, isItalic, isLeaf, isRestricted, isSelected, isTopLevelNode, isValidName, iterator, loadChildren, newLogger, notifyChildNameChanged, onChildrenSelected, onDoubleClick, onSelected, pathToRoot, recreate, recreate, refresh, reload, select, select, setBold, setChildren, setIcon, setItalic, setName, setText, setThumbnail, setTooltip, setupEditActions, showPopupMenu, toString, uninstall, uninstallChildren, useThumbnailTooltip, visitIfLoaded
-
-
-
-
Constructor Detail
-
PipeNode
public PipeNode(ViewResourceEditor editor, int pipeIndex, java.lang.String pipeName)
-
-
Method Detail
-
getParent
public PipesFolderNode getParent()
Description copied from class:AbstractNavTreeNodeOverridden to narrow the return type- Specified by:
getParentin interfacejavax.swing.tree.TreeNode- Overrides:
getParentin classAbstractNavTreeNode
-
isEditable
public boolean isEditable()
Description copied from class:AbstractNavTreeNodeOverride this and return true if you want your node's text to be editable. SeeAbstractNavTreeNode.onEdit(String)- Overrides:
isEditablein classAbstractNavTreeNode
-
onEdit
public void onEdit(java.lang.String newTextValue)
Description copied from class:AbstractNavTreeNodeCalled after this node has been edited in the tree.- Overrides:
onEditin classAbstractNavTreeNode
-
addEditActions
protected void addEditActions(javax.swing.JPopupMenu menu)
- Overrides:
addEditActionsin classAbstractNavTreeNode
-
getDeleteAction
@Nonnull protected AbstractNavTreeNode.PopupAction getDeleteAction()
- Overrides:
getDeleteActionin classAbstractNavTreeNode
-
getComponentPath
public java.lang.String getComponentPath()
-
getPropsPath
public java.lang.String getPropsPath()
-
update
public void update(java.lang.String pipeName)
-
-