Changeset 10162 for ossiedev/trunk/tools/wavedash/src/ComponentModel.py
- Timestamp:
- 07/26/10 12:12:09 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
ossiedev/trunk/tools/wavedash/src/ComponentModel.py
r10143 r10162 117 117 if (prpRef is not None): 118 118 if prpRef.corbaObj is None: 119 prpRef.corbaObj = newprp 119 prpRef.corbaObj = newprp 120 120 else: 121 #print "setting old corbaObj to " + str(newprp.value._v) 121 122 prpRef.setValue(newprp.value._v) 122 123 … … 128 129 #storing the old value in a temp varaible to revert the changes if configure() fails. 129 130 curVal = prpRef.getValue() 131 130 132 prpRef.setValue(newVal) 131 133 #configure() method expects the argument to be passed as a LIST object. … … 134 136 utilRef = self.controller.getUtilRef() 135 137 138 136 139 status = utilRef.configure(self.parent.getName(), self.name, prpList) 137 138 140 if status is False: 139 141 prpRef.setValue(curVal) … … 199 201 200 202 widget = controller.getDefaultWidget(type) 203 204 201 205 newProp = Property(self, id, name, type, mode, desc, value, 202 206 range, kindType, actionType, widget, prf_file)