uidesigner/com.nokia.sdt.component.symbian.test/data/modelUpdaterTest/script_updater.js
Add temporary "USB (TCF)" connection type for accessing the target-side Symbian TCF agent.
function CModelUpdater() {
}
CModelUpdater.prototype.updateModel = function(instance, dataModel) {
var newObject = dataModel.createNewComponentInstance(instance.parent.component);
var command = dataModel.createAddNewComponentInstanceCommand(instance.EObject, newObject, 0);
if (command.canExecute()) {
command.execute();
}
}