com.ibm.rational.test.lt.testeditor.common

Class ContentVpUI

    • Method Detail

      • createButtonBar

        protected void createButtonBar(Composite parent)
        Parameters:
        parent -
      • doRemove

        protected void doRemove(VPString vps)
      • doDuplicate

        protected VPString doDuplicate()
      • doEdit

        protected void doEdit(VPString vps)
      • enableEditSection

        protected void enableEditSection(boolean enable,
                             VPString vps)
      • createEditPart

        protected void createEditPart(Composite parent)
        Parameters:
        parent -
      • doAdvanced

        protected void doAdvanced()
      • doOk

        protected void doOk()
      • doCancel

        public void doCancel(SelectionEvent e1)
        Parameters:
        e1 - SelectionEvent
      • createPopupMenu

        protected void createPopupMenu()
      • fillPopupMenu

        protected void fillPopupMenu(IMenuManager manager)
        Parameters:
        manager -
      • setCheckIndicators

        protected void setCheckIndicators(Object[] affectedItems)
        Parameters:
        affectedItems -
      • updateEditSection

        protected void updateEditSection(ISelection selection)
        Parameters:
        selection -
      • saveState

        protected void saveState()
      • updateButtonsSection

        protected void updateButtonsSection(TableTreeItem item)
        Parameters:
        item -
      • updateVerificationPoint

        protected boolean updateVerificationPoint(List affectedItems)
        Parameters:
        affectedItems -
      • toModel

        public VPString toModel(VPString uiVps)
        Parameters:
        uiVps -
        Returns:
        VPString
      • updateCheckState

        protected List updateCheckState(TableTreeItem item)
        This method is called when user clicks on the checkbox. There are two cases here: 1. The VPString is clicked When string is clicked, the entire category must be updated. a. If all or none the string in the category are checked, the the category must be un-grayed. b. If some strings are checked then the category must be grayed. c. If some or all strings are checked, then the category must be checked. d. If none of the strings are checked, then the category must be un-checked. 2. The Category is clicked If category is un-checked a. It must be un-grayed and all strings unchecked. If category is checked a. It must be ungrayed and all strings unchecked.
        Returns:
        ArrayList affected VPStrings items that need to be applied to Content VP
      • setContentVp

        public void setContentVp(VPContent vp)
        Parameters:
        vp -
      • refreshCheckedStrings

        protected void refreshCheckedStrings()
      • toHandler

        public VPString toHandler(VPString uiVPS)
        Parameters:
        uiVPS - VPString
        Returns:
        VPString
      • getSelectedStrings

        public VPString[] getSelectedStrings()
      • getBtnAdvanced

        public Button getBtnAdvanced()
      • getBtnCancel

        public Button getBtnCancel()
      • getBtnDupl

        public Button getBtnDupl()
      • getBtnEdit

        public Button getBtnEdit()
      • getBtnNew

        public Button getBtnNew()
      • getBtnOk

        public Button getBtnOk()
      • setCheckedElements

        public void setCheckedElements(Object[] elements)
      • clearUserDefinedStrings

        public static void clearUserDefinedStrings()
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.