public class WorkflowLaunchUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
logger |
protected static java.lang.String |
MWE2_FILE_EXTENSION |
protected static java.lang.String |
MWE2_LAUNCH_SHORCUT_ID |
Constructor and Description |
---|
WorkflowLaunchUtils() |
Modifier and Type | Method and Description |
---|---|
protected static org.eclipse.debug.ui.ILaunchShortcut |
findLaunchShortcut()
Find launch shortcut in the extension registry.
|
static void |
runWorkflow(org.eclipse.core.resources.IResource workflowFile,
java.lang.String mode) |
static boolean |
workflowFileAvailableFor(org.eclipse.ui.IEditorPart activeEditor) |
static boolean |
workflowFileAvailableForGrammarFile(org.eclipse.core.resources.IResource resource) |
static org.eclipse.core.resources.IResource |
workflowFileFor(org.eclipse.core.commands.ExecutionEvent event) |
static org.eclipse.core.resources.IResource |
workflowFileFor(org.eclipse.ui.IEditorPart editor) |
static org.eclipse.core.resources.IResource |
workflowFileFor(org.eclipse.core.resources.IResource resource) |
static org.eclipse.core.resources.IResource |
workflowFileFor(org.eclipse.jface.viewers.ISelection selection) |
protected static final java.lang.String MWE2_FILE_EXTENSION
protected static final java.lang.String MWE2_LAUNCH_SHORCUT_ID
protected static final org.apache.log4j.Logger logger
public static org.eclipse.core.resources.IResource workflowFileFor(org.eclipse.core.commands.ExecutionEvent event)
public static boolean workflowFileAvailableFor(org.eclipse.ui.IEditorPart activeEditor)
public static org.eclipse.core.resources.IResource workflowFileFor(org.eclipse.ui.IEditorPart editor)
public static org.eclipse.core.resources.IResource workflowFileFor(org.eclipse.jface.viewers.ISelection selection)
public static boolean workflowFileAvailableForGrammarFile(org.eclipse.core.resources.IResource resource)
public static org.eclipse.core.resources.IResource workflowFileFor(org.eclipse.core.resources.IResource resource)
protected static org.eclipse.debug.ui.ILaunchShortcut findLaunchShortcut() throws org.eclipse.core.runtime.CoreException
org.eclipse.emf.mwe2.launch
bundle.org.eclipse.core.runtime.CoreException
public static void runWorkflow(org.eclipse.core.resources.IResource workflowFile, java.lang.String mode)