Public Member Functions | |
StyledScopeLabelProvider (IWorkbenchWindow window) | |
Initialization of the class: preparing the colors for each object. | |
void | update (ViewerCell cell) |
Private Member Functions | |
String | getText (Scope node) |
Return the text of the scope tree. | |
Private Attributes | |
final Styler | STYLE_ACTIVE_LINK |
final ViewerWindow | viewerWindow |
Definition at line 30 of file StyledScopeLabelProvider.java.
edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.StyledScopeLabelProvider | ( | IWorkbenchWindow | window | ) |
Initialization of the class: preparing the colors for each object.
window |
Definition at line 40 of file StyledScopeLabelProvider.java.
References edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.STYLE_ACTIVE_LINK, and edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.viewerWindow.
String edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.getText | ( | Scope | node | ) | [private] |
Return the text of the scope tree.
By default is the scope name.
Definition at line 98 of file StyledScopeLabelProvider.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.getCCTIndex(), edu.rice.cs.hpc.data.experiment.scope.Scope.getFlatIndex(), edu.rice.cs.hpc.data.experiment.scope.CallSiteScope.getLineScope(), edu.rice.cs.hpc.data.experiment.scope.Scope.getName(), edu.rice.cs.hpc.viewer.window.ViewerWindow.showCCTLabel(), edu.rice.cs.hpc.viewer.window.ViewerWindow.showFlatLabel(), and edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.viewerWindow.
Referenced by edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.update().
void edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.update | ( | ViewerCell | cell | ) |
Definition at line 50 of file StyledScopeLabelProvider.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.getFirstLineNumber(), edu.rice.cs.hpc.data.experiment.scope.CallSiteScope.getLineScope(), edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.getText(), and edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.STYLE_ACTIVE_LINK.
final Styler edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.STYLE_ACTIVE_LINK [private] |
Definition at line 32 of file StyledScopeLabelProvider.java.
Referenced by edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.StyledScopeLabelProvider(), and edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.update().
Definition at line 33 of file StyledScopeLabelProvider.java.
Referenced by edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.getText(), and edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.StyledScopeLabelProvider().