Examples of reconcileInstantly()


Examples of org.jboss.ide.eclipse.freemarker.editor.Editor.reconcileInstantly()

    IEditorPart part = WorkbenchUtils.openEditor(TEST_EDITOR_PROJECT + IPath.SEPARATOR + MACRO_TXT_FTL);
    assertEquals(FreemarkerMultiPageEditor.class, part.getClass());
    FreemarkerMultiPageEditor multiEditor = (FreemarkerMultiPageEditor) part;
    Editor editor = multiEditor.getEditor();
    editor.reconcileInstantly();
    OutlinePage outline = editor.getOutlinePage();
    TreeItem[] items = outline.getTreeViewer().getTree().getItems();
    assertEquals(4, items.length);
    int i = 0;
    assertEquals(MacroDirective.class, items[i++].getData().getClass());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.