Activity ( PropertSheetCategory )
Activity Name
Activity Type
Comment
etc.
Simulation ( PropertSheetCategory )
Input Attachments
Input Message
etc.
Visual ( PropertSheetCategory )
Background Color
Border
etc.
When I run the following code:
- Code: Select all
Display.getDefault().syncExec(new Runnable() {
public void run() {
Tree tree = item.getParent();
TreeItem[] items = tree.getItems();
for (TreeItem treeItem : items)
{
System.out.println("Text: " + treeItem.getText());
}
}
});
Only yields:
Text: Activity
Text: Simulation
Text: Visual
It looks like PropertSheetCategory is not public so I dont have the option to call getItems on it. Additionally, when I call
- Code: Select all
new DebugHelper().printWidgets();
TreeItem {Activity}<HC|11952250>
TreeItem {Activity Name}<HC|13632031>
TreeItem {Activity Type}<HC|3884215>
So my goal is, is to validate that I have several properties present and their default data. Can anyone suggest a workaround to get at the tree items?