Class RuntimeClientMainTab
java.lang.Object
org.eclipse.debug.ui.AbstractLaunchConfigurationTab
com._1c.g5.v8.dt.internal.launching.ui.launchconfigurations.AbstractRuntimeClientTab
com._1c.g5.v8.dt.launching.ui.launchconfigurations.AbstractLaunchingTab
com._1c.g5.v8.dt.internal.launching.ui.launchconfigurations.RuntimeClientMainTab
- All Implemented Interfaces:
IRuntimeClientChangeListener
,EventListener
,org.eclipse.debug.core.IPrototypeAttributesLabelProvider
,org.eclipse.debug.ui.ILaunchConfigurationTab
,org.eclipse.debug.ui.ILaunchConfigurationTab2
,ISelectionChangedListener
,org.eclipse.swt.events.ModifyListener
,org.eclipse.swt.events.SelectionListener
,org.eclipse.swt.internal.SWTEventListener
Launch configuration tab with target project, infobase and 1C:Enterprise runtime installations settings.
-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.launching.ui.launchconfigurations.AbstractLaunchingTab
applicationManager, infobaseAccessManager, installationViewer, projectViewer, resolvableRuntimeInstallationManager, runtimeTypeId, runtimeVersionSupport, runtimewizardId
Fields inherited from class com._1c.g5.v8.dt.internal.launching.ui.launchconfigurations.AbstractRuntimeClientTab
runtimeComponentManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createApplicationSettings
(org.eclipse.swt.widgets.Composite parent, int hSpan) Creates application settings UI elements.protected org.eclipse.swt.widgets.Button
createCheckButton
(org.eclipse.swt.widgets.Composite parent, String label) void
createControl
(org.eclipse.swt.widgets.Composite parent) protected void
createProjectSettings
(org.eclipse.swt.widgets.Composite parent) Creates project settings UI elements.void
doInitializeFrom
(org.eclipse.debug.core.ILaunchConfiguration configuration) Initializes this tab's controls with values from the given launch configuration.org.eclipse.swt.graphics.Image
getImage()
getName()
protected void
handleProjectSelection
(org.eclipse.core.resources.IProject project) Handles a project selection.boolean
isValid
(org.eclipse.debug.core.ILaunchConfiguration launchConfig) void
modifyText
(org.eclipse.swt.events.ModifyEvent e) void
performApply
(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) void
void
setDefaults
(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) void
Sets the 1C:Enterprise runtime client change notifier.protected boolean
Validates 1C:Enterprise runtime installation selection.void
widgetDefaultSelected
(org.eclipse.swt.events.SelectionEvent e) void
widgetSelected
(org.eclipse.swt.events.SelectionEvent e) Methods inherited from class com._1c.g5.v8.dt.launching.ui.launchconfigurations.AbstractLaunchingTab
createAddRuntimeButton, createRuntimeInstallationSettings, deactivated, getApplications, getContextProject, getSelectedApplication, getSelectedInstallation, getSelectedProject, handleApplicationSelection, handleUseDefaultInfobaseLaunchSelection, handleUseInfobaseLaunchSelection, initializeApplicationViewer, initializeFrom, initializeInstallationViewer, initializeProjectViewer, validateProject, validateProject
Methods inherited from class com._1c.g5.v8.dt.internal.launching.ui.launchconfigurations.AbstractRuntimeClientTab
canClientOpenUri, canRunRuntimeClient, doRuntimeClientAutoSelected, doRuntimeClientChanged, getClientTypeId, getClientTypeId, isAutoSelect, isAutoSelect, projectChanged, runtimeClientAutoSelected, runtimeClientChanged, setVisible
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
activated, canSave, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, dispose, getAttributeLabel, getAttributesLabelsForPrototype, getControl, getErrorMessage, getHelpContextId, getId, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, getUpdateJobDelay, getWarningMessage, initializeAttributes, isDirty, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setHelpContextId, setLaunchConfigurationDialog, setMessage, setWarningMessage, updateLaunchConfigurationDialog
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.ILaunchConfigurationTab
OkToLeaveTab, postApply
-
Constructor Details
-
RuntimeClientMainTab
public RuntimeClientMainTab()Creates an instance ofRuntimeClientMainTab
.
-
-
Method Details
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent) -
setDefaults
public void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) - Specified by:
setDefaults
in interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
setDefaults
in classAbstractLaunchingTab
-
doInitializeFrom
public void doInitializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration) Description copied from class:AbstractRuntimeClientTab
Initializes this tab's controls with values from the given launch configuration.- Specified by:
doInitializeFrom
in classAbstractRuntimeClientTab
- Parameters:
configuration
- the launch configuration, cannot benull
-
performApply
public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) -
getName
-
getImage
public org.eclipse.swt.graphics.Image getImage()- Specified by:
getImage
in interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
getImage
in classorg.eclipse.debug.ui.AbstractLaunchConfigurationTab
-
isValid
public boolean isValid(org.eclipse.debug.core.ILaunchConfiguration launchConfig) - Specified by:
isValid
in interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
isValid
in classAbstractLaunchingTab
-
modifyText
public void modifyText(org.eclipse.swt.events.ModifyEvent e) - Specified by:
modifyText
in interfaceorg.eclipse.swt.events.ModifyListener
- Overrides:
modifyText
in classAbstractLaunchingTab
-
widgetSelected
public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) - Specified by:
widgetSelected
in interfaceorg.eclipse.swt.events.SelectionListener
- Overrides:
widgetSelected
in classAbstractLaunchingTab
-
widgetDefaultSelected
public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e) - Specified by:
widgetDefaultSelected
in interfaceorg.eclipse.swt.events.SelectionListener
- Overrides:
widgetDefaultSelected
in classAbstractLaunchingTab
-
selectionChanged
- Specified by:
selectionChanged
in interfaceISelectionChangedListener
- Overrides:
selectionChanged
in classAbstractLaunchingTab
-
setRuntimeClientChangeNotifier
Sets the 1C:Enterprise runtime client change notifier.- Parameters:
notifier
- the 1C:Enterprise runtime client change notifier, cannot benull
-
createProjectSettings
protected void createProjectSettings(org.eclipse.swt.widgets.Composite parent) Description copied from class:AbstractLaunchingTab
Creates project settings UI elements.- Overrides:
createProjectSettings
in classAbstractLaunchingTab
- Parameters:
parent
- the parent composite to create on, cannot benull
-
createCheckButton
protected org.eclipse.swt.widgets.Button createCheckButton(org.eclipse.swt.widgets.Composite parent, String label) - Overrides:
createCheckButton
in classorg.eclipse.debug.ui.AbstractLaunchConfigurationTab
-
handleProjectSelection
protected void handleProjectSelection(org.eclipse.core.resources.IProject project) Description copied from class:AbstractLaunchingTab
Handles a project selection.- Overrides:
handleProjectSelection
in classAbstractLaunchingTab
- Parameters:
project
- the selected project, cannot benull
-
validateRuntimeInstallation
protected boolean validateRuntimeInstallation()Description copied from class:AbstractLaunchingTab
Validates 1C:Enterprise runtime installation selection.- Overrides:
validateRuntimeInstallation
in classAbstractLaunchingTab
- Returns:
- whether this selection is in a valid state
-
createApplicationSettings
protected void createApplicationSettings(org.eclipse.swt.widgets.Composite parent, int hSpan) Description copied from class:AbstractLaunchingTab
Creates application settings UI elements.- Overrides:
createApplicationSettings
in classAbstractLaunchingTab
- Parameters:
parent
- the parent composite to create on, cannot benull
hSpan
- the horizotnal span of the application viewer
-