Changeset 666 for trunk/quest-ui-swt/src/main/java/de/ugoe/cs/quest
- Timestamp:
- 08/28/12 13:46:52 (12 years ago)
- Location:
- trunk/quest-ui-swt/src/main/java/de/ugoe/cs/quest/ui/swt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-ui-swt/src/main/java/de/ugoe/cs/quest/ui/swt/GuiModelTabComposite.java
r658 r666 85 85 public void updateModelList() { 86 86 guiModelList.removeAll(); 87 for (String modelName : GlobalDataContainer.getInstance().getAllGUIModelNames()) { 88 guiModelList.add(modelName); 87 for(String key : GlobalDataContainer.getInstance().getAllKeys()) { 88 if( GlobalDataContainer.getInstance().getData(key) instanceof GUIModel ) { 89 guiModelList.add(key); 90 } 89 91 } 90 92 } -
trunk/quest-ui-swt/src/main/java/de/ugoe/cs/quest/ui/swt/ModelsTabComposite.java
r655 r666 150 150 public void updateModelList() { 151 151 modelList.removeAll(); 152 for (String sequencesName : GlobalDataContainer.getInstance().getAllModelNames()) { 153 modelList.add(sequencesName); 152 for(String key : GlobalDataContainer.getInstance().getAllKeys()) { 153 if( GlobalDataContainer.getInstance().getData(key) instanceof IStochasticProcess ) { 154 modelList.add(key); 155 } 154 156 } 155 157 } -
trunk/quest-ui-swt/src/main/java/de/ugoe/cs/quest/ui/swt/SequencesTabComposite.java
r655 r666 13 13 import org.eclipse.swt.events.SelectionEvent; 14 14 15 import de.ugoe.cs.quest.SequenceInstanceOf; 15 16 import de.ugoe.cs.quest.ui.GlobalDataContainer; 16 17 import de.ugoe.cs.util.console.CommandExecuter; … … 129 130 public void updateSequenceList() { 130 131 sequenceList.removeAll(); 131 for (String sequencesName : GlobalDataContainer.getInstance().getAllSequencesNames()) { 132 sequenceList.add(sequencesName); 132 for(String key : GlobalDataContainer.getInstance().getAllKeys()) { 133 if( SequenceInstanceOf.isCollectionOfSequences(GlobalDataContainer.getInstance().getData(key)) ) { 134 sequenceList.add(key); 135 } 133 136 } 134 137 }
Note: See TracChangeset
for help on using the changeset viewer.