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.AbstractNavTreeNodeAbstractNavTreeNode.DeleteReason, AbstractNavTreeNode.PopupAction
 
- 
 - 
Field Summary- 
Fields inherited from class com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceNodeworkspace
 - 
Fields inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNodecontext, editDocumentationAction, editDocumentationMenuItem, exportAction, inheritedIcon, overrideAction, overrideEnabledAction, overrideEnabledMenuItem, protectedAction, protectedMenuItem, resourceId, resourcePath, restricted, revertAction, revertMenuItem
 - 
Fields inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNodebold, children, childrenLoaded, copyAction, copyPathAction, cutAction, deleteAction, depth, icon, italic, log, model, name, parent, pasteAction, renameAction, selectionModel, text, thumbnail, tooltip
 
- 
 - 
Constructor SummaryConstructors Constructor Description ReportNode(DesignerContext context, TabbedResourceWorkspace workspace, ProjectResource resource)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanCopy(java.util.List<AbstractNavTreeNode> selectedChildren)Can this edit action handler handle the copy action, given its current selection? Note that if this andAbstractNavTreeNode.canDelete(java.util.List)both return true, the cut action will also be enabled.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.booleancanPaste(java.util.List<AbstractNavTreeNode> selectedChildren, java.awt.datatransfer.Transferable data)Can this action handler handle a paste given the data flavors currently available in the clipboard? data may be null.java.awt.datatransfer.TransferabledoCopy(java.util.List<? extends AbstractNavTreeNode> selectedChildren)Called when the copy action is performed.java.awt.datatransfer.TransferabledoCut(java.util.List<? extends AbstractNavTreeNode> selectedChildren)Called when the cut action is performed.voiddoDelete(java.util.List<? extends AbstractNavTreeNode> selectedChildren, AbstractNavTreeNode.DeleteReason reason)Called when the delete action is performed, if confirmDelete returned truebooleandoPaste(java.util.List<? extends AbstractNavTreeNode> selectedChildren, java.awt.datatransfer.Transferable clipboardContents, boolean isDrop)Called when the paste action is performedbooleanisEditActionHandler()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 voidrecreate(boolean keepSelection)protected voiduninstall()Called when the node is removed from the tree.booleanuseThumbnailTooltip()- 
Methods inherited from class com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceNodecloseAndCommit, commitIfOpen, getProjectResource, install, isOpen, onEditorClosed, onEditorOpened, open, setIcon
 - 
Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNodeaddBadges, addConcurrentUsersBadges, addDocumentationMenuItem, addEditActions, addExportMenuItem, addNotesBadge, addOverrideEnabledMenuItem, addProtectMenuItem, addRevertMenuItem, alterName, editDocumentation, gatherChildrenIds, getIcon, getInvalidNameErrorMessage, getPopupActions, getResourceId, getResourcePath, isChanged, isEditable, isInherited, isLocal, isOverridden, isOverrideEnabled, isProtectedEnabled, isRestricted, isValid, onDoubleClick, onEdit, onResourceModified, revert, selectChild, setOverrideEnabled, setProtected, setRevertedResourcePath, setupEditActions
 - 
Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNodecanDrag, canDrop, checkChildren, children, confirmDelete, createResourceCopy, debug, debug, dispatchSelectionEvent, expand, expandAndSelect, findChild, findCommonEditActionHandler, findDropHandler, findEditActionHandler, forceChildrenReload, getAllowsChildren, getChildAt, getChildCount, getClipboard, getDeleteAction, getDepth, getExpandedIcon, getIndex, getModel, getName, getParent, getSelectionModel, getSortOrder, getText, getThumbnail, getTooltip, getWorkspaceName, initPopupMenu, isBold, isItalic, isLeaf, isSelected, isTopLevelNode, isValidName, iterator, newLogger, notifyChildNameChanged, onChildrenSelected, pathToRoot, recreate, refresh, reload, select, select, setBold, setChildren, setItalic, setName, setText, setThumbnail, setTooltip, showPopupMenu, toString, uninstallChildren, visitIfLoaded
 
- 
 
- 
- 
- 
Constructor Detail- 
ReportNodepublic ReportNode(DesignerContext context, TabbedResourceWorkspace workspace, ProjectResource resource) 
 
- 
 - 
Method Detail- 
loadChildrenprotected 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 class- AbstractNavTreeNode
 
 - 
onSelectedpublic void onSelected() Description copied from class:AbstractNavTreeNodeCalled when this node is selected in the tree- Overrides:
- onSelectedin class- ResourceNode
 
 - 
recreateprotected void recreate(boolean keepSelection) - Overrides:
- recreatein class- AbstractNavTreeNode
 
 - 
useThumbnailTooltippublic boolean useThumbnailTooltip() - Overrides:
- useThumbnailTooltipin class- AbstractNavTreeNode
 
 - 
onEditorSelectedprotected 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 class- ResourceNode
 
 - 
onEditorUnselectedprotected void onEditorUnselected() - Overrides:
- onEditorUnselectedin class- ResourceNode
 
 - 
uninstallprotected void uninstall() Description copied from class:AbstractNavTreeNodeCalled when the node is removed from the tree. Override to provide meaningful implementation.- Overrides:
- uninstallin class- ResourceNode
 
 - 
isEditActionHandlerpublic 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 class- AbstractNavTreeNode
 
 - 
canCopypublic boolean canCopy(java.util.List<AbstractNavTreeNode> selectedChildren) Description copied from class:AbstractNavTreeNodeCan this edit action handler handle the copy action, given its current selection? Note that if this andAbstractNavTreeNode.canDelete(java.util.List)both return true, the cut action will also be enabled.- Overrides:
- canCopyin class- AbstractResourceNavTreeNode
 
 - 
doCutpublic java.awt.datatransfer.Transferable doCut(java.util.List<? extends AbstractNavTreeNode> selectedChildren) Description copied from class:AbstractNavTreeNodeCalled when the cut action is performed.- Overrides:
- doCutin class- AbstractNavTreeNode
- Returns:
- the current selection as a Transferable, or null if the cut failed. Will be added to the system clipboard.
 
 - 
doCopy@Nullable public java.awt.datatransfer.Transferable doCopy(java.util.List<? extends AbstractNavTreeNode> selectedChildren) Description copied from class:AbstractNavTreeNodeCalled when the copy action is performed.- Overrides:
- doCopyin class- AbstractNavTreeNode
- Returns:
- the current selection as a Transferable, or null if the copy failed. Will be added to the system clipboard.
 
 - 
canPastepublic boolean canPaste(java.util.List<AbstractNavTreeNode> selectedChildren, @Nullable java.awt.datatransfer.Transferable data) Description copied from class:AbstractNavTreeNodeCan this action handler handle a paste given the data flavors currently available in the clipboard? data may be null.- Overrides:
- canPastein class- AbstractNavTreeNode
 
 - 
doPastepublic boolean doPaste(java.util.List<? extends AbstractNavTreeNode> selectedChildren, java.awt.datatransfer.Transferable clipboardContents, boolean isDrop) Description copied from class:AbstractNavTreeNodeCalled when the paste action is performed- Overrides:
- doPastein class- AbstractNavTreeNode
- clipboardContents- The current contents of the clipboard to paste.
- isDrop- Indicates whether this paste originated from a drop action. If false, originated from a keyboard or menu paste shortcut.
- Returns:
- whether or not the paste successfully completed.
 
 - 
canDeletepublic 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 class- AbstractResourceNavTreeNode
 
 - 
doDeletepublic 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 class- AbstractNavTreeNode
 
 
- 
 
-