use of org.whole.lang.editors.builders.EditorsGenericBuilderAdapter in project whole by wholeplatform.
the class EditorsLanguageDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addLanguageKit(new EditorsLanguageKit());
platform.addOperationFactory(EditorsLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new EditorsGenericBuilderAdapter((IEditorsBuilder) strategy, entityContext);
}
});
platform.addOperationFactory(EditorsLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new EditorsSpecificBuilderAdapter(strategy, entityContext);
}
});
}
Aggregations