Class DebugModelPresentation

  • All Implemented Interfaces:
    org.eclipse.debug.ui.IDebugModelPresentation, org.eclipse.debug.ui.ISourcePresentation, org.eclipse.jface.viewers.IBaseLabelProvider, org.eclipse.jface.viewers.ILabelProvider

    public class DebugModelPresentation
    extends Object
    implements org.eclipse.debug.ui.IDebugModelPresentation
    Presentation model for the E*L debuggers. It's required in order to avoid a NullPointerException when the source is missing.
    • Constructor Detail

      • DebugModelPresentation

        public DebugModelPresentation()
    • Method Detail

      • addListener

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

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

        public boolean isLabelProperty​(Object element,
                                       String property)
        Specified by:
        isLabelProperty 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
      • getEditorInput

        public org.eclipse.ui.IEditorInput getEditorInput​(Object element)
        Specified by:
        getEditorInput in interface org.eclipse.debug.ui.ISourcePresentation
      • getEditorId

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

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

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

        public String getText​(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