|
Eclipse PDE Release 3.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.pde.ui.launcher.AbstractLaunchShortcut
public abstract class AbstractLaunchShortcut
An abstract class subclassed by the Eclipse Application and OSGi Framework launch shortcuts.
This class may be subclassed by clients.
| Constructor Summary | |
|---|---|
AbstractLaunchShortcut()
|
|
| Method Summary | |
|---|---|
protected ILaunchConfiguration |
chooseConfiguration(ILaunchConfiguration[] configs,
String mode)
Display to the user a list of matching existing launch configurations and return the user's selection. |
protected ILaunchConfiguration |
findLaunchConfiguration(String mode)
This method first tries to locate existing launch configurations that are suitable for the application or framework being launched. |
protected abstract String |
getLaunchConfigurationTypeName()
Returns the launch configuration type name. |
protected String |
getName(ILaunchConfigurationType type)
Returns the name assigned to the new launch configuration |
protected abstract void |
initializeConfiguration(ILaunchConfigurationWorkingCopy wc)
Initialize launch attributes on the new launch configuration. |
protected abstract boolean |
isGoodMatch(ILaunchConfiguration configuration)
Determines whether a given launch configuration is a good match given the current application or framework being launched. |
protected void |
launch(String mode)
Launches the application in the specified mode, or does nothing if the user canceled the launch when offered to select one of several available launch configurations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.debug.ui.ILaunchShortcut |
|---|
launch, launch |
| Constructor Detail |
|---|
public AbstractLaunchShortcut()
| Method Detail |
|---|
protected void launch(String mode)
mode - mode of launch (run, debug or profile)ILaunchManagerprotected ILaunchConfiguration findLaunchConfiguration(String mode)
mode - mode of launch (run, debug or profile)
null if launch is canceled
protected ILaunchConfiguration chooseConfiguration(ILaunchConfiguration[] configs,
String mode)
configs - an array of matching existing launch configurationsmode - mode of launch
null if Cancel was pressedprotected String getName(ILaunchConfigurationType type)
protected abstract void initializeConfiguration(ILaunchConfigurationWorkingCopy wc)
wc - the launch configuration working copy to be initializeIPDELauncherConstantsprotected abstract String getLaunchConfigurationTypeName()
protected abstract boolean isGoodMatch(ILaunchConfiguration configuration)
configuration - the launch configuration being evaluated
true if the launch configuration is a good match for the application or
framework being launched, false otherwise.
|
Eclipse PDE Release 3.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.