Class ATLLaunchShortcut
java.lang.Object
org.eclipse.m2m.atl.core.ui.launch.ATLLaunchShortcut
- All Implemented Interfaces:
org.eclipse.debug.ui.ILaunchShortcut
ATL Launch Shortcut.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.debug.core.ILaunchConfigurationchooseConfiguration(List<org.eclipse.debug.core.ILaunchConfiguration> configList) Returns a configuration from the given collection of configurations that should be launched, ornullto cancel.protected org.eclipse.debug.core.ILaunchConfigurationTypegetModuleNameFromFile(org.eclipse.core.resources.IFile file) Returns the default module name.protected voidLaunches a configuration from ATL file.voidvoid
-
Constructor Details
-
ATLLaunchShortcut
public ATLLaunchShortcut()
-
-
Method Details
-
launch
- Specified by:
launchin interfaceorg.eclipse.debug.ui.ILaunchShortcut- See Also:
-
launch
- Specified by:
launchin interfaceorg.eclipse.debug.ui.ILaunchShortcut- See Also:
-
launch
Launches a configuration from ATL file.- Parameters:
file- the filemode- the launch mode
-
chooseConfiguration
protected org.eclipse.debug.core.ILaunchConfiguration chooseConfiguration(List<org.eclipse.debug.core.ILaunchConfiguration> configList) Returns a configuration from the given collection of configurations that should be launched, ornullto cancel. Default implementation opens a selection dialog that allows the user to choose one of the specified launch configurations. Returns the chosen configuration, ornullif the user cancels.- Parameters:
configList- list of configurations to choose from- Returns:
- configuration to launch or
nullto cancel
-
getModuleNameFromFile
Returns the default module name.- Parameters:
file- the file name- Returns:
- the default module name
-
getConfigurationType
protected org.eclipse.debug.core.ILaunchConfigurationType getConfigurationType()
-