Package com.dubture.twig.ui.editor.highlighter

Examples of com.dubture.twig.ui.editor.highlighter.AbstractSemanticHighlighting


                Collections.sort(highlightings);

                for (Iterator iterator = highlightings.iterator(); iterator
                        .hasNext();) {
                    AbstractSemanticHighlighting abstractSemanticHighlighting = (AbstractSemanticHighlighting) iterator
                            .next();

                    Position[] positions = abstractSemanticHighlighting
                            .consumes(module);

                    if (positions != null && positions.length > 0) {
                        highlightingPositionMap
                                .put(abstractSemanticHighlighting
                                        .getPreferenceKey(), positions);
                    }
                }
            }
View Full Code Here


        for (IConfigurationElement element : elements) {
            String target = element.getAttribute("target");
            if ("com.dubture.twig.core.twigtemplate".equals(target)) {
                final Object o = element.createExecutableExtension("class");
                if (o instanceof AbstractSemanticHighlighting) {
                    AbstractSemanticHighlighting instance = (AbstractSemanticHighlighting) o;
                    rules.add(instance);
                }
            }
        }
        return this;
View Full Code Here

TOP

Related Classes of com.dubture.twig.ui.editor.highlighter.AbstractSemanticHighlighting

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.