|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.DefaultMutableTreeNode org.fife.rtext.plugins.project.tree.AbstractWorkspaceTreeNode org.fife.rtext.plugins.project.tree.LogicalFolderProjectEntryTreeNode
public class LogicalFolderProjectEntryTreeNode
A tree node that's a "logical" folder; that is, one that's not reflecting a physical folder structure on the local file system.
Nested Class Summary |
---|
Field Summary | |
---|---|
protected ProjectEntry |
entry
|
Fields inherited from class org.fife.rtext.plugins.project.tree.AbstractWorkspaceTreeNode |
---|
plugin |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
---|---|
LogicalFolderProjectEntryTreeNode(ProjectPlugin plugin,
LogicalFolderProjectEntry entry)
|
Method Summary | |
---|---|
java.lang.String |
getDisplayName()
Returns the name to display for this node in the workspace tree. |
javax.swing.Icon |
getIcon()
Returns the icon for this tree node. |
static javax.swing.Icon |
getLogicalFolderIcon()
Returns the icon shared amongst all logical folders. |
java.util.List<PopupContent> |
getPopupActions()
|
java.lang.String |
getToolTipText()
|
protected void |
handleDelete()
|
protected void |
handleProperties()
|
void |
handleRemove()
Prompts for verification, then removes this project entry from its parent project. |
protected void |
handleRename()
|
boolean |
moveProjectEntityDown()
Moves the project model entity this tree node represents "down" in its parent, if it makes logical sense to do so. |
boolean |
moveProjectEntityUp()
Moves the project model entity this tree node represents "up" in its parent, if it makes logical sense to do so. |
Methods inherited from class org.fife.rtext.plugins.project.tree.AbstractWorkspaceTreeNode |
---|
escapeForHtml, possiblyAddOpenInActions, toString |
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ProjectEntry entry
Constructor Detail |
---|
public LogicalFolderProjectEntryTreeNode(ProjectPlugin plugin, LogicalFolderProjectEntry entry)
Method Detail |
---|
public java.lang.String getDisplayName()
AbstractWorkspaceTreeNode
getDisplayName
in class AbstractWorkspaceTreeNode
public javax.swing.Icon getIcon()
AbstractWorkspaceTreeNode
getIcon
in class AbstractWorkspaceTreeNode
public static javax.swing.Icon getLogicalFolderIcon()
public java.util.List<PopupContent> getPopupActions()
getPopupActions
in class AbstractWorkspaceTreeNode
public java.lang.String getToolTipText()
getToolTipText
in class AbstractWorkspaceTreeNode
protected void handleDelete()
handleDelete
in class AbstractWorkspaceTreeNode
protected void handleProperties()
handleProperties
in class AbstractWorkspaceTreeNode
protected void handleRename()
handleRename
in class AbstractWorkspaceTreeNode
public void handleRemove()
public boolean moveProjectEntityDown()
AbstractWorkspaceTreeNode
false
, since for most entities this operation
does not make sense.
moveProjectEntityDown
in class AbstractWorkspaceTreeNode
AbstractWorkspaceTreeNode.moveProjectEntityUp()
public boolean moveProjectEntityUp()
AbstractWorkspaceTreeNode
false
, since for most entities this operation
does not make sense.
moveProjectEntityUp
in class AbstractWorkspaceTreeNode
AbstractWorkspaceTreeNode.moveProjectEntityDown()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |