use of org.whole.examples.datatypes.redblacktree.builders.RedBlackTreeGenericBuilderAdapter in project whole by wholeplatform.
the class RedBlackTreeLanguageDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addLanguageKit(new RedBlackTreeLanguageKit());
platform.addOperationFactory(RedBlackTreeLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new RedBlackTreeGenericBuilderAdapter((IRedBlackTreeBuilder) strategy, entityContext);
}
});
platform.addOperationFactory(RedBlackTreeLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new RedBlackTreeSpecificBuilderAdapter(strategy, entityContext);
}
});
}
Aggregations