ilog.rules.studio.dvs.ui.execution.tabgroup

Class IlrConfigurationTab

  • java.lang.Object
    • org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      • ilog.rules.studio.dvs.ui.execution.tabgroup.IlrConfigurationTab
  • All Implemented Interfaces:
    org.eclipse.debug.ui.ILaunchConfigurationTab


    public class IlrConfigurationTab
    extends org.eclipse.debug.ui.AbstractLaunchConfigurationTab
    An instance appears in DVS launch configurations and enables the user to specify the way tests will be executed. Tests are executed either locally or using a remote SSP server.

    This class may be instantiated. However, it is not intended to be subclassed.

    Since:
    JRules 7.0
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrConfigurationTab()
      Creates a new IlrConfigurationTab instance in "run" mode.
      IlrConfigurationTab(java.lang.String mode)
      Creates a new IlrConfigurationTab instance.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void createControl(org.eclipse.swt.widgets.Composite parent)
      Creates the top level control for this launch configuration tab under a given parent composite.
      org.eclipse.swt.graphics.Image getImage()
      Returns the image displayed before the name in the tabulation.
      java.lang.String getName()
      Returns the name of this tabulation.
      void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration config)
      Initializes the controls for this tab with values from a given launch configuration.
      boolean isValid(org.eclipse.debug.core.ILaunchConfiguration launchConfig) 
      void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
      Copies values from this tab to a given launch configuration.
      void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
      Initializes a new launch configuration with the default values for this tab.
      • Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

        activated, canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, deactivated, dispose, getControl, getErrorMessage, getId, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, getUpdateJobDelay, isDirty, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setLaunchConfigurationDialog, setMessage, updateLaunchConfigurationDialog
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IlrConfigurationTab

        public IlrConfigurationTab(java.lang.String mode)
        Creates a new IlrConfigurationTab instance.
        Since:
        7.5
        Parameters:
        mode - The launch configuration mode, can be "run" or "debug".
      • IlrConfigurationTab

        public IlrConfigurationTab()
        Creates a new IlrConfigurationTab instance in "run" mode.
    • Method Detail

      • getImage

        public org.eclipse.swt.graphics.Image getImage()
        Returns the image displayed before the name in the tabulation.
        Specified by:
        getImage in interface org.eclipse.debug.ui.ILaunchConfigurationTab
        Overrides:
        getImage in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
        Returns:
        The image to display.
        See Also:
        getName()
      • getName

        public java.lang.String getName()
        Returns the name of this tabulation.
        Returns:
        The name to display.
      • performApply

        public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
        Copies values from this tab to a given launch configuration.
        Parameters:
        configuration - The launch configuration to copy values to.
      • createControl

        public void createControl(org.eclipse.swt.widgets.Composite parent)
        Creates the top level control for this launch configuration tab under a given parent composite. This method is called once on tab creation, after setLaunchConfigurationDialog has been called.

        Implementors must ensure that the created control can be accessed by calling getControl.

        Parameters:
        parent - The parent composite.
      • initializeFrom

        public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration config)
        Initializes the controls for this tab with values from a given launch configuration. This method is called after the control for this tab has been created when a configuration is selected to view or edit.
        Parameters:
        config - The launch configuration.
      • setDefaults

        public void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
        Initializes a new launch configuration with the default values for this tab. This method may be called before the control for this tab is created.
        Parameters:
        configuration - The launch configuration.
      • 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

© Copyright IBM Corp. 1987, 2017