|
|||||||||
| 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
projectviewer.vpt.ProjectCustomTreeModel
projectviewer.vpt.VPTWorkingFileListModel
public class VPTWorkingFileListModel
A tree model that shows all files currently opened in jEdit in a flat list.
| Field Summary |
|---|
| Fields inherited from class javax.swing.tree.DefaultTreeModel |
|---|
asksAllowsChildren, listenerList, root |
| Constructor Summary | |
|---|---|
VPTWorkingFileListModel(VPTNode rootNode)
Create a new VPTFileListModel. |
|
| Method Summary | |
|---|---|
void |
fileClosed(VPTNode child)
Removes an open file from the list of open files of the projects to which it belongs. |
void |
fileOpened(VPTNode child)
Adds an open file to the list of open files of the projects to which it belongs. |
protected java.util.List<VPTNode> |
getChildren(VPTProject proj)
Returns the list of files currently opened in jEdit that belong to the given project. |
protected java.lang.String |
getName()
Returns the name of the tree, to be shown in the tabbed pane GUI. |
| Methods inherited from class projectviewer.vpt.ProjectCustomTreeModel |
|---|
addChild, buildPathToRoot, getCache, getCachedChildren, getChild, getChildCount, getIndexOfChild, getPathToRoot, isCustom, nodeChanged, nodeStructureChanged, projectClosed, removeChild |
| Methods inherited from class javax.swing.tree.DefaultTreeModel |
|---|
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getListeners, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodesChanged, 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 |
|---|
public VPTWorkingFileListModel(VPTNode rootNode)
VPTFileListModel.
rootNode - The root node of the tree.| Method Detail |
|---|
public void fileOpened(VPTNode child)
fileOpened in class ProjectTreeModelpublic void fileClosed(VPTNode child)
fileClosed in class ProjectTreeModelprotected java.util.List<VPTNode> getChildren(VPTProject proj)
getChildren in class ProjectCustomTreeModelproj - The project being queried.protected java.lang.String getName()
ProjectTreeModel
getName in class ProjectTreeModel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||