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

Class DVSMainTab<T>

  • java.lang.Object
    • org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      • ilog.rules.studio.dvs.ui.execution.tabgroup.DVSMainTab<T>
  • All Implemented Interfaces:
    ilog.rules.studio.dvs.ui.execution.tabgroup.block.RulesetSourceBlock<T>, RulesetSourceChangeListener, org.eclipse.debug.ui.ILaunchConfigurationTab
    Direct Known Subclasses:
    IlrDVSMainTab


    public abstract class DVSMainTab<T>
    extends org.eclipse.debug.ui.AbstractLaunchConfigurationTab
    implements ilog.rules.studio.dvs.ui.execution.tabgroup.block.RulesetSourceBlock<T>, RulesetSourceChangeListener
    An instance is used in each DVS launch configuration. This tab is used to specify:
    • The rule project
    • The output path for the report
    • How to retrieve custom data

    This class must be subclassed when you implement a custom DVS launcher.

    Since:
    JRules 7.0
    • Constructor Summary

      Constructors 
      Constructor and Description
      DVSMainTab() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void createControl(org.eclipse.swt.widgets.Composite parent) 
      protected abstract ilog.rules.studio.dvs.ui.execution.tabgroup.block.IlrDVSMainTabSourceBlock<T> createSourceBlock() 
      protected java.lang.String getAbsolutePath(java.lang.String fullpath) 
      java.lang.String getErrorMessage() 
      java.lang.String getMessage() 
      protected ilog.rules.studio.dvs.ui.execution.tabgroup.block.IlrDVSMainTabOutputBlock getOutputBlock() 
      T getRulesetSource() 
      protected ilog.rules.studio.dvs.ui.execution.tabgroup.block.IlrDVSMainTabSourceBlock<T> getSourceBlock() 
      protected ilog.rules.studio.dvs.ui.execution.tabgroup.block.IlrWorkingDirectoryBlock getWorkingDirectoryBlock() 
      protected void initializeFileFrom(org.eclipse.debug.core.ILaunchConfiguration configuration, java.lang.String attribute, org.eclipse.swt.widgets.Text field) 
      void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration) 
      boolean isValid(org.eclipse.debug.core.ILaunchConfiguration configuration) 
      void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) 
      void rulesetSourceChanged(org.eclipse.core.runtime.IPath rulesetSourcePath) 
      void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) 
      void setLaunchConfigurationDialog(org.eclipse.debug.ui.ILaunchConfigurationDialog dialog) 
      • Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

        activated, canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, deactivated, dispose, getControl, getId, getImage, getLaunchConfigurationDialog, getLaunchManager, getShell, getUpdateJobDelay, isDirty, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setMessage, 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

        getName
    • Constructor Detail

      • DVSMainTab

        public DVSMainTab()
    • Method Detail

      • createSourceBlock

        protected abstract ilog.rules.studio.dvs.ui.execution.tabgroup.block.IlrDVSMainTabSourceBlock<T> createSourceBlock()
      • createControl

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

        public void setLaunchConfigurationDialog(org.eclipse.debug.ui.ILaunchConfigurationDialog dialog)
        Specified by:
        setLaunchConfigurationDialog in interface org.eclipse.debug.ui.ILaunchConfigurationTab
        Overrides:
        setLaunchConfigurationDialog in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      • 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
      • setDefaults

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

        protected void initializeFileFrom(org.eclipse.debug.core.ILaunchConfiguration configuration,
                              java.lang.String attribute,
                              org.eclipse.swt.widgets.Text field)
      • getAbsolutePath

        protected java.lang.String getAbsolutePath(java.lang.String fullpath)
                                            throws org.eclipse.core.runtime.CoreException
        Throws:
        org.eclipse.core.runtime.CoreException
      • isValid

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

        public java.lang.String getErrorMessage()
        Specified by:
        getErrorMessage in interface org.eclipse.debug.ui.ILaunchConfigurationTab
        Overrides:
        getErrorMessage in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      • getMessage

        public java.lang.String getMessage()
        Specified by:
        getMessage in interface org.eclipse.debug.ui.ILaunchConfigurationTab
        Overrides:
        getMessage in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      • getRulesetSource

        public T getRulesetSource()
        Specified by:
        getRulesetSource in interface ilog.rules.studio.dvs.ui.execution.tabgroup.block.RulesetSourceBlock<T>
      • getSourceBlock

        protected ilog.rules.studio.dvs.ui.execution.tabgroup.block.IlrDVSMainTabSourceBlock<T> getSourceBlock()
      • getOutputBlock

        protected ilog.rules.studio.dvs.ui.execution.tabgroup.block.IlrDVSMainTabOutputBlock getOutputBlock()
      • getWorkingDirectoryBlock

        protected ilog.rules.studio.dvs.ui.execution.tabgroup.block.IlrWorkingDirectoryBlock getWorkingDirectoryBlock()

© Copyright IBM Corp. 1987, 2017