org.eclipse.emf.mwe.internal.ui.workflow.debug
Class MWEPluginAdapter

java.lang.Object
  extended by org.eclipse.emf.mwe.internal.ui.workflow.debug.MWEPluginAdapter
All Implemented Interfaces:
PluginAdapter

public class MWEPluginAdapter
extends java.lang.Object
implements PluginAdapter

The IPluginAdapter implementation for WorkflowComponents.


Constructor Summary
MWEPluginAdapter()
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MWEPluginAdapter

public MWEPluginAdapter()
Method Detail

canHandleResourceExtension

public boolean canHandleResourceExtension(java.lang.String ext)
Specified by:
canHandleResourceExtension in interface PluginAdapter

canHandleType

public boolean canHandleType(java.lang.String type)
Specified by:
canHandleType in interface PluginAdapter

getEditorId

public java.lang.String getEditorId()
Specified by:
getEditorId in interface PluginAdapter

isToggleBpEnabled

public boolean isToggleBpEnabled(org.eclipse.core.resources.IResource resource,
                                 int start,
                                 int end,
                                 int line)
Specified by:
isToggleBpEnabled in interface PluginAdapter

createBreakpoint

public MWEBreakpoint createBreakpoint(org.eclipse.core.resources.IResource resource,
                                      int start,
                                      int end,
                                      int line)
                               throws org.eclipse.core.runtime.CoreException
Specified by:
createBreakpoint in interface PluginAdapter
Throws:
org.eclipse.core.runtime.CoreException

checkBreakpoints

public 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
Specified by:
checkBreakpoints in interface PluginAdapter
Throws:
org.eclipse.core.runtime.CoreException

getIcon

public org.eclipse.swt.graphics.Image getIcon()
Specified by:
getIcon in interface PluginAdapter