return new AddAlfrescoMailTaskFeature(this);
} else {
return new AddAlfrescoScriptTaskFeature(this);
}
} else {
return new AddServiceTaskFeature(this);
}
} else if (context.getNewObject() instanceof ScriptTask) {
return new AddScriptTaskFeature(this);
} else if (context.getNewObject() instanceof ExclusiveGateway) {
return new AddExclusiveGatewayFeature(this);