public class NamedQueryNode extends ResourceNode
AbstractNavTreeNode.DeleteReason, AbstractNavTreeNode.PopupAction, AbstractNavTreeNode.ResourceChangeListener
Modifier and Type | Field and Description |
---|---|
static javax.swing.Icon |
DISABLED_ICON |
bold, children, childrenLoaded, copyAction, cutAction, deleteAction, depth, icon, italic, log, model, name, NAME_PATTERN, parent, pasteAction, protectedAction, protectedMenuItem, renameAction, selectionModel, text, thumbnail, tooltip
Constructor and Description |
---|
NamedQueryNode(DesignerContext context,
TabbedResourceWorkspace workspace,
ProjectResource resource) |
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
getIcon() |
java.lang.String |
getTooltip() |
protected void |
onEditorClosed(ResourceEditor editor) |
protected void |
onEditorOpened(ResourceEditor editor) |
protected void |
onEditorSelected(ResourceEditor editor)
Called whenever the ResourceEditor for this resource has been opened or selected in the tabbed workspace.
|
protected void |
onEditorUnselected() |
void |
setToolTip(java.lang.String description) |
addEditActions, closeAndCommit, commitIfOpen, getProjectResource, getResourceId, init, initPopupMenu, install, isEditable, onDoubleClick, onEdit, onSelected, projectCtx, uninstall
gatherChildrenIds, isProtected, isProtectedEnabled, selectChild, setProtected, setupEditActions
addBadges, addEditActions, canCopy, canDelete, canDrag, canDrop, canPaste, checkChildren, children, confirmDelete, debug, debug, dispatchSelectionEvent, doCopy, doCut, doDelete, doPaste, expand, findChild, findCommonEditActionHandler, findDropHandler, findEditActionHandler, forceChildrenReload, getAllowsChildren, getChildAt, getChildCount, getClipboard, getCommonEditActionHandler, getDepth, getExpandedIcon, getIndex, getModel, getName, getParent, getSelectionModel, getSortOrder, getText, getThumbnail, getWorkspaceName, isBold, isEditActionHandler, isItalic, isLeaf, isSelected, isValidName, iterator, loadChildren, newLogger, notifyChildNameChanged, onChildrenSelected, pathToRoot, recreate, refresh, reload, select, select, setBold, setChildren, setIcon, setItalic, setName, setText, setThumbnail, setTooltip, showPopup, showPopupMenu, toString, uninstallChildren, useThumbnailTooltip
public NamedQueryNode(DesignerContext context, TabbedResourceWorkspace workspace, ProjectResource resource)
public javax.swing.Icon getIcon()
getIcon
in class AbstractNavTreeNode
protected void onEditorSelected(ResourceEditor editor)
ResourceNode
onEditorSelected
in class ResourceNode
protected void onEditorUnselected()
onEditorUnselected
in class ResourceNode
protected void onEditorOpened(ResourceEditor editor)
onEditorOpened
in class ResourceNode
protected void onEditorClosed(ResourceEditor editor)
onEditorClosed
in class ResourceNode
public java.lang.String getTooltip()
getTooltip
in class AbstractNavTreeNode
public void setToolTip(java.lang.String description)