Search in sources :

Example 1 with QueriesContentAssistVisitor

use of org.whole.lang.queries.visitors.QueriesContentAssistVisitor in project whole by wholeplatform.

the class QueriesUIDeployer method deploy.

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

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

Aggregations

IOperation (org.whole.lang.operations.IOperation)1 QueriesContentAssistVisitor (org.whole.lang.queries.visitors.QueriesContentAssistVisitor)1 IVisitor (org.whole.lang.visitors.IVisitor)1 IVisitorFactory (org.whole.lang.visitors.IVisitorFactory)1