Search in sources :

Example 1 with ActionsUIContentAssistVisitor

use of org.whole.lang.actions.visitors.ActionsUIContentAssistVisitor in project whole by wholeplatform.

the class ActionsUIDeployer method deploy.

public void deploy(ReflectionFactory platform) {
    platform.addEditorKit(ActionsEditorKit.ID);
    platform.addOperationFactory(ActionsLanguageKit.URI, ContentAssistOperation.ID, new IVisitorFactory() {

        public IVisitor create(IOperation operation, int stage) {
            return new ActionsUIContentAssistVisitor();
        }
    });
}
Also used : IOperation(org.whole.lang.operations.IOperation) ActionsUIContentAssistVisitor(org.whole.lang.actions.visitors.ActionsUIContentAssistVisitor) IVisitor(org.whole.lang.visitors.IVisitor) IVisitorFactory(org.whole.lang.visitors.IVisitorFactory)

Aggregations

ActionsUIContentAssistVisitor (org.whole.lang.actions.visitors.ActionsUIContentAssistVisitor)1 IOperation (org.whole.lang.operations.IOperation)1 IVisitor (org.whole.lang.visitors.IVisitor)1 IVisitorFactory (org.whole.lang.visitors.IVisitorFactory)1