|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultTreeModel
projectviewer.vpt.ProjectTreeModel
public abstract class ProjectTreeModel
A tree model that defines a few methods used internally by ProjectViewer.
Field Summary |
---|
Fields inherited from class javax.swing.tree.DefaultTreeModel |
---|
asksAllowsChildren, listenerList, root |
Constructor Summary | |
---|---|
protected |
ProjectTreeModel(VPTNode root)
|
Method Summary | |
---|---|
protected void |
fileClosed(VPTNode file)
Called when a project's file is opened in jEdit. |
protected void |
fileOpened(VPTNode file)
Called when a project's file is opened in jEdit. |
protected abstract java.lang.String |
getName()
Returns the name of the tree, to be shown in the tabbed pane GUI. |
protected boolean |
isCustom()
Returns whether this model shows files in a customized way that does not follow the implicit node hierarchy. |
protected void |
projectClosed(VPTProject p)
Called when a project had been closed. |
Methods inherited from class javax.swing.tree.DefaultTreeModel |
---|
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ProjectTreeModel(VPTNode root)
Method Detail |
---|
protected abstract java.lang.String getName()
protected boolean isCustom()
protected void fileOpened(VPTNode file)
protected void fileClosed(VPTNode file)
protected void projectClosed(VPTProject p)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |