use of org.whole.lang.workflows.visitors.WorkflowsIDEContentAssistVisitor in project whole by wholeplatform.
the class IDEOperationsDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addOperationFactory(WorkflowsLanguageKit.URI, InterpreterOperation.ID, new IVisitorFactory() {
public IVisitor create(IOperation operation, int stage) {
if (stage == 0)
return new WorkflowsIDEInterpreterVisitor();
else
return null;
}
});
platform.addOperationFactory(WorkflowsLanguageKit.URI, ContentAssistOperation.ID, new IVisitorFactory() {
public IVisitor create(IOperation operation, int stage) {
return new WorkflowsIDEContentAssistVisitor();
}
});
new JavaReflectLibraryDeployer().deploy(platform);
}
Aggregations