public class ContentVpUI extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ContentVpUI.ShowCategoryAction |
| Constructor and Description |
|---|
ContentVpUI(Composite parent,
ExtLayoutProvider provider,
boolean inline) |
public ContentVpUI(Composite parent, ExtLayoutProvider provider, boolean inline)
public static ContentVpUI create(Composite parent, ExtLayoutProvider provider, boolean inline)
protected void createButtonBar(Composite parent)
parent - protected void doRemove(VPString vps)
protected VPString doDuplicate()
protected VPString doNew()
protected void doEdit(VPString vps)
protected void enableEditSection(boolean enable,
VPString vps)
protected void createEditPart(Composite parent)
parent - protected void doAdvanced()
protected void doOk()
public void doCancel(SelectionEvent e1)
e1 - SelectionEventprotected void createPopupMenu()
protected void fillPopupMenu(IMenuManager manager)
manager - protected void setCheckIndicators(Object[] affectedItems)
affectedItems - protected void updateEditSection(ISelection selection)
selection - protected void saveState()
protected void updateButtonsSection(TableTreeItem item)
item - protected boolean updateVerificationPoint(List affectedItems)
affectedItems - protected List updateCheckState(TableTreeItem item)
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.public void setContentVp(VPContent vp)
vp - protected void refreshCheckedStrings()
public VPString[] getSelectedStrings()
public Button getBtnAdvanced()
public Button getBtnCancel()
public Button getBtnDupl()
public Button getBtnEdit()
public Button getBtnNew()
public Button getBtnOk()
public void setCheckedElements(Object[] elements)
public static void clearUserDefinedStrings()
public TableTree getTableTree()
public void setSelection(ISelection selection, boolean reveal)
© Copyright IBM Corp. 2016. All rights reserved.