Changeset 287 for trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt
- Timestamp:
- 12/09/11 12:55:19 (13 years ago)
- Location:
- trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt/AboutDialog.java ¶
r195 r287 14 14 public class AboutDialog extends Dialog { 15 15 16 protected Object result;17 16 protected Shell shlAboutEventbenchconsole; 18 17 private final FormToolkit formToolkit = new FormToolkit(Display.getDefault()); … … 30 29 /** 31 30 * Open the dialog. 32 * @return the result33 31 */ 34 public Objectopen() {32 public void open() { 35 33 createContents(); 36 34 shlAboutEventbenchconsole.open(); … … 42 40 } 43 41 } 44 return result;45 42 } 46 43 -
TabularUnified trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt/CommandHistoryDialog.java ¶
r226 r287 36 36 37 37 protected List commandHistoryList; 38 protected Object result;39 38 protected Shell shell; 40 39 … … 55 54 /** 56 55 * Open the dialog. 57 * @return the result58 56 */ 59 public Objectopen() {57 public void open() { 60 58 createContents(); 61 59 shell.open(); … … 68 66 } 69 67 } 70 return result;71 68 } 72 69 -
TabularUnified trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt/EditSequenceDialog.java ¶
r230 r287 21 21 public class EditSequenceDialog extends Dialog { 22 22 23 protected Object result;24 23 protected Shell shell; 25 24 private Table table; … … 43 42 /** 44 43 * Open the dialog. 45 * @return the result46 44 */ 47 public Objectopen(java.util.List<Event<?>> sequence) {45 public void open(java.util.List<Event<?>> sequence) { 48 46 this.sequence = sequence; 49 47 createContents(); … … 56 54 } 57 55 } 58 return result;59 56 } 60 57 -
TabularUnified trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt/GenerateSequencesDialog.java ¶
r226 r287 31 31 protected Spinner maxLengthSpinner; 32 32 33 protected Object result;34 33 protected Shell shlGenerateSequences; 35 34 private Text sequencesNameText; … … 48 47 /** 49 48 * Open the dialog. 50 * @return the result51 49 */ 52 public Objectopen() {50 public void open() { 53 51 createContents(); 54 52 shlGenerateSequences.open(); … … 60 58 } 61 59 } 62 return result;63 60 } 64 61 -
TabularUnified trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt/GetObjectNameDialog.java ¶
r192 r287 18 18 String objectName = ""; 19 19 20 protected Object result;21 20 protected Shell shlObjectName; 22 21 private Text text; … … 34 33 /** 35 34 * Open the dialog. 36 * @return the result37 35 */ 38 public Objectopen() {36 public void open() { 39 37 createContents(); 40 38 shlObjectName.open(); … … 46 44 } 47 45 } 48 return result;49 46 } 50 47 -
TabularUnified trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt/ModelPropertiesDialog.java ¶
r195 r287 23 23 private IStochasticProcess process; 24 24 25 protected Object result;26 25 protected Shell shlModelProperties; 27 26 … … 38 37 /** 39 38 * Open the dialog. 40 * @return the result41 39 */ 42 public Objectopen() {40 public void open() { 43 41 createContents(); 44 42 shlModelProperties.open(); … … 50 48 } 51 49 } 52 return result;53 50 } 54 51 -
TabularUnified trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt/SequencesDialog.java ¶
r230 r287 29 29 private SortedSet<String> targets; 30 30 31 protected Object result;32 31 protected Shell shell; 33 32 … … 44 43 /** 45 44 * Open the dialog. 46 * @return the result47 45 */ 48 public Objectopen(String sequencesName) {46 public void open(String sequencesName) { 49 47 this.sequencesName = sequencesName; 50 48 sequences = null; … … 58 56 } 59 57 } 60 return result;61 58 } 62 59 -
TabularUnified trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt/TrainModelDialog.java ¶
r194 r287 1 1 package de.ugoe.cs.eventbench.swt; 2 3 import java.util.Arrays; 2 4 3 5 import org.eclipse.swt.widgets.Dialog; … … 20 22 public class TrainModelDialog extends Dialog { 21 23 22 protected Object result;23 24 protected Shell shlTrainUsageModel; 24 25 … … 48 49 /** 49 50 * Open the dialog. 50 * @return the result51 51 */ 52 public Objectopen() {52 public void open() { 53 53 createContents(); 54 54 shlTrainUsageModel.open(); … … 60 60 } 61 61 } 62 return result;63 62 } 64 63 … … 227 226 228 227 public void setSequenceNames(String[] sequenceNames) { 229 this.sequenceNames = sequenceNames;228 this.sequenceNames = Arrays.copyOf(sequenceNames, sequenceNames.length); 230 229 } 231 230 }
Note: See TracChangeset
for help on using the changeset viewer.