}
private AbstractTask createTask(String nodeKind, CompositeCheatSheetModel model, String kind, String id, String name) {
AbstractTask task;
if (ICompositeCheatsheetTags.TASK_GROUP.equals(nodeKind)) {
task = new TaskGroup(model, id, name, kind);
} else {
task = new EditableTask(model, id, name, kind);
}
task.setCompletionMessage(Messages.COMPLETED_TASK);
return task;