Search in sources :

Example 1 with UnifiedLambdaDeltaGenericBuilderAdapter

use of org.whole.lang.unifiedlambdadelta.builders.UnifiedLambdaDeltaGenericBuilderAdapter in project whole by wholeplatform.

the class UnifiedLambdaDeltaLanguageDeployer method deploy.

public void deploy(ReflectionFactory platform) {
    platform.addLanguageKit(new UnifiedLambdaDeltaLanguageKit());
    platform.addOperationFactory(UnifiedLambdaDeltaLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {

        public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
            return new UnifiedLambdaDeltaGenericBuilderAdapter((IUnifiedLambdaDeltaBuilder) strategy, entityContext);
        }
    });
    platform.addOperationFactory(UnifiedLambdaDeltaLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {

        public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
            return new UnifiedLambdaDeltaSpecificBuilderAdapter(strategy, entityContext);
        }
    });
    platform.addEditorKit(UnifiedLambdaDeltaTextualEditorKit.ID);
}
Also used : IBuilder(org.whole.lang.builders.IBuilder) IUnifiedLambdaDeltaBuilder(org.whole.lang.unifiedlambdadelta.builders.IUnifiedLambdaDeltaBuilder) IEntityContext(org.whole.lang.contexts.IEntityContext) IBuilderFactory(org.whole.lang.builders.IBuilderFactory) UnifiedLambdaDeltaGenericBuilderAdapter(org.whole.lang.unifiedlambdadelta.builders.UnifiedLambdaDeltaGenericBuilderAdapter) UnifiedLambdaDeltaSpecificBuilderAdapter(org.whole.lang.unifiedlambdadelta.builders.UnifiedLambdaDeltaSpecificBuilderAdapter)

Aggregations

IBuilder (org.whole.lang.builders.IBuilder)1 IBuilderFactory (org.whole.lang.builders.IBuilderFactory)1 IEntityContext (org.whole.lang.contexts.IEntityContext)1 IUnifiedLambdaDeltaBuilder (org.whole.lang.unifiedlambdadelta.builders.IUnifiedLambdaDeltaBuilder)1 UnifiedLambdaDeltaGenericBuilderAdapter (org.whole.lang.unifiedlambdadelta.builders.UnifiedLambdaDeltaGenericBuilderAdapter)1 UnifiedLambdaDeltaSpecificBuilderAdapter (org.whole.lang.unifiedlambdadelta.builders.UnifiedLambdaDeltaSpecificBuilderAdapter)1