public class LaunchShortcut extends Object implements org.eclipse.debug.ui.ILaunchShortcut2
Note: The launcher uses the environment variable SCADA_PROFILE as a marker. The variable itself has no function in the application.
| Constructor and Description |
|---|
LaunchShortcut() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAllBundels(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy cfg,
org.eclipse.scada.configuration.world.osgi.profile.Profile profile) |
protected org.eclipse.debug.core.ILaunchConfiguration |
createConfiguration(org.eclipse.core.resources.IResource resource) |
protected Collection<org.eclipse.debug.core.ILaunchConfiguration> |
findConfigurations(org.eclipse.core.resources.IResource resource) |
protected String |
getConfigurationArea(org.eclipse.scada.configuration.world.osgi.profile.Profile profile) |
protected org.eclipse.debug.core.ILaunchConfigurationType |
getConfigurationType() |
protected Set<org.eclipse.scada.da.server.ui.launcher.app.LaunchShortcut.Bundle> |
getInitialBundles() |
protected Map<String,String> |
getInitialProperties() |
org.eclipse.core.resources.IResource |
getLaunchableResource(org.eclipse.ui.IEditorPart editorpart) |
org.eclipse.core.resources.IResource |
getLaunchableResource(org.eclipse.jface.viewers.ISelection selection) |
org.eclipse.debug.core.ILaunchConfiguration[] |
getLaunchConfigurations(org.eclipse.ui.IEditorPart editorpart) |
org.eclipse.debug.core.ILaunchConfiguration[] |
getLaunchConfigurations(org.eclipse.jface.viewers.ISelection selection) |
protected Pair<String,String> |
interceptProperty(org.eclipse.scada.configuration.world.osgi.profile.Profile profile,
Pair<String,String> pair)
Allow intercepting properties
|
void |
launch(org.eclipse.ui.IEditorPart editor,
String mode) |
void |
launch(org.eclipse.jface.viewers.ISelection selection,
String mode) |
protected void |
log(String string,
org.eclipse.core.runtime.IStatus status) |
protected void |
performLanuch(org.eclipse.core.resources.IResource resource,
String mode) |
protected org.eclipse.debug.core.ILaunchConfiguration createConfiguration(org.eclipse.core.resources.IResource resource)
throws Exception
Exceptionprotected String getConfigurationArea(org.eclipse.scada.configuration.world.osgi.profile.Profile profile)
protected Pair<String,String> interceptProperty(org.eclipse.scada.configuration.world.osgi.profile.Profile profile, Pair<String,String> pair)
profile - pair - the propertynull suppresses the propertyprotected void addAllBundels(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy cfg,
org.eclipse.scada.configuration.world.osgi.profile.Profile profile)
throws org.eclipse.core.runtime.CoreException,
InterruptedException
org.eclipse.core.runtime.CoreExceptionInterruptedExceptionprotected Set<org.eclipse.scada.da.server.ui.launcher.app.LaunchShortcut.Bundle> getInitialBundles()
protected Collection<org.eclipse.debug.core.ILaunchConfiguration> findConfigurations(org.eclipse.core.resources.IResource resource) throws org.eclipse.core.runtime.CoreException, IOException
org.eclipse.core.runtime.CoreExceptionIOExceptionprotected org.eclipse.debug.core.ILaunchConfigurationType getConfigurationType()
protected void performLanuch(org.eclipse.core.resources.IResource resource,
String mode)
protected void log(String string, org.eclipse.core.runtime.IStatus status)
public void launch(org.eclipse.jface.viewers.ISelection selection,
String mode)
launch in interface org.eclipse.debug.ui.ILaunchShortcutpublic void launch(org.eclipse.ui.IEditorPart editor,
String mode)
launch in interface org.eclipse.debug.ui.ILaunchShortcutpublic org.eclipse.debug.core.ILaunchConfiguration[] getLaunchConfigurations(org.eclipse.jface.viewers.ISelection selection)
getLaunchConfigurations in interface org.eclipse.debug.ui.ILaunchShortcut2public org.eclipse.debug.core.ILaunchConfiguration[] getLaunchConfigurations(org.eclipse.ui.IEditorPart editorpart)
getLaunchConfigurations in interface org.eclipse.debug.ui.ILaunchShortcut2public org.eclipse.core.resources.IResource getLaunchableResource(org.eclipse.jface.viewers.ISelection selection)
getLaunchableResource in interface org.eclipse.debug.ui.ILaunchShortcut2public org.eclipse.core.resources.IResource getLaunchableResource(org.eclipse.ui.IEditorPart editorpart)
getLaunchableResource in interface org.eclipse.debug.ui.ILaunchShortcut2Copyright © 2015 Eclipse SCADA Project. All rights reserved.