Examples of KeyAssistDialog


Examples of org.python.pydev.editor.KeyAssistDialog

        if (fTextViewer instanceof ITextViewerExtension)
            ((ITextViewerExtension) fTextViewer).prependVerifyKeyListener(this);
        else
            text.addVerifyKeyListener(this);

        keyAssistDialog = new KeyAssistDialog(this.fEdit);
        fInstalled = true;

        //Wait a bit until showing the key assist dialog
        new UIJob("") {
View Full Code Here

Examples of org.python.pydev.editor.KeyAssistDialog

                case SWT.ARROW_DOWN:
                    //special case:
                    //if there's a key dialog with a table shown, set its focus when down is pressed
                    synchronized (lock) {
                        KeyAssistDialog tempKeyAssistDialog = this.keyAssistDialog;
                        if (tempKeyAssistDialog != null) {
                            Table completionsTable = this.keyAssistDialog.getCompletionsTable();
                            if (completionsTable != null && !completionsTable.isDisposed()) {
                                completionsTable.setFocus();
                                completionsTable.setSelection(0);
View Full Code Here

Examples of org.python.pydev.editor.KeyAssistDialog

     */
    public void focusLost(FocusEvent e) {
        // When the focus is lost, we have to treat the case where the focus went to the key assist
        // dialog, so, if that was the case, we won't leave right now, only when the focus is
        // removed from that dialog or ESC is pressed.
        KeyAssistDialog tempKeyAssistDialog = keyAssistDialog;
        if (tempKeyAssistDialog != null) {
            final Table completionsTable = tempKeyAssistDialog.getCompletionsTable();
            if (completionsTable != null && !completionsTable.isDisposed()) {

                new UIJob("Check leave") {

                    public IStatus runInUIThread(IProgressMonitor monitor) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.