Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.tcf.examples.presentation/src/org/eclipse/tcf/examples/presentation/PresentationExample.java')
-rw-r--r--examples/org.eclipse.tcf.examples.presentation/src/org/eclipse/tcf/examples/presentation/PresentationExample.java60
1 files changed, 30 insertions, 30 deletions
diff --git a/examples/org.eclipse.tcf.examples.presentation/src/org/eclipse/tcf/examples/presentation/PresentationExample.java b/examples/org.eclipse.tcf.examples.presentation/src/org/eclipse/tcf/examples/presentation/PresentationExample.java
index 904546701..1c69c9f6e 100644
--- a/examples/org.eclipse.tcf.examples.presentation/src/org/eclipse/tcf/examples/presentation/PresentationExample.java
+++ b/examples/org.eclipse.tcf.examples.presentation/src/org/eclipse/tcf/examples/presentation/PresentationExample.java
@@ -25,37 +25,37 @@ import org.eclipse.tcf.debug.ui.ITCFPresentationProvider;
@SuppressWarnings("restriction")
public class PresentationExample implements ITCFPresentationProvider {
- @Override
- public boolean onModelCreated(ITCFModel model) {
- /* true means we want to listen for UI requests on this model */
- return true;
- }
+ @Override
+ public boolean onModelCreated(ITCFModel model) {
+ /* true means we want to listen for UI requests on this model */
+ return true;
+ }
- @Override
- public void onModelDisposed(ITCFModel model) {
- }
+ @Override
+ public void onModelDisposed(ITCFModel model) {
+ }
- @Override
- public boolean updateStarted(IRequest request) {
- /* true means we want the model to start handling of this request */
- return true;
- }
+ @Override
+ public boolean updateStarted(IRequest request) {
+ /* true means we want the model to start handling of this request */
+ return true;
+ }
- @Override
- public boolean updateComplete(IRequest request) {
- if (request instanceof ILabelUpdate) {
- ILabelUpdate update = (ILabelUpdate)request;
- String id = update.getPresentationContext().getId();
- if (IDebugUIConstants.ID_REGISTER_VIEW.equals(id)) {
- /* This request is for label in the Registers view.
- * Let's override the default icon with something else.
- */
- ImageDescriptor image = DebugUITools.getImageDescriptor(
- IDebugUIConstants.IMG_OBJS_VARIABLE);
- update.setImageDescriptor(image, 0);
- }
- }
- /* true means we want the model to finish handling of this request */
- return true;
- }
+ @Override
+ public boolean updateComplete(IRequest request) {
+ if (request instanceof ILabelUpdate) {
+ ILabelUpdate update = (ILabelUpdate)request;
+ String id = update.getPresentationContext().getId();
+ if (IDebugUIConstants.ID_REGISTER_VIEW.equals(id)) {
+ /* This request is for label in the Registers view.
+ * Let's override the default icon with something else.
+ */
+ ImageDescriptor image = DebugUITools.getImageDescriptor(
+ IDebugUIConstants.IMG_OBJS_VARIABLE);
+ update.setImageDescriptor(image, 0);
+ }
+ }
+ /* true means we want the model to finish handling of this request */
+ return true;
+ }
}

Back to the top