Changeset 1261 for trunk/autoquest-ui-swt
- Timestamp:
- 07/25/13 14:46:42 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-ui-swt/src/main/java/de/ugoe/cs/autoquest/ui/swt/ShowGuiModelDialog.java
r1088 r1261 191 191 192 192 // update visualization of the model 193 firstParent.removeAll(); 194 buildGuiTree(firstParent, model.getTraverser((IGUIElement) firstParent.getData())); 195 firstParent.setExpanded(true); 193 if (firstParent != null) { 194 firstParent.removeAll(); 195 buildGuiTree(firstParent, model.getTraverser((IGUIElement) firstParent.getData())); 196 firstParent.setExpanded(true); 197 } 198 else { 199 guiTree.removeAll(); 200 buildGuiTree(); 201 } 196 202 } 197 203
Note: See TracChangeset
for help on using the changeset viewer.