/**
* @generated
*/
protected CommandResult doExecuteWithResult(IProgressMonitor monitor,
IAdaptable info) throws ExecutionException {
EnergyTorpedo newElement = ShipdeviceFactory.eINSTANCE
.createEnergyTorpedo();
Modeler owner = (Modeler) getElementToEdit();
owner.getWeaponDevices().add(newElement);