Package org.jitterbit.integration.client.ui.script.builder

Examples of org.jitterbit.integration.client.ui.script.builder.ExpressionScanner$Publisher


    }

    private ExpressionScanner createExpressionScanner() {
        ExpressionScannerBuilder builder = new ExpressionScannerBuilder(treeMapper.m_sourceTreeComponent, exprSource,
                        scriptModel.getProject().getGlobalDataElements(), scriptBuilder, expressionParser);
        ExpressionScanner scanner = builder.buildScanner();
        scanner.install(getExpressionArea().getTextPane());
        return scanner;
    }
View Full Code Here


        defaultCtx.addAdditionalContext(variableCtx);
    }

    private void installScriptScanner(GlobalDataElements des) {
        ExpressionParser parser = new ExpressionParser(script);
        ExpressionScanner scanner = new ExpressionScanner(script, des, parser) {

            @Override
            protected String getExpression() {
                return scriptBuilder.getExpression();
            }
        };
        // HACK: Copied and pasted from ScriptPanel
        scanner.setScriptBuilderModel(scriptBuilder.getModel());
        ScriptTestUi debugUi = scriptBuilder.getDebugUi();
        if (debugUi != null) {
            scanner.setDebugModel(debugUi.getModel());
        }
        scanner.install(scriptBuilder.getExpressionArea().getTextPane());
    }
View Full Code Here

    }

    private void installScriptScanner() {
        ExpressionSource source = getDisplayedObject();
        ExpressionParser parser = new ExpressionParser(source);
        ExpressionScanner scanner = new ExpressionScanner(source, project.getGlobalDataElements(), parser) {

            @Override
            protected String getExpression() {
                return builder.getExpression();
            }
        };
        scanner.setScriptBuilderModel(builder.getModel());
        ScriptTestUi debugUi = builder.getDebugUi();
        if (debugUi != null) {
            scanner.setDebugModel(debugUi.getModel());
        }
        scanner.install(builder.getExpressionArea().getTextPane());
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.ui.script.builder.ExpressionScanner$Publisher

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.