C
- the action context typepublic abstract class AbstractLaunchAction<C> extends Object implements LaunchAction
Constructor and Description |
---|
AbstractLaunchAction() |
Modifier and Type | Method and Description |
---|---|
protected abstract C |
createLaunchContext()
Create the launch context.
|
protected C |
getLaunchContext() |
void |
init(org.eclipse.equinox.app.IApplicationContext context)
Initialize the launch action.
|
protected void |
processCommandLineArguments(String[] args,
C launchContext)
Process the command line arguments.
|
protected void |
processFlag(String arg,
C executionContext)
Process a single command line argument.
|
protected void |
processParameter(String param,
String value,
C launchContext)
Process a command line parameter
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onOpenWorkbenchWindow
protected abstract C createLaunchContext()
protected C getLaunchContext()
protected void processCommandLineArguments(String[] args, C launchContext)
args
- the command line argumentslaunchContext
- the launch context to configureprotected void processFlag(String arg, C executionContext)
arg
- the argumentexecutionContext
- the execution context to configureprotected void processParameter(String param, String value, C launchContext)
param
- the parameter namevalue
- the parameter valuelaunchContext
- the launch context to configurepublic void init(org.eclipse.equinox.app.IApplicationContext context)
LaunchAction
init
in interface LaunchAction
context
- the application context of the launched application.Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a