Interface PluginAdapter

All Known Implementing Classes:
MWEPluginAdapter

public interface PluginAdapter
An adapter to the MWE debug model that handle all element type specific activities on the Eclipse side.
That is breakpoint handling and assignment of the right editor for source lookup.
  • Method Details

    • canHandleResourceExtension

      boolean canHandleResourceExtension(String ext)
    • canHandleType

      boolean canHandleType(String type)
    • getEditorId

      String getEditorId()
    • getIcon

      org.eclipse.swt.graphics.Image getIcon()
    • createBreakpoint

      MWEBreakpoint createBreakpoint(org.eclipse.core.resources.IResource resource, int start, int end, int line) throws org.eclipse.core.runtime.CoreException
      Throws:
      org.eclipse.core.runtime.CoreException
    • checkBreakpoints

      org.eclipse.debug.core.model.IBreakpoint checkBreakpoints(org.eclipse.debug.core.model.IBreakpoint[] bps, org.eclipse.core.resources.IResource resource, int start, int end, int line) throws org.eclipse.core.runtime.CoreException
      Throws:
      org.eclipse.core.runtime.CoreException
    • isToggleBpEnabled

      boolean isToggleBpEnabled(org.eclipse.core.resources.IResource resource, int start, int end, int line)