Package org.jitterbit.ui.util

Examples of org.jitterbit.ui.util.KeyBindingInstaller$Entry


        return new DefaultTokenChooser();
    }

    private KeyBindingInstaller bindRefresher(JTextComponent tc) {
        assert (completionContext != null);
        KeyBindingInstaller r = new KeyBindingInstaller(tc);
        r.addBinding(KeyUtils.REFRESH, "refresh_tokens", new AbstractAction() {

            @Override
            public void actionPerformed(ActionEvent e) {
                refresh();
            }
        });
        r.install();
        return r;
    }
View Full Code Here


        installImpl(text);
    }

    private void installImpl(JTextComponent text) {
        assert (text != null);
        keyBindings = new KeyBindingInstaller(text);
        keyBindings.addBinding(KeyUtils.getCtrlDown(KeyEvent.VK_SPACE), "", getTriggerAction()); //$NON-NLS-1$
        keyBindings.install();
    }
View Full Code Here

        anchorHighlighter = new AnchorHighlighter(matching, unbalanced);
        textComponent.addCaretListener(anchorHighlighter);
    }

    private KeyBindingInstaller installKeyBinding(JTextComponent text) {
        KeyBindingInstaller inst = new KeyBindingInstaller(text);
        inst.addBinding(KeyUtils.getCtrlShiftDown(KeyEvent.VK_P), "characterMatching", new TriggerAction());
        inst.install();
        return inst;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.util.KeyBindingInstaller$Entry

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.