String typeName = getFullyQualifiedName(typeItem);
// using the CAS to get all the inherited features
Type type = editor.getCurrentView().getTypeSystem().getType(typeName);
AddCapabilityFeatureDialog dialog = new AddCapabilityFeatureDialog(this, type, c);
if (dialog.open() == Window.CANCEL)
return;
addOrEditFeature(dialog, typeName, typeItem, c);
break;
}