Package at.bestsolution.efxclipse.text.test.app.sample

Examples of at.bestsolution.efxclipse.text.test.app.sample.JavaSourceViewerConfiguration


//    mainPane.setCenter(createSourceViewerPane(new File("/Users/tomschindl/git/e-fx-clipse/at.bestsolution.efxclipse.text.test.app/sample/Grid.java")));
   
    IDocument document = new Document(getFileContent(new File("/Users/tomschindl/git/e-fx-clipse/at.bestsolution.efxclipse.text.test.app/sample/Grid.java")));
    final SourceViewer viewer = new SourceViewer();
    JavaTextTools textTools = new JavaTextTools();
    viewer.configure(new JavaSourceViewerConfiguration(textTools));
   
    textTools.setupJavaDocumentPartitioner(document, IJavaPartitions.JAVA_PARTITIONING);
    viewer.setDocument(document);
    mainPane.setCenter(viewer.getLayoutNode());
   
View Full Code Here

TOP

Related Classes of at.bestsolution.efxclipse.text.test.app.sample.JavaSourceViewerConfiguration

Copyright © 2018 www.massapicom. 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.