CreateViewRequest.ViewDescriptor viewDescriptor = new CreateViewRequest.ViewDescriptor(
new EObjectAdapter(selectedElement), Node.class, null,
CismodelDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT);
ICommand command = new CreateCommand(editingDomain, viewDescriptor,
view);
command = command.compose(new CismodelCreateShortcutDecorationsCommand(
editingDomain, view, viewDescriptor));
try {
OperationHistoryFactory.getOperationHistory().execute(command,
new NullProgressMonitor(), null);
} catch (ExecutionException e) {