use of org.eclipse.xtext.ui.editor.outline.impl.OutlineFilterAndSorter in project xtext-eclipse by eclipse.
the class OutlineFilterAndSorterTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
final Injector injector = TestsActivator.getInstance().getInjector("org.eclipse.xtext.ui.tests.editor.outline.OutlineTestLanguage");
with(new ISetup() {
@Override
public Injector createInjectorAndDoEMFRegistration() {
return injector;
}
});
Model model = OutlineTestFactory.eINSTANCE.createModel();
nodes = Lists.newArrayList();
nodes.add(new EObjectNode(model, null, (ImageDescriptor) null, "one", true));
nodes.add(new EObjectNode(model, null, (ImageDescriptor) null, "two", true));
nodes.add(new EObjectNode(model, null, (ImageDescriptor) null, "three", true));
filterAndSorter = new OutlineFilterAndSorter();
}
Aggregations