org.eclipse.emf.mwe.ui.debug.processing
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 Summary
 boolean canHandleResourceExtension(java.lang.String ext)
           
 boolean canHandleType(java.lang.String type)
           
 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)
           
 MWEBreakpoint createBreakpoint(org.eclipse.core.resources.IResource resource, int start, int end, int line)
           
 java.lang.String getEditorId()
           
 org.eclipse.swt.graphics.Image getIcon()
           
 boolean isToggleBpEnabled(org.eclipse.core.resources.IResource resource, int start, int end, int line)
           
 

Method Detail

canHandleResourceExtension

boolean canHandleResourceExtension(java.lang.String ext)

canHandleType

boolean canHandleType(java.lang.String type)

getEditorId

java.lang.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)