Package org.jitterbit.ui.text.contentassist

Examples of org.jitterbit.ui.text.contentassist.AutoCompleter


    private void installAutoCompletion(LdapStructureEntryNode entryNode, JTextComponent area) {
        AutoCompleterFactory factory = AutoCompleterFactory.codeEditorFactory();
        factory.setGrabFocus(false);
        CompletionContext context = new FilterCompletionContext(entryNode);
        AutoCompleter completer = factory.createAutoCompleter(context);
        completer.install(area);
    }
View Full Code Here


        // because it leads to annoying flickering if the completed token
        // has an input argument that gets automatically highlighted. The
        // token implementation returned by the FormulaBuilder's completion
        // context handles the focus issues themselves.
        factory.setGrabFocus(false);
        AutoCompleter autoCompleter = factory.createAutoCompleter(context);
        autoCompleter.install(inputArea.getTextPane());
        return context;
    }
View Full Code Here

   
    private void installAutoCompletion() {
        CompletionContext ctx = PackageNameCompletionContextBuilder.buildForField();
        AutoCompleterFactory factory = AutoCompleterFactory.dropDownFactory();
        factory.setGrabFocus(false);
        AutoCompleter completer = factory.createAutoCompleter(ctx);
        completer.install(packageField);
    }
View Full Code Here

    private void installAutoCompletion() {
        CompletionContext ctx = PackageNameCompletionContextBuilder.buildForEditor();
        AutoCompleterFactory factory = AutoCompleterFactory.codeEditorFactory();
        factory.setGrabFocus(false);
        AutoCompleter completer = factory.createAutoCompleter(ctx);
        completer.install(textArea);
    }
View Full Code Here

   
    private AutoCompleter installAutoComplete(CompletionContext cc, JTextComponent tc) {
        AutoCompleterFactory factory = AutoCompleterFactory.defaultFactory();
        factory.setListFactory(ComponentFactories.monoSpacedListFactory());
        factory.setMaxCharsWidth(75);
        AutoCompleter ac = factory.createAutoCompleter(cc);
        ac.install(tc);
        return ac;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.text.contentassist.AutoCompleter

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.