Search in sources :

Example 1 with CommonsUIContentAssistVisitor

use of org.whole.lang.commons.ui.visitors.CommonsUIContentAssistVisitor in project whole by wholeplatform.

the class CommonsUIDeployer method deploy.

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

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

Aggregations

CommonsUIContentAssistVisitor (org.whole.lang.commons.ui.visitors.CommonsUIContentAssistVisitor)1 IOperation (org.whole.lang.operations.IOperation)1 IVisitor (org.whole.lang.visitors.IVisitor)1 IVisitorFactory (org.whole.lang.visitors.IVisitorFactory)1