use of org.whole.lang.visitors.IVisitorFactory in project whole by wholeplatform.
the class TestsUIDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addEditorKit(TestsEditorKit.ID);
platform.addOperationFactory(TestsLanguageKit.URI, InterpreterOperation.ID, new IVisitorFactory() {
public IVisitor create(IOperation operation, int stage) {
if (stage == 0)
return new TestsUIInterpreterVisitor();
else
return null;
}
});
}
Aggregations