Package org.jitterbit.integration.data.script

Examples of org.jitterbit.integration.data.script.FunctionRegistry


    public JMenu getMenu() {
        return menu;
    }

    private void populateMenu(boolean withInstanceFunctions) {
        FunctionRegistry reg = FunctionRegistry.getRegistry();
        for (FunctionCategory cat : reg.getCategories()) {
            addCategoryMenu(menu, cat, withInstanceFunctions);
        }
    }
View Full Code Here


        ins.setArgumentSuggestions(argSuggestions);
        return ins;
    }

    private FunctionInserter createInserterForBusinessAnalyst(Function f) {
        FunctionRegistry registry = FunctionRegistry.getRegistry();
        FunctionInserter inserter = registry.getFunctionInserter(f);
        if (inserter == null) {
            return createDefaultInserter(f);
        }
        if (inserter instanceof ProjectItemFunctionInserter) {
            ((ProjectItemFunctionInserter) inserter).setProject(project);
View Full Code Here

        return StringUtils.removeEnd(super.lexeme(), "(");
    }

    private static String[] createTokens() {
        List<String> tokens = new ArrayList<String>();
        FunctionRegistry functions = FunctionRegistry.getRegistry();
        for (FunctionCategory cat : functions.getCategories()) {
            for (Function func : cat.getFunctions()) {
                tokens.add(func.getName() + "(");
            }
        }
        return tokens.toArray(new String[tokens.size()]);
View Full Code Here

    private JTextComponent target;
   
    @Override
    public Disposable display(JTextComponent target, String token, Interval range, MouseEvent evt) {
        this.target = target;
        FunctionRegistry registry = FunctionRegistry.getRegistry();
        String info = registry.getFunctionInfo(token);
        if (info == null) {
            return null;
        }
        JComponent html = createHtmlDisplayer(info);
        PopupWindow w = createPopupWindow(html, range, evt);
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.script.FunctionRegistry

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.