use of org.whole.lang.types.builders.ITypesBuilder in project whole by wholeplatform.
the class TypesLanguageDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addLanguageKit(new TypesLanguageKit());
platform.addOperationFactory(TypesLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new TypesGenericBuilderAdapter((ITypesBuilder) strategy, entityContext);
}
});
platform.addOperationFactory(TypesLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new TypesSpecificBuilderAdapter(strategy, entityContext);
}
});
}
Aggregations