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 void
addEditActions(javax.swing.JPopupMenu menu)
java.lang.String
getComponentPath()
protected AbstractNavTreeNode.PopupAction
getDeleteAction()
PipesFolderNode
getParent()
Overridden to narrow the return typejava.lang.String
getPropsPath()
boolean
isEditable()
Override this and return true if you want your node's text to be editable.void
onEdit(java.lang.String newTextValue)
Called after this node has been edited in the tree.void
update(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:AbstractNavTreeNode
Overridden to narrow the return type- Specified by:
getParent
in interfacejavax.swing.tree.TreeNode
- Overrides:
getParent
in classAbstractNavTreeNode
-
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
public void onEdit(java.lang.String newTextValue)
Description copied from class:AbstractNavTreeNode
Called after this node has been edited in the tree.- Overrides:
onEdit
in classAbstractNavTreeNode
-
addEditActions
protected void addEditActions(javax.swing.JPopupMenu menu)
- Overrides:
addEditActions
in classAbstractNavTreeNode
-
getDeleteAction
@Nonnull protected AbstractNavTreeNode.PopupAction getDeleteAction()
- Overrides:
getDeleteAction
in classAbstractNavTreeNode
-
getComponentPath
public java.lang.String getComponentPath()
-
getPropsPath
public java.lang.String getPropsPath()
-
update
public void update(java.lang.String pipeName)
-
-