Package org.jitterbit.application.ui.search.string

Examples of org.jitterbit.application.ui.search.string.StringSearchModelDefiner$SearchStringField


        listFilterReceiver = NoReceiver.create();
    }

    private StringSearchModelDefiner createNameSearchUi() {
        StringSearchRule rule = new DefaultStringSearchRule(new ListMatcher(), "");
        StringSearchModelDefiner d = new StringSearchModelDefiner(rule);
        d.setCaption("");
        d.setTextWhenEmpty("Name filter (% = any string)");
        d.setExternalLabel(label);
        d.setEmptyStringMatchesEverything(true);
        d.setToolTip("For example: order% to download only those tables/views that start with \"order\"");
        d.getSearchModel().addModelListener(new StringSearchModelListener() {

            @Override
            public void searchRuleChanged(StringSearchModel model, StringSearchRule newRule) {
                applyNewFilter();
            }
View Full Code Here


        nameSearchUi.requestFocus();
        classLists.selectFirst();
    }

    private StringSearchModelDefiner createNameSearchUi() {
        StringSearchModelDefiner d = new StringSearchModelDefiner(StringSearchRule.CONTAINS_IGNORE_CASE,
                        StringSearchRule.STARTS_WITH_IGNORE_CASE, StringSearchRule.ENDS_WITH_IGNORE_CASE);
        d.setSelectedRule(StringSearchRule.CONTAINS_IGNORE_CASE);
        d.setEmptyStringMatchesEverything(true);
        d.setCaption(PackageResources.Wizard.ClassSelector.SEARCH);
        d.setToolTip(PackageResources.Wizard.ClassSelector.SEARCH_TOOLTIP);
        return d;
    }
View Full Code Here

        service = createSearchService();
        prepareModel();
    }

    private StringSearchModelDefiner createSearchStringUi() {
        StringSearchModelDefiner d = new StringSearchModelDefiner(searchRules.getRules());
        d.setSelectedRule(searchRules.getDefaultRule());
        d.setCaption(getString("Search.Field.Label"));
        return d;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.application.ui.search.string.StringSearchModelDefiner$SearchStringField

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.