Class MWELaunchShortcut

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

public class MWELaunchShortcut extends 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
  • Constructor Details

    • MWELaunchShortcut

      public MWELaunchShortcut()
  • Method Details

    • launch

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

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

      public boolean isOnClasspath(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