Classes | |
class | ElementDescriptor |
Class containing elements for the context. More... | |
Public Member Functions | |
TreeItemManager () | |
Constructor. | |
void | saveContext (TreeViewer treeViewer) |
save the context of the tree view (such as the top row header) | |
void | restoreContext (TreeViewer treeViewer) |
Restore the saved context into the tree view. | |
Private Member Functions | |
ElementDescriptor | getTopItem (Tree tree) |
Retrieve the descriptor context of the top item in the tree. | |
Private Attributes | |
Stack< ElementDescriptor > | stackElement |
Definition at line 19 of file TreeItemManager.java.
edu.rice.cs.hpc.viewer.util.TreeItemManager.TreeItemManager | ( | ) |
Constructor.
this class has to be initialized
Definition at line 26 of file TreeItemManager.java.
References edu.rice.cs.hpc.viewer.util.TreeItemManager.stackElement.
ElementDescriptor edu.rice.cs.hpc.viewer.util.TreeItemManager.getTopItem | ( | Tree | tree | ) | [private] |
Retrieve the descriptor context of the top item in the tree.
tree |
Definition at line 64 of file TreeItemManager.java.
Referenced by edu.rice.cs.hpc.viewer.util.TreeItemManager.saveContext().
void edu.rice.cs.hpc.viewer.util.TreeItemManager.restoreContext | ( | TreeViewer | treeViewer | ) |
Restore the saved context into the tree view.
tree |
Definition at line 48 of file TreeItemManager.java.
References edu.rice.cs.hpc.viewer.util.TreeItemManager.ElementDescriptor.imgElement, edu.rice.cs.hpc.viewer.util.TreeItemManager.stackElement, and edu.rice.cs.hpc.viewer.util.TreeItemManager.ElementDescriptor.sTextElement.
Referenced by edu.rice.cs.hpc.viewer.util.Utilities.resetView().
void edu.rice.cs.hpc.viewer.util.TreeItemManager.saveContext | ( | TreeViewer | treeViewer | ) |
save the context of the tree view (such as the top row header)
tree |
Definition at line 34 of file TreeItemManager.java.
References edu.rice.cs.hpc.viewer.util.TreeItemManager.getTopItem(), and edu.rice.cs.hpc.viewer.util.TreeItemManager.stackElement.
Referenced by edu.rice.cs.hpc.viewer.util.Utilities.resetView().
Definition at line 21 of file TreeItemManager.java.
Referenced by edu.rice.cs.hpc.viewer.util.TreeItemManager.restoreContext(), edu.rice.cs.hpc.viewer.util.TreeItemManager.saveContext(), and edu.rice.cs.hpc.viewer.util.TreeItemManager.TreeItemManager().