Public Member Functions | |
ScopeZoom (ScopeTreeViewer treeViewer, ScopeViewActionsGUI objGUI) | |
Constructor to prepare zooms. | |
void | zoomIn (Scope current, Scope old) |
Zoom in from "old" scope to "new" scope, store the tree description (expanded items) if necessary. | |
void | zoomOut () |
zoom out | |
boolean | canZoomOut () |
Verify if zoom out is possible. | |
boolean | canZoomIn (Scope node) |
void | setViewer (ScopeTreeViewer treeViewer) |
Private Attributes | |
ScopeTreeViewer | viewer |
ScopeViewActionsGUI | objActionsGUI |
java.util.Stack< Scope > | stackRootTree |
java.util.Stack< Object[]> | stackTreeStates |
Definition at line 13 of file ScopeZoom.java.
edu.rice.cs.hpc.viewer.scope.ScopeZoom.ScopeZoom | ( | ScopeTreeViewer | treeViewer, | |
ScopeViewActionsGUI | objGUI | |||
) |
Constructor to prepare zooms.
treeViewer | ||
objGUI |
Definition at line 31 of file ScopeZoom.java.
References edu.rice.cs.hpc.viewer.scope.ScopeZoom.objActionsGUI, edu.rice.cs.hpc.viewer.scope.ScopeZoom.stackRootTree, edu.rice.cs.hpc.viewer.scope.ScopeZoom.stackTreeStates, and edu.rice.cs.hpc.viewer.scope.ScopeZoom.viewer.
boolean edu.rice.cs.hpc.viewer.scope.ScopeZoom.canZoomIn | ( | Scope | node | ) |
node |
Definition at line 104 of file ScopeZoom.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.getChildCount().
Referenced by edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActions.checkStates(), edu.rice.cs.hpc.viewer.scope.BaseScopeViewActions.checkStates(), and edu.rice.cs.hpc.viewer.scope.ScopeViewActions.shouldZoomInBeEnabled().
boolean edu.rice.cs.hpc.viewer.scope.ScopeZoom.canZoomOut | ( | ) |
Verify if zoom out is possible.
Definition at line 91 of file ScopeZoom.java.
References edu.rice.cs.hpc.viewer.scope.ScopeZoom.stackRootTree.
Referenced by edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActions.checkStates(), edu.rice.cs.hpc.viewer.scope.BaseScopeViewActions.checkStates(), and edu.rice.cs.hpc.viewer.scope.ScopeViewActions.shouldZoomOutBeEnabled().
void edu.rice.cs.hpc.viewer.scope.ScopeZoom.setViewer | ( | ScopeTreeViewer | treeViewer | ) |
Definition at line 115 of file ScopeZoom.java.
References edu.rice.cs.hpc.viewer.scope.ScopeZoom.viewer.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActions.setTreeViewer().
Zoom in from "old" scope to "new" scope, store the tree description (expanded items) if necessary.
current | ||
old |
Definition at line 47 of file ScopeZoom.java.
References edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.insertParentNode(), edu.rice.cs.hpc.viewer.scope.ScopeZoom.objActionsGUI, edu.rice.cs.hpc.viewer.scope.ScopeZoom.stackRootTree, edu.rice.cs.hpc.viewer.scope.ScopeZoom.stackTreeStates, and edu.rice.cs.hpc.viewer.scope.ScopeZoom.viewer.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActions.zoomIn().
void edu.rice.cs.hpc.viewer.scope.ScopeZoom.zoomOut | ( | ) |
zoom out
Definition at line 64 of file ScopeZoom.java.
References edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.insertParentNode(), edu.rice.cs.hpc.viewer.scope.ScopeZoom.objActionsGUI, edu.rice.cs.hpc.viewer.scope.ScopeZoom.stackRootTree, edu.rice.cs.hpc.viewer.scope.ScopeZoom.stackTreeStates, and edu.rice.cs.hpc.viewer.scope.ScopeZoom.viewer.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActions.zoomOut().
Definition at line 18 of file ScopeZoom.java.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeZoom.ScopeZoom(), edu.rice.cs.hpc.viewer.scope.ScopeZoom.zoomIn(), and edu.rice.cs.hpc.viewer.scope.ScopeZoom.zoomOut().
java.util.Stack<Scope> edu.rice.cs.hpc.viewer.scope.ScopeZoom.stackRootTree [private] |
Definition at line 20 of file ScopeZoom.java.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeZoom.canZoomOut(), edu.rice.cs.hpc.viewer.scope.ScopeZoom.ScopeZoom(), edu.rice.cs.hpc.viewer.scope.ScopeZoom.zoomIn(), and edu.rice.cs.hpc.viewer.scope.ScopeZoom.zoomOut().
java.util.Stack<Object[]> edu.rice.cs.hpc.viewer.scope.ScopeZoom.stackTreeStates [private] |
Definition at line 21 of file ScopeZoom.java.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeZoom.ScopeZoom(), edu.rice.cs.hpc.viewer.scope.ScopeZoom.zoomIn(), and edu.rice.cs.hpc.viewer.scope.ScopeZoom.zoomOut().
Definition at line 17 of file ScopeZoom.java.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeZoom.ScopeZoom(), edu.rice.cs.hpc.viewer.scope.ScopeZoom.setViewer(), edu.rice.cs.hpc.viewer.scope.ScopeZoom.zoomIn(), and edu.rice.cs.hpc.viewer.scope.ScopeZoom.zoomOut().