Changeset 1101 for trunk/autoquest-ui-swt/src/main
- Timestamp:
- 02/20/13 14:37:21 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-ui-swt/src/main/java/de/ugoe/cs/autoquest/ui/swt/GenerateSequencesDialog.java
r927 r1101 25 25 import org.eclipse.swt.widgets.Spinner; 26 26 import org.eclipse.swt.widgets.Label; 27 import org.eclipse.ui.forms.widgets.FormToolkit;28 27 import org.eclipse.swt.layout.GridLayout; 29 28 import org.eclipse.swt.layout.GridData; … … 47 46 protected Shell shlGenerateSequences; 48 47 private Text sequencesNameText; 49 private final FormToolkit formToolkit = new FormToolkit(Display.getDefault());50 48 51 49 /** … … 158 156 maxLengthSpinner.setToolTipText("0 means no limitations"); 159 157 maxLengthSpinner.setMinimum(1); 160 161 Button btnGenerate = formToolkit.createButton(shlGenerateSequences, "Generate!", SWT.NONE); 158 159 Button btnGenerate = new Button(shlGenerateSequences, SWT.NONE); 160 btnGenerate.setText("Generate!"); 162 161 btnGenerate.addSelectionListener(new SelectionAdapter() { 163 162 @Override … … 213 212 }); 214 213 215 Button btnAbort = formToolkit.createButton(shlGenerateSequences, "Abort", SWT.NONE); 214 Button btnAbort = new Button(shlGenerateSequences, SWT.NONE); 215 btnAbort.setText("Abort"); 216 216 btnAbort.addSelectionListener(new SelectionAdapter() { 217 217 @Override
Note: See TracChangeset
for help on using the changeset viewer.