Class RemoteRuntimeDebugLaunchShortcut
- java.lang.Object
-
- com._1c.g5.v8.dt.debug.ui.launchconfigurations.shortcuts.AbstractLaunchShortcut
-
- com._1c.g5.v8.dt.debug.ui.launchconfigurations.shortcuts.RemoteRuntimeDebugLaunchShortcut
-
- All Implemented Interfaces:
org.eclipse.debug.ui.ILaunchShortcut
,org.eclipse.debug.ui.ILaunchShortcut2
public class RemoteRuntimeDebugLaunchShortcut extends AbstractLaunchShortcut
Remote 1C:Enterprise runtime debug connection launch shortcut.
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.debug.ui.launchconfigurations.shortcuts.AbstractLaunchShortcut
applicationManager, processEncodingProvider, resolvableRuntimeInstallationManager, runtimeVersionSupport, v8projectManager
-
-
Constructor Summary
Constructors Constructor Description RemoteRuntimeDebugLaunchShortcut()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getLaunchConfigurationSelectionTitle()
Returns existing launch configuration selection dialog title message.protected String
getLaunchConfigurationTypeId()
Returns the launch shortcut configuration type identifier.protected String
getNameSuffix()
Returns the name suffix for newly created launch configuration, will be appended to the generated name ornull
if suffix not needed.protected boolean
isValid(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode)
Validates the given launch configuration.-
Methods inherited from class com._1c.g5.v8.dt.debug.ui.launchconfigurations.shortcuts.AbstractLaunchShortcut
createLaunchConfiguration, getConfigurationProjects, getLaunchableResource, getLaunchableResource, getLaunchableResource, getLaunchConfiguration, getLaunchConfigurations, getLaunchConfigurations, getLaunchConfigurations, getLaunchConfigurationType, isApplicationValid, launch, launch, launch, matches, prepareConfiguration, setDefaults, shouldSave, showNoProjectsInfo
-
-
-
-
Method Detail
-
getLaunchConfigurationSelectionTitle
protected String getLaunchConfigurationSelectionTitle()
Description copied from class:AbstractLaunchShortcut
Returns existing launch configuration selection dialog title message.- Specified by:
getLaunchConfigurationSelectionTitle
in classAbstractLaunchShortcut
- Returns:
- existing launch configuration selection dialog title message, never
null
-
getLaunchConfigurationTypeId
protected String getLaunchConfigurationTypeId()
Description copied from class:AbstractLaunchShortcut
Returns the launch shortcut configuration type identifier.- Specified by:
getLaunchConfigurationTypeId
in classAbstractLaunchShortcut
- Returns:
- the launch shortcut configuration type identifier, never
null
-
isValid
protected boolean isValid(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode) throws org.eclipse.core.runtime.CoreException
Description copied from class:AbstractLaunchShortcut
Validates the given launch configuration. Returns whether launch configuration has valid and ready-to-launch attributes.- Overrides:
isValid
in classAbstractLaunchShortcut
- Parameters:
configuration
- launch configuration to validate, cannot benull
mode
- one of the launch modes defined by the launch manager, cannot benull
- Returns:
- whether launch configuration has valid and ready-to-launch values
- Throws:
org.eclipse.core.runtime.CoreException
- if validation fails
-
getNameSuffix
protected String getNameSuffix()
Description copied from class:AbstractLaunchShortcut
Returns the name suffix for newly created launch configuration, will be appended to the generated name ornull
if suffix not needed. Default implementation returnsnull
.- Overrides:
getNameSuffix
in classAbstractLaunchShortcut
- Returns:
- the name suffix for newly created launch configuration, or
null
if suffix not needed
-
-