
Classes | |
| class | DisplayedPARFile |
| For overriding what is displayed for each PAR file. More... | |
| class | DummyRootNode |
| For easily tracking which node is the root. More... | |
Public Member Functions | |
| SetTreeModel (int defaultAggregationMethod) | |
| Creates a new instance of SetTreeModel. | |
| void | removeAll () |
| Clears out any loaded data files. | |
| void | removeAll (String revision) |
| Removes all files from a particular revision. | |
| void | remove (String revision, PARFile file) |
| Removes a given file from a particular revision. | |
| void | renameRevision (String oldRevision, String newRevision) |
| Renames a revision. | |
| void | addEmptyRevision (String revision) |
| Creates an empty revision. | |
| int | addDataFile (PARFile par, String revision) |
| Adds a data file to the current set, with the specified revision string attached to it. | |
| TreePath | getPath (String revision, PARFile file) |
| Returns a TreePath corresponding to the given experiment path. | |
| TreePath | getPath (String revision) |
| Returns a TreePath corresponding to the given revision path. | |
| Object | getChild (Object parent, int index) |
| int | getChildCount (Object parent) |
| int | getIndexOfChild (Object parent, Object child) |
| Object | getRoot () |
| boolean | isLeaf (Object node) |
| void | valueForPathChanged (TreePath path, Object newValue) |
| void | addTreeModelListener (TreeModelListener l) |
| void | removeTreeModelListener (TreeModelListener l) |
Package Functions | |
| void | fireRevisionChanged (String revision) |
| Notify listeners that the files in a revision have changed. | |
| void | fireRevisionAdded (int childIndex) |
| Notify listeners that a revision has been added. | |
| void | fireRevisionRemoved (int oldChildIndex, Object oldChild) |
| Notify listeners that a revision has been removed. | |
| void | fireAllChanged () |
| Notify listeners that everything has changed. | |
Package Attributes | |
| EventListenerList | listenerList |
| DummyRootNode | root |
| int edu.ufl.hcs.ppw.gui.SetTreeModel.addDataFile | ( | PARFile | par, | |
| String | revision | |||
| ) |
Adds a data file to the current set, with the specified revision string attached to it.
Returns the index of the data file in the list of all experiments.
Reimplemented from edu.ufl.hcs.ppw.pdm.highlevel.ExperimentSet.
References edu.ufl.hcs.ppw.gui.SetTreeModel.fireAllChanged(), edu.ufl.hcs.ppw.gui.SetTreeModel.fireRevisionChanged(), and edu.ufl.hcs.ppw.pdm.highlevel.ExperimentSet.hasRevision().
| void edu.ufl.hcs.ppw.gui.SetTreeModel.renameRevision | ( | String | oldRev, | |
| String | newRev | |||
| ) |
Renames a revision.
Reimplemented from edu.ufl.hcs.ppw.pdm.highlevel.ExperimentSet.
References edu.ufl.hcs.ppw.gui.SetTreeModel.fireRevisionChanged().
1.5.8