Changeset 847 for trunk/quest-ui-swt/src/main/java/de/ugoe
- Timestamp:
- 09/21/12 12:12:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-ui-swt/src/main/java/de/ugoe/cs/quest/ui/swt/ShowGuiModelDialog.java
r846 r847 75 75 shell.setText(getText()); 76 76 77 shell.setLayout(new GridLayout( 3, false));77 shell.setLayout(new GridLayout(4, false)); 78 78 79 79 guiTree = new Tree(shell, SWT.BORDER | SWT.MULTI); 80 guiTree.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 3, 1));80 guiTree.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 4, 1)); 81 81 82 82 buildGuiTree(); … … 100 100 btnCollapseAll.setText("Collapse all"); 101 101 102 Button btnCondense = new Button(shell, SWT.NONE); 103 btnCondense.addSelectionListener(new SelectionAdapter() { 104 @Override 105 public void widgetSelected(SelectionEvent e) { 106 model.condenseModel(); 107 guiTree.removeAll(); 108 buildGuiTree(); 109 } 110 }); 111 btnCondense.setText("Condense"); 112 102 113 Button btnMerge = new Button(shell, SWT.NONE); 103 114 btnMerge.addSelectionListener(new SelectionAdapter() { … … 107 118 } 108 119 }); 109 btnMerge.setText("Merge ");120 btnMerge.setText("Merge nodes"); 110 121 111 122 //new Label(shell, SWT.NONE);
Note: See TracChangeset
for help on using the changeset viewer.