org.eclipse.emf.mwe.internal.ui.eclipse.launch
Class MWELaunchShortcut

java.lang.Object
  extended by org.eclipse.emf.mwe.internal.ui.eclipse.launch.MWELaunchShortcut
All Implemented Interfaces:
org.eclipse.debug.ui.ILaunchShortcut

public class MWELaunchShortcut
extends java.lang.Object
implements org.eclipse.debug.ui.ILaunchShortcut

This class is an action handler that responds to a context menu run or debug action.
It creates a launchConfiguration if there is non already for the specified workflow file, stores it and starts it in the resp. mode


Nested Class Summary
 class MWELaunchShortcut.TypeDeclarationSearchRequestor
           
 
Constructor Summary
MWELaunchShortcut()
           
 
Method Summary
protected  org.eclipse.debug.core.ILaunchConfiguration createConfiguration(org.eclipse.emf.mwe.internal.ui.eclipse.launch.MWELaunchShortcut.LaunchConfigurationInfo info)
           
 boolean isOnClasspath(java.lang.String fullyQualifiedName, org.eclipse.jdt.core.IJavaProject project)
           
 void launch(org.eclipse.ui.IEditorPart editor, java.lang.String mode)
           
 void launch(org.eclipse.jface.viewers.ISelection selection, java.lang.String mode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MWELaunchShortcut

public MWELaunchShortcut()
Method Detail

launch

public void launch(org.eclipse.jface.viewers.ISelection selection,
                   java.lang.String mode)
Specified by:
launch in interface org.eclipse.debug.ui.ILaunchShortcut

launch

public void launch(org.eclipse.ui.IEditorPart editor,
                   java.lang.String mode)
Specified by:
launch in interface org.eclipse.debug.ui.ILaunchShortcut

isOnClasspath

public boolean isOnClasspath(java.lang.String fullyQualifiedName,
                             org.eclipse.jdt.core.IJavaProject project)

createConfiguration

protected org.eclipse.debug.core.ILaunchConfiguration createConfiguration(org.eclipse.emf.mwe.internal.ui.eclipse.launch.MWELaunchShortcut.LaunchConfigurationInfo info)
                                                                   throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException