Changeset 1084 for trunk/autoquest-core-events/src/main
- Timestamp:
- 02/18/13 09:30:13 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/guimodel/GUIElementTree.java
r1068 r1084 126 126 * @param guiElementSpec 127 127 * the GUI element specification 128 * 129 * @throws GUIModelException if the GUI element can not be added to the underlying GUI model 128 130 */ 129 131 public void add(T guiElementID, 130 132 T parentID, 131 133 IGUIElementSpec guiElementSpec) 134 throws GUIModelException 132 135 { 133 136 IGUIElement guiElement = guiElements.get(guiElementID); … … 158 161 } 159 162 160 try { 161 guiElement = guiModel.integratePath(guiElementPath, guiElementFactory); 162 } 163 catch (GUIModelException e) { 164 throw new RuntimeException("could not instantiate GUI element with id " + guiElementID, e); 165 } 163 guiElement = guiModel.integratePath(guiElementPath, guiElementFactory); 166 164 guiElements.put(guiElementID, guiElement); 167 165 }
Note: See TracChangeset
for help on using the changeset viewer.