Package com.dubture.twig.core.model

Examples of com.dubture.twig.core.model.TwigModelAccess


    {

        try {

            FilterContext ctx = (FilterContext) getContext();
            TwigModelAccess model = TwigModelAccess.getDefault();

            String prefix = ctx.getPrefix();
            SourceRange range = getReplacementRange(getContext());

            Filter[] filters = model.getFilters(ctx.getSourceModule()
                    .getScriptProject());

            for (Filter filter : filters) {
                if (CodeAssistUtils.startsWithIgnoreCase(
                        filter.getElementName(), prefix)) {
View Full Code Here


    {

        try {

            FunctionContext ctx = (FunctionContext) getContext();
            TwigModelAccess model = TwigModelAccess.getDefault();

            String prefix = ctx.getPrefix();
            SourceRange range = getReplacementRange(getContext());

            Function[] functions = model.getFunctions(ctx.getSourceModule()
                    .getScriptProject());

            for (Function function : functions) {
                if (CodeAssistUtils.startsWithIgnoreCase(
                        function.getElementName(), prefix)) {
View Full Code Here

TOP

Related Classes of com.dubture.twig.core.model.TwigModelAccess

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.