Class ProjectBrowserRoot
java.lang.Object
com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
com.inductiveautomation.ignition.designer.navtree.model.MutableNavTreeNode
com.inductiveautomation.ignition.designer.navtree.model.ProjectBrowserRoot
- All Implemented Interfaces:
Iterable<AbstractNavTreeNode>,TreeNode
The root node of the designer's project browser tree. Designer hook classes may add their own children to the
subfolder
-
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.MutableNavTreeNode
BY_NAME, BY_SORT_ORDERFields 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 -
Constructor Summary
ConstructorsConstructorDescriptionProjectBrowserRoot(DesignableProject project, NavTreePanel.EditableTreeModel model, TreeSelectionModel selectionModel, DesignerContext context) -
Method Summary
Modifier and TypeMethodDescriptiongetType(int count) voidshowPopupMenu(Component source, int x, int y, int modifiers, TreePath[] paths, List<AbstractNavTreeNode> selection) Called when a popup triggering event (right click) occurs over this node.voidCalled when the node is removed from the tree.Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.MutableNavTreeNode
addChild, isChildrenSorted, newComparatorMethods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
addBadges, addEditActions, 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, install, isBold, isEditable, isEditActionHandler, isItalic, isLeaf, isModuleNode, isRestricted, isSelected, isTopLevelNode, isValidName, iterator, loadChildren, newLogger, notifyChildNameChanged, onChildrenSelected, onDoubleClick, onEdit, onSelected, pathToRoot, performOnAllChildren, recreate, recreate, refresh, reload, select, select, setBold, setChildren, setIcon, setItalic, setName, setText, setThumbnail, setTooltip, setupEditActions, toString, uninstallChildren, useThumbnailTooltip, visitIfLoadedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Method Details
-
getType
-
getScriptFolder
-
uninstall
public void uninstall()Description copied from class:AbstractNavTreeNodeCalled when the node is removed from the tree. Override to provide meaningful implementation.- Overrides:
uninstallin classAbstractNavTreeNode
-
showPopupMenu
public void showPopupMenu(Component source, int x, int y, int modifiers, TreePath[] paths, List<AbstractNavTreeNode> selection) Description copied from class:AbstractNavTreeNodeCalled when a popup triggering event (right click) occurs over this node.- Overrides:
showPopupMenuin classAbstractNavTreeNode- Parameters:
source- The component to use as the invoker for the popup menu.x- popup location x valuey- popup location y valuemodifiers- extended modifier mask for this event, e.g. this which end with the _DOWN_MASK suffix, such as ALT_DOWN_MASK, BUTTON1_DOWN_MASK, and others, as defined inInputEvent.getModifiers())}selection- The list of currently selected nodes.
-