use of org.whole.lang.frames.builders.FramesGenericBuilderAdapter in project whole by wholeplatform.
the class FramesLanguageDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addLanguageKit(new FramesLanguageKit());
platform.addOperationFactory(FramesLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new FramesGenericBuilderAdapter((IFramesBuilder) strategy, entityContext);
}
});
platform.addOperationFactory(FramesLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new FramesSpecificBuilderAdapter(strategy, entityContext);
}
});
}
Aggregations