Class ReportNode
- java.lang.Object
-
- com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
-
- com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode
-
- com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceNode
-
- com.inductiveautomation.reporting.designer.workspace.nav.ReportNode
-
- All Implemented Interfaces:
java.lang.Iterable<AbstractNavTreeNode>,javax.swing.tree.TreeNode
public class ReportNode extends ResourceNode
-
-
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.tabbedworkspace.ResourceNode
workspace
-
Fields inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode
context, inheritedIcon, overrideAction, overrideEnabledAction, overrideEnabledMenuItem, protectedAction, protectedMenuItem, resourceId, resourcePath, restricted
-
Fields inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
bold, children, childrenLoaded, copyAction, cutAction, deleteAction, depth, icon, italic, log, model, name, parent, pasteAction, renameAction, selectionModel, text, thumbnail, tooltip
-
-
Constructor Summary
Constructors Constructor Description ReportNode(DesignerContext context, TabbedResourceWorkspace workspace, ProjectResource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanDelete(java.util.List<AbstractNavTreeNode> selectedChildren)Can this edit action handler handle the delete action, given its current selection? Note that if this andAbstractNavTreeNode.canCopy(java.util.List)both return true, the cut action will also be enabled.voiddoDelete(java.util.List<? extends AbstractNavTreeNode> selectedChildren, AbstractNavTreeNode.DeleteReason reason)Called when the delete action is performed, if confirmDelete returned truebooleanisEditActionHandler()Override to return true if you want this node to be an edit action handler for its children.protected java.util.List<AbstractNavTreeNode>loadChildren()Called before this node responds from any of the children-related TreeNode functions, if a list of children wasn't already set.protected voidonEditorSelected(ResourceEditor editor)Called whenever the ResourceEditor for this resource has been opened or selected in the tabbed workspace.protected voidonEditorUnselected()voidonSelected()Called when this node is selected in the treeprotected voiduninstall()Called when the node is removed from the tree.-
Methods inherited from class com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceNode
addEditActions, closeAndCommit, commitIfOpen, getProjectResource, initPopupMenu, install, isOpen, onEditorClosed, onEditorOpened, open, setIcon
-
Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode
addEditActions, addOverrideEnabledMenuItem, addProtectMenuItem, alterName, canCopy, gatherChildrenIds, getIcon, getInvalidNameErrorMessage, getPopupActions, getResourceId, getResourcePath, isChanged, isEditable, isInherited, isLocal, isOverrideEnabled, isProtectedEnabled, isRestricted, isValid, onDoubleClick, onEdit, onResourceModified, selectChild, setOverrideEnabled, setProtected, setupEditActions
-
Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
addBadges, addBadges, canDrag, canDrop, canPaste, checkChildren, children, confirmDelete, createResourceCopy, debug, debug, dispatchSelectionEvent, doCopy, doCut, doPaste, expand, expandAndSelect, findChild, findCommonEditActionHandler, findDropHandler, findEditActionHandler, forceChildrenReload, getAllowsChildren, getChildAt, getChildCount, getClipboard, getCommonEditActionHandler, getDeleteAction, getDepth, getExpandedIcon, getIndex, getModel, getName, getParent, getSelectionModel, getSortOrder, getText, getThumbnail, getTooltip, getWorkspaceName, isBold, isItalic, isLeaf, isSelected, isValidName, isValidNameDefault, iterator, newLogger, notifyChildNameChanged, onChildrenSelected, pathToRoot, recreate, recreate, refresh, reload, select, select, setBold, setChildren, setItalic, setName, setText, setThumbnail, setTooltip, showPopup, showPopupMenu, toString, uninstallChildren, useThumbnailTooltip
-
-
-
-
Constructor Detail
-
ReportNode
public ReportNode(DesignerContext context, TabbedResourceWorkspace workspace, ProjectResource resource)
-
-
Method Detail
-
loadChildren
protected java.util.List<AbstractNavTreeNode> loadChildren()
Description copied from class:AbstractNavTreeNodeCalled 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:
loadChildrenin classAbstractNavTreeNode
-
onSelected
public void onSelected()
Description copied from class:AbstractNavTreeNodeCalled when this node is selected in the tree- Overrides:
onSelectedin classResourceNode
-
onEditorSelected
protected void onEditorSelected(ResourceEditor editor)
Description copied from class:ResourceNodeCalled whenever the ResourceEditor for this resource has been opened or selected in the tabbed workspace.- Overrides:
onEditorSelectedin classResourceNode
-
onEditorUnselected
protected void onEditorUnselected()
- Overrides:
onEditorUnselectedin classResourceNode
-
uninstall
protected void uninstall()
Description copied from class:AbstractNavTreeNodeCalled when the node is removed from the tree. Override to provide meaningful implementation.- Overrides:
uninstallin classResourceNode
-
isEditActionHandler
public boolean isEditActionHandler()
Description copied from class:AbstractNavTreeNodeOverride to return true if you want this node to be an edit action handler for its children.- Overrides:
isEditActionHandlerin classAbstractNavTreeNode
-
canDelete
public boolean canDelete(java.util.List<AbstractNavTreeNode> selectedChildren)
Description copied from class:AbstractNavTreeNodeCan this edit action handler handle the delete action, given its current selection? Note that if this andAbstractNavTreeNode.canCopy(java.util.List)both return true, the cut action will also be enabled.- Overrides:
canDeletein classAbstractResourceNavTreeNode
-
doDelete
public void doDelete(@Nonnull java.util.List<? extends AbstractNavTreeNode> selectedChildren, AbstractNavTreeNode.DeleteReason reason)Description copied from class:AbstractNavTreeNodeCalled when the delete action is performed, if confirmDelete returned true- Overrides:
doDeletein classAbstractNavTreeNode
-
-