org.eclipse.ocl.examples.debug.ui.pages
Class OCLDebugModelPresentation

java.lang.Object
  extended by org.eclipse.ocl.examples.debug.ui.pages.OCLDebugModelPresentation
All Implemented Interfaces:
org.eclipse.debug.ui.IDebugEditorPresentation, org.eclipse.debug.ui.IDebugModelPresentation, org.eclipse.debug.ui.IDebugModelPresentationExtension, org.eclipse.debug.ui.ISourcePresentation, org.eclipse.jface.viewers.IBaseLabelProvider, org.eclipse.jface.viewers.IColorProvider, org.eclipse.jface.viewers.ILabelProvider

public class OCLDebugModelPresentation
extends java.lang.Object
implements org.eclipse.debug.ui.IDebugModelPresentation, org.eclipse.debug.ui.IDebugEditorPresentation, org.eclipse.debug.ui.IDebugModelPresentationExtension, org.eclipse.jface.viewers.IColorProvider, org.eclipse.jface.viewers.ILabelProvider


Field Summary
 
Fields inherited from interface org.eclipse.debug.ui.IDebugModelPresentation
DISPLAY_VARIABLE_TYPE_NAMES
 
Constructor Summary
OCLDebugModelPresentation()
           
 
Method Summary
 boolean addAnnotations(org.eclipse.ui.IEditorPart editorPart, org.eclipse.debug.core.model.IStackFrame frame)
           
 void addListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
           
 void computeDetail(org.eclipse.debug.core.model.IValue value, org.eclipse.debug.ui.IValueDetailListener listener)
           
 void dispose()
           
 org.eclipse.swt.graphics.Color getBackground(java.lang.Object element)
           
 java.lang.String getEditorId(org.eclipse.ui.IEditorInput input, java.lang.Object element)
           
 org.eclipse.ui.IEditorInput getEditorInput(java.lang.Object element)
           
 org.eclipse.swt.graphics.Color getForeground(java.lang.Object element)
           
 org.eclipse.swt.graphics.Image getImage(java.lang.Object element)
           
 java.lang.String getText(java.lang.Object element)
           
 boolean isLabelProperty(java.lang.Object element, java.lang.String property)
           
 void removeAnnotations(org.eclipse.ui.IEditorPart editorPart, org.eclipse.debug.core.model.IThread thread)
           
 void removeListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
           
 boolean requiresUIThread(java.lang.Object element)
           
 void setAttribute(java.lang.String attribute, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OCLDebugModelPresentation

public OCLDebugModelPresentation()
Method Detail

setAttribute

public void setAttribute(java.lang.String attribute,
                         java.lang.Object value)
Specified by:
setAttribute in interface org.eclipse.debug.ui.IDebugModelPresentation

getImage

public org.eclipse.swt.graphics.Image getImage(java.lang.Object element)
Specified by:
getImage in interface org.eclipse.debug.ui.IDebugModelPresentation
Specified by:
getImage in interface org.eclipse.jface.viewers.ILabelProvider

getText

public java.lang.String getText(java.lang.Object element)
Specified by:
getText in interface org.eclipse.debug.ui.IDebugModelPresentation
Specified by:
getText in interface org.eclipse.jface.viewers.ILabelProvider

computeDetail

public void computeDetail(org.eclipse.debug.core.model.IValue value,
                          org.eclipse.debug.ui.IValueDetailListener listener)
Specified by:
computeDetail in interface org.eclipse.debug.ui.IDebugModelPresentation

isLabelProperty

public boolean isLabelProperty(java.lang.Object element,
                               java.lang.String property)
Specified by:
isLabelProperty in interface org.eclipse.jface.viewers.IBaseLabelProvider

getEditorInput

public org.eclipse.ui.IEditorInput getEditorInput(java.lang.Object element)
Specified by:
getEditorInput in interface org.eclipse.debug.ui.ISourcePresentation

getEditorId

public java.lang.String getEditorId(org.eclipse.ui.IEditorInput input,
                                    java.lang.Object element)
Specified by:
getEditorId in interface org.eclipse.debug.ui.ISourcePresentation

getForeground

public org.eclipse.swt.graphics.Color getForeground(java.lang.Object element)
Specified by:
getForeground in interface org.eclipse.jface.viewers.IColorProvider

getBackground

public org.eclipse.swt.graphics.Color getBackground(java.lang.Object element)
Specified by:
getBackground in interface org.eclipse.jface.viewers.IColorProvider

addAnnotations

public boolean addAnnotations(org.eclipse.ui.IEditorPart editorPart,
                              org.eclipse.debug.core.model.IStackFrame frame)
Specified by:
addAnnotations in interface org.eclipse.debug.ui.IDebugEditorPresentation

removeAnnotations

public void removeAnnotations(org.eclipse.ui.IEditorPart editorPart,
                              org.eclipse.debug.core.model.IThread thread)
Specified by:
removeAnnotations in interface org.eclipse.debug.ui.IDebugEditorPresentation

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.jface.viewers.IBaseLabelProvider

requiresUIThread

public boolean requiresUIThread(java.lang.Object element)
Specified by:
requiresUIThread in interface org.eclipse.debug.ui.IDebugModelPresentationExtension

addListener

public void addListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
Specified by:
addListener in interface org.eclipse.jface.viewers.IBaseLabelProvider

removeListener

public void removeListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
Specified by:
removeListener in interface org.eclipse.jface.viewers.IBaseLabelProvider