Package com.dci.intellij.dbn.common.thread

Examples of com.dci.intellij.dbn.common.thread.SimpleLaterInvocator


        BackgroundTask backgroundTask = new BackgroundTask(project, "Loading executable components", false) {
            @Override
            public void execute(@NotNull ProgressIndicator progressIndicator) {
                initProgressIndicator(progressIndicator, true);
                final ObjectTreeModel model = new ObjectTreeModel(settings.getSchema(), settings.getVisibleObjectTypes(), null);
                new SimpleLaterInvocator() {
                    public void execute() {
                        methodsTree.setModel(model);
                        methodsTree.repaint();
                    }
                }.start();
View Full Code Here


    protected void selectText(final JTextField textField) {

        if (textField.isEditable()) {
            final String originalText = textField.getText();
            new SimpleLaterInvocator() {
                public void execute() {
                    // select all only if the text didn't change
                    if (settings.getGeneralSettings().getSelectContentOnCellEdit().value()) {
                        if (originalText.equals(textField.getText())) {
                            textField.grabFocus();
View Full Code Here

TOP

Related Classes of com.dci.intellij.dbn.common.thread.SimpleLaterInvocator

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.