Changeset 2183 for trunk/autoquest-ui-swt/src
- Timestamp:
- 11/24/17 12:09:47 (7 years ago)
- Location:
- trunk/autoquest-ui-swt/src/main/java/de/ugoe/cs/autoquest/ui/swt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-ui-swt/src/main/java/de/ugoe/cs/autoquest/ui/swt/ShowTaskTreeDialog.java
r2160 r2183 294 294 @Override 295 295 public void widgetSelected(SelectionEvent e) { 296 if (rightHandLayout == null) { 297 return; 298 } 299 296 300 if (tabFolder.getSelectionIndex() == 0) { 297 301 // task instances tab selected -
trunk/autoquest-ui-swt/src/main/java/de/ugoe/cs/autoquest/ui/swt/ShowUsabilityEvaluationResultDialog.java
r2168 r2183 174 174 smellList.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1)); 175 175 smellList.setHeaderVisible(true); 176 smellList.setLinesVisible(true);177 178 TreeColumn treeColumn = new TreeColumn(smellList, SWT. NONE);179 treeColumn.setWidth( 200);176 //smellList.setLinesVisible(true); 177 178 TreeColumn treeColumn = new TreeColumn(smellList, SWT.HORIZONTAL); 179 treeColumn.setWidth(300); 180 180 treeColumn.setText("smells"); 181 181 … … 194 194 clearSmellDetails(); 195 195 } 196 197 VisualizationUtils.updateColumnWidths(smellList); 196 198 } 197 199 }); 200 198 201 199 202 SashForm detailsSashForm = new SashForm(mainSashForm, SWT.VERTICAL); … … 478 481 ensureChildren((TreeItem) event.item); 479 482 ((TreeItem) event.item).setExpanded(true); 483 VisualizationUtils.updateColumnWidths(smellList); 480 484 } 481 485 }); -
trunk/autoquest-ui-swt/src/main/java/de/ugoe/cs/autoquest/ui/swt/VisualizationUtils.java
r2168 r2183 369 369 */ 370 370 static void expandAll(Tree tree, boolean expanded) { 371 tree.setRedraw(false); 372 371 373 for (TreeItem item : tree.getItems()) { 372 374 expandAll(item, expanded, Integer.MAX_VALUE); 373 375 } 376 377 tree.setRedraw(true); 374 378 } 375 379
Note: See TracChangeset
for help on using the changeset viewer.