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 java.lang.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.
    • Field Summary

      • Fields inherited from interface org.eclipse.debug.ui.IDebugModelPresentation

        DISPLAY_VARIABLE_TYPE_NAMES
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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()  
      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.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 removeListener​(org.eclipse.jface.viewers.ILabelProviderListener listener)  
      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

      • 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​(java.lang.Object element,
                                       java.lang.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​(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
      • 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