public class ShapeNode extends AbstractNavTreeNode
AbstractNavTreeNode.DeleteReason, AbstractNavTreeNode.PopupAction, AbstractNavTreeNode.ResourceChangeListenerbold, children, childrenLoaded, copyAction, cutAction, deleteAction, depth, icon, italic, log, model, name, NAME_PATTERN, parent, pasteAction, protectedAction, protectedMenuItem, renameAction, selectionModel, text, thumbnail, tooltip| Modifier and Type | Method and Description |
|---|---|
RMShape |
getShape() |
protected void |
initPopupMenu(javax.swing.JPopupMenu menu,
javax.swing.tree.TreePath[] paths,
java.util.List<AbstractNavTreeNode> selection,
int modifiers)
Default implementation calls setupEditActions(), and then addEditActions()
|
void |
install(AbstractNavTreeNode parent) |
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.
|
void |
onSelected()
Called when this node is selected in the tree
|
void |
select(boolean append)
Causes this tree node to become selected.
|
protected java.lang.String |
toString(RMShape shape) |
protected void |
uninstall()
Called when the node is removed from the tree.
|
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, getIcon, getIndex, getModel, getName, getParent, getSelectionModel, getSortOrder, getText, getThumbnail, getTooltip, getWorkspaceName, isBold, isEditable, isEditActionHandler, isItalic, isLeaf, isProtected, isProtectedEnabled, isSelected, isValidName, iterator, newLogger, notifyChildNameChanged, onChildrenSelected, onDoubleClick, onEdit, pathToRoot, recreate, refresh, reload, select, setBold, setChildren, setIcon, setItalic, setName, setProtected, setText, setThumbnail, setTooltip, setupEditActions, showPopup, showPopupMenu, toString, uninstallChildren, useThumbnailTooltippublic ShapeNode(RMShape shape)
public void select(boolean append)
AbstractNavTreeNodeselect in class AbstractNavTreeNodeappend - Should this node be appended to the current selection, or be selected by itself?public void onSelected()
AbstractNavTreeNodeonSelected in class AbstractNavTreeNodeprotected void initPopupMenu(javax.swing.JPopupMenu menu,
javax.swing.tree.TreePath[] paths,
java.util.List<AbstractNavTreeNode> selection,
int modifiers)
AbstractNavTreeNodeinitPopupMenu in class AbstractNavTreeNodepublic RMShape getShape()
public void install(AbstractNavTreeNode parent)
install in class AbstractNavTreeNodeprotected void uninstall()
AbstractNavTreeNodeuninstall in class AbstractNavTreeNodeprotected java.lang.String toString(RMShape shape)
protected java.util.List<AbstractNavTreeNode> loadChildren()
AbstractNavTreeNodeloadChildren in class AbstractNavTreeNode