return new AddAssociationFeature(this);
} else if (context.getNewObject() instanceof UserTask) {
if(context.getNewObject() instanceof AlfrescoUserTask) {
return new AddAlfrescoUserTaskFeature(this);
} else {
return new AddUserTaskFeature(this);
}
} else if (context.getNewObject() instanceof ManualTask) {
return new AddManualTaskFeature(this);
} else if (context.getNewObject() instanceof ReceiveTask) {
return new AddReceiveTaskFeature(this);