Package info.cukes.editor.partition

Examples of info.cukes.editor.partition.CucumberPartitionScanner


public class FeatureDocumentProvider extends FileDocumentProvider {

    protected IDocument createDocument(Object element) throws CoreException {
        IDocument document = super.createDocument(element);
        if (document != null) {
            IDocumentPartitioner partitioner = new FastPartitioner(new CucumberPartitionScanner(), new String[] {
                CucumberPartitionScanner.COMMENT, CucumberPartitionScanner.TAG, CucumberPartitionScanner.SCENARIO,
                CucumberPartitionScanner.FEATURE});
            partitioner.connect(document);
            document.setDocumentPartitioner(partitioner);
        }
View Full Code Here


            info = createEmptyFileInfo();
        }
        IDocument document = info.fTextFileBuffer.getDocument();
        if (document != null) {

            IDocumentPartitioner partitioner = new FastPartitioner(new CucumberPartitionScanner(), new String[] {
                CucumberPartitionScanner.COMMENT, CucumberPartitionScanner.TAG, CucumberPartitionScanner.SCENARIO,
                CucumberPartitionScanner.FEATURE});
            partitioner.connect(document);
            document.setDocumentPartitioner(partitioner);
        }
View Full Code Here

TOP

Related Classes of info.cukes.editor.partition.CucumberPartitionScanner

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.