Class DebugConnectionTab

  • All Implemented Interfaces:
    EventListener, org.eclipse.debug.core.IPrototypeAttributesLabelProvider, org.eclipse.debug.ui.ILaunchConfigurationTab, org.eclipse.debug.ui.ILaunchConfigurationTab2, org.eclipse.swt.events.ModifyListener, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.internal.SWTEventListener

    public class DebugConnectionTab
    extends org.eclipse.debug.ui.AbstractLaunchConfigurationTab
    implements org.eclipse.swt.events.ModifyListener, org.eclipse.swt.events.SelectionListener
    Launch configuration tab with debug server settings.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createControl​(org.eclipse.swt.widgets.Composite parent)  
      org.eclipse.swt.graphics.Image getImage()  
      String getName()  
      void initializeFrom​(org.eclipse.debug.core.ILaunchConfiguration configuration)  
      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 setAutoDebugServerSettings​(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
      Sets auto debug server settings.
      void setDefaults​(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)  
      void setInfobaseDebugServerSettings​(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration, InfobaseReference infobase)
      Sets the default debug server settings for the provided infobase.
      void widgetDefaultSelected​(org.eclipse.swt.events.SelectionEvent e)  
      void widgetSelected​(org.eclipse.swt.events.SelectionEvent e)  
      • Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

        activated, canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, deactivated, 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 interface org.eclipse.debug.ui.ILaunchConfigurationTab

        OkToLeaveTab, postApply
    • Constructor Detail

      • DebugConnectionTab

        public DebugConnectionTab()
        Creates an instance of DebugConnectionTab.
    • Method Detail

      • createControl

        public void createControl​(org.eclipse.swt.widgets.Composite parent)
        Specified by:
        createControl in interface org.eclipse.debug.ui.ILaunchConfigurationTab
      • setDefaults

        public void setDefaults​(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
        Specified by:
        setDefaults in interface org.eclipse.debug.ui.ILaunchConfigurationTab
      • initializeFrom

        public void initializeFrom​(org.eclipse.debug.core.ILaunchConfiguration configuration)
        Specified by:
        initializeFrom in interface org.eclipse.debug.ui.ILaunchConfigurationTab
      • performApply

        public void performApply​(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
        Specified by:
        performApply in interface org.eclipse.debug.ui.ILaunchConfigurationTab
      • getName

        public String getName()
        Specified by:
        getName in interface org.eclipse.debug.ui.ILaunchConfigurationTab
      • getImage

        public org.eclipse.swt.graphics.Image getImage()
        Specified by:
        getImage in interface org.eclipse.debug.ui.ILaunchConfigurationTab
        Overrides:
        getImage in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      • modifyText

        public void modifyText​(org.eclipse.swt.events.ModifyEvent e)
        Specified by:
        modifyText in interface org.eclipse.swt.events.ModifyListener
      • widgetSelected

        public void widgetSelected​(org.eclipse.swt.events.SelectionEvent e)
        Specified by:
        widgetSelected in interface org.eclipse.swt.events.SelectionListener
      • widgetDefaultSelected

        public void widgetDefaultSelected​(org.eclipse.swt.events.SelectionEvent e)
        Specified by:
        widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener
      • isValid

        public boolean isValid​(org.eclipse.debug.core.ILaunchConfiguration launchConfig)
        Specified by:
        isValid in interface org.eclipse.debug.ui.ILaunchConfigurationTab
        Overrides:
        isValid in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      • setAutoDebugServerSettings

        public void setAutoDebugServerSettings​(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
                                        throws org.eclipse.core.runtime.CoreException
        Sets auto debug server settings.
        Parameters:
        configuration - the launch configuration copy, cannot be null
        Throws:
        org.eclipse.core.runtime.CoreException - if set failed
      • setInfobaseDebugServerSettings

        public void setInfobaseDebugServerSettings​(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration,
                                                   InfobaseReference infobase)
                                            throws org.eclipse.core.runtime.CoreException
        Sets the default debug server settings for the provided infobase.
        Parameters:
        configuration - the launch configuration copy, cannot be null
        infobase - the launch configuration infobase or null if none
        Throws:
        org.eclipse.core.runtime.CoreException - if set failed