public class VPTWorkingFileListModel extends ProjectCustomTreeModel
Constructor and Description |
---|
VPTWorkingFileListModel(VPTNode rootNode)
Create a new
VPTFileListModel . |
Modifier and Type | Method and Description |
---|---|
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.
|
addChild, buildPathToRoot, getCache, getCachedChildren, getChild, getChildCount, getIndexOfChild, getPathToRoot, isCustom, nodeChanged, nodeStructureChanged, projectClosed, removeChild
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getListeners, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodesChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged
public VPTWorkingFileListModel(VPTNode rootNode)
VPTFileListModel
.rootNode
- The root node of the tree.public void fileOpened(VPTNode child)
fileOpened
in class ProjectTreeModel
public void fileClosed(VPTNode child)
fileClosed
in class ProjectTreeModel
protected java.util.List<VPTNode> getChildren(VPTProject proj)
getChildren
in class ProjectCustomTreeModel
proj
- The project being queried.protected java.lang.String getName()
ProjectTreeModel
getName
in class ProjectTreeModel