com.ibm.rational.common.test.editor.framework.extensions

Class ModelErrorChecker

  • java.lang.Object
    • com.ibm.rational.common.test.editor.framework.extensions.ModelErrorChecker
  • All Implemented Interfaces:
    com.ibm.rational.common.test.editor.framework.kernel.interfaces.IElementErrorChecker


    public abstract class ModelErrorChecker
    extends Object
    implements com.ibm.rational.common.test.editor.framework.kernel.interfaces.IElementErrorChecker
    • Constructor Detail

      • ModelErrorChecker

        public ModelErrorChecker()
    • Method Detail

      • getTestEditor

        public TestEditor getTestEditor()
        Specified by:
        getTestEditor in interface com.ibm.rational.common.test.editor.framework.kernel.interfaces.IElementErrorChecker
        Returns:
        Returns the testEditor.
      • setTestEditor

        public void setTestEditor(TestEditor testEditor)
        Specified by:
        setTestEditor in interface com.ibm.rational.common.test.editor.framework.kernel.interfaces.IElementErrorChecker
        Parameters:
        testEditor - The testEditor to set.
      • createError

        public IMarker createError(CBActionElement element,
                          String msg)
        Parameters:
        element - CBActionElement
        msg - String
        Returns:
        IMarker marker can be modified to store additional data.
      • createError

        public IMarker createError(CBActionElement element1,
                          CBActionElement element2,
                          String attr_name,
                          String msg)
        Create an error for element and secondary element.
        Parameters:
        element1 - CBActionElement main element (shown in the editor tree
        element2 - CBActionElement secondary element (shown on the details section)
        attr_name - String Field name of the widget that displays the secondary element
        msg - String Error message
        Returns:
        IMarker marker can be modified to store additional data.
      • dispose

        public void dispose()
      • getErrorCheckerJob

        public final com.ibm.rational.common.test.editor.framework.jobs.ErrorCheckerJob getErrorCheckerJob()
      • setErrorCheckerJob

        public final void setErrorCheckerJob(com.ibm.rational.common.test.editor.framework.jobs.ErrorCheckerJob errorCheckerJob)
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.