Changeset 658 for trunk/quest-ui-swt/src/main/java/de/ugoe/cs/quest
- Timestamp:
- 08/28/12 09:58:46 (12 years ago)
- Location:
- trunk/quest-ui-swt/src/main/java/de/ugoe/cs/quest/ui/swt
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-ui-swt/src/main/java/de/ugoe/cs/quest/ui/swt/DataTabComposite.java
r655 r658 110 110 public void updateDataList() { 111 111 dataList.removeAll(); 112 for (String sequencesName: GlobalDataContainer.getInstance().getAllKeys()) {113 dataList.add( sequencesName);112 for (String key : GlobalDataContainer.getInstance().getAllKeys()) { 113 dataList.add(key + " (" + GlobalDataContainer.getInstance().getData(key).getClass().toString() + ")"); 114 114 } 115 115 } -
trunk/quest-ui-swt/src/main/java/de/ugoe/cs/quest/ui/swt/MainWindow.java
r655 r658 35 35 protected TabItem sequencesTab; 36 36 protected TabItem modelsTab; 37 protected TabItem guiModelsTab; 37 38 protected TabItem dataTab; 38 39 protected ConsoleTabComposite consoleTabComposite; 39 40 protected SequencesTabComposite sequencesTabComposite; 40 41 protected ModelsTabComposite modelsTabComposite; 42 protected GuiModelTabComposite guiModelTabComposite; 41 43 protected DataTabComposite dataTabComposite; 42 44 … … 198 200 modelsTabComposite.updateModelList(); 199 201 } 202 else if (e.item == guiModelsTab) { 203 guiModelTabComposite.updateModelList(); 204 } 200 205 else if (e.item == dataTab) { 201 206 dataTabComposite.updateDataList(); … … 222 227 modelsTabComposite = new ModelsTabComposite(tabFolder, SWT.NO_BACKGROUND); 223 228 modelsTab.setControl(modelsTabComposite); 229 230 guiModelsTab = new TabItem(tabFolder, SWT.NONE); 231 guiModelsTab.setText("GUI Models"); 232 233 guiModelTabComposite = new GuiModelTabComposite(tabFolder, SWT.NO_BACKGROUND); 234 guiModelsTab.setControl(guiModelTabComposite); 224 235 225 236 dataTab = new TabItem(tabFolder, SWT.NONE);
Note: See TracChangeset
for help on using the changeset viewer.