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

Class IlrClasspathTab

  • java.lang.Object
    • org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      • org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab
        • org.eclipse.jdt.internal.debug.ui.launcher.AbstractJavaClasspathTab
          • org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab
            • ilog.rules.studio.dvs.ui.execution.tabgroup.IlrClasspathTab
  • All Implemented Interfaces:
    org.eclipse.debug.ui.ILaunchConfigurationTab, org.eclipse.jdt.internal.debug.ui.launcher.IEntriesChangedListener


    public class IlrClasspathTab
    extends org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab
    Appearing in DVS launch configurations, it is used to specify the classpath used to run the scenarios.

    This class may be instantiated. To add specific jar files to the classpath, create a custom class that inherits from IlrClasspathTab and redefine addExtraJarFile(List).

    Since:
    JRules 7.0
    • Field Summary

      • Fields inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab

        DIALOG_SETTINGS_PREFIX, fClasspathViewer, fLaunchConfiguration
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrClasspathTab() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      protected java.util.List<java.lang.String> addExtraJarFile(java.util.List<java.lang.String> mementos)
      Adds path entries to the classpath that is generated when a new launch configuration is created.
      void createControl(org.eclipse.swt.widgets.Composite parent) 
      protected void createPathButtons(org.eclipse.swt.widgets.Composite pathButtonComp) 
      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.jdt.debug.ui.launchConfigurations.JavaClasspathTab

        activated, createButton, dispose, getClasspathImage, getId, getImage, getLaunchConfiguration, getModel, getName, initializeFrom, isShowBootpath, isValid, performApply
      • Methods inherited from class org.eclipse.jdt.internal.debug.ui.launcher.AbstractJavaClasspathTab

        entriesChanged
      • Methods inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab

        getContext, getCurrentLaunchConfiguration, initializeJavaProject
      • Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

        canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, deactivated, getControl, getErrorMessage, 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

      • IlrClasspathTab

        public IlrClasspathTab()
    • Method Detail

      • 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.
        Specified by:
        setDefaults in interface org.eclipse.debug.ui.ILaunchConfigurationTab
        Overrides:
        setDefaults in class org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab
        Parameters:
        configuration - The launch configuration.
      • createPathButtons

        protected void createPathButtons(org.eclipse.swt.widgets.Composite pathButtonComp)
        Overrides:
        createPathButtons in class org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab
      • createControl

        public void createControl(org.eclipse.swt.widgets.Composite parent)
        Specified by:
        createControl in interface org.eclipse.debug.ui.ILaunchConfigurationTab
        Overrides:
        createControl in class org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab
      • addExtraJarFile

        protected java.util.List<java.lang.String> addExtraJarFile(java.util.List<java.lang.String> mementos)
                                                            throws org.eclipse.core.runtime.CoreException
        Adds path entries to the classpath that is generated when a new launch configuration is created. This method is called by JavaClasspathTab.initializeFrom(ILaunchConfiguration).
        Throws:
        org.eclipse.core.runtime.CoreException - if there is a failure in the platform.
        Parameters:
        mementos - A list containing the classpath entries to be set.

© Copyright IBM Corp. 1987, 2017