changing text of tree items [message #1450890] |
Thu, 23 October 2014 03:16 |
charlie schindler Messages: 28 Registered: June 2014 |
Junior Member |
|
|
i have a handler class which needs to set text of the tree items in the GUI.
the tree is like
> expandable treeitem
- treeitem 1
- treeitem 2
i want to change the text of "expandable treeItem", "treeitem 1", ....
this seems not to work:
TreeItem clusterItem = selectedForm.getTreeWidget().getTopItem();
clusterItem.setText("gaga");
the clusterItem is set, but not changed
selectedForm is an instanceOf dialog, the GUI i want to change the text.
The tree widget is exposed so i can access it from my handler class
see attachments
what do i do wrong?
[Updated on: Mon, 27 October 2014 04:32] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03039 seconds