use of org.whole.lang.flowchart.builders.FlowchartGenericBuilderAdapter in project whole by wholeplatform.
the class FlowchartLanguageDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addLanguageKit(new FlowchartLanguageKit());
platform.addOperationFactory(FlowchartLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new FlowchartGenericBuilderAdapter((IFlowchartBuilder) strategy, entityContext);
}
});
platform.addOperationFactory(FlowchartLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new FlowchartSpecificBuilderAdapter(strategy, entityContext);
}
});
platform.addEditorKit(FlowchartFreeformEditorKit.ID);
}
Aggregations