use of org.whole.lang.grammars.builders.GrammarsGenericBuilderAdapter in project whole by wholeplatform.
the class GrammarsLanguageDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addLanguageKit(new GrammarsLanguageKit());
platform.addOperationFactory(GrammarsLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new GrammarsGenericBuilderAdapter((IGrammarsBuilder) strategy, entityContext);
}
});
platform.addOperationFactory(GrammarsLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new GrammarsSpecificBuilderAdapter(strategy, entityContext);
}
});
}
Aggregations