return super.getCommand(request);
}
protected Command getExplicitChannelCommand() {
StructuredActivity parent = (StructuredActivity) getHost().getParent().getModel();
ImplicitChannelModelElement channel = (ImplicitChannelModelElement) getHost().getModel();
CreateExplicitChannelCommand command = new CreateExplicitChannelCommand(parent.getDiagram().getTextEditor());
command.setParent(parent);
command.setChannel(channel);
return command;
}