|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.m2m.atl.core.ui.launch.ATLLaunchShortcut
public class ATLLaunchShortcut
ATL Launch Shortcut.
Constructor Summary | |
---|---|
ATLLaunchShortcut()
|
Method Summary | |
---|---|
protected org.eclipse.debug.core.ILaunchConfiguration |
chooseConfiguration(java.util.List<org.eclipse.debug.core.ILaunchConfiguration> configList)
Returns a configuration from the given collection of configurations that should be launched, or null to cancel. |
protected org.eclipse.debug.core.ILaunchConfigurationType |
getConfigurationType()
|
java.lang.String |
getModuleNameFromFile(org.eclipse.core.resources.IFile file)
Returns the default module name. |
void |
launch(org.eclipse.ui.IEditorPart editor,
java.lang.String mode)
|
protected void |
launch(org.eclipse.core.resources.IFile file,
java.lang.String mode)
Launches a configuration from ATL file. |
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 |
---|
public ATLLaunchShortcut()
Method Detail |
---|
public void launch(org.eclipse.jface.viewers.ISelection selection, java.lang.String mode)
launch
in interface org.eclipse.debug.ui.ILaunchShortcut
ILaunchShortcut.launch(org.eclipse.jface.viewers.ISelection,
java.lang.String)
public void launch(org.eclipse.ui.IEditorPart editor, java.lang.String mode)
launch
in interface org.eclipse.debug.ui.ILaunchShortcut
ILaunchShortcut.launch(org.eclipse.ui.IEditorPart, java.lang.String)
protected void launch(org.eclipse.core.resources.IFile file, java.lang.String mode)
file
- the filemode
- the launch modeprotected org.eclipse.debug.core.ILaunchConfiguration chooseConfiguration(java.util.List<org.eclipse.debug.core.ILaunchConfiguration> configList)
null
to cancel. Default implementation opens a selection dialog that allows the user to
choose one of the specified launch configurations. Returns the chosen configuration, or
null
if the user cancels.
configList
- list of configurations to choose from
null
to cancelpublic java.lang.String getModuleNameFromFile(org.eclipse.core.resources.IFile file)
file
- the file name
protected org.eclipse.debug.core.ILaunchConfigurationType getConfigurationType()
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |