}
@Override
protected Command getCreateCommand(CreateRequest request) {
StructuredActivity parent = (StructuredActivity) getHost().getModel();
EditPartViewer viewer = getHost().getViewer();
CreateCommand command = new CreateCommand(parent.getDiagram().getTextEditor(), viewer);
command.setParent(parent);
Activity child = (Activity) request.getNewObject();
Point location = request.getLocation();
command.setBounds(putActivityAtLocation(child, location));