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

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


        Project project = connectionHandler.getProject();
        String connectionName = connectionHandler.getName();
        if (ApplicationManager.getApplication().isDisposeInProgress()) {
            execute(connectionHandler, actions);
        } else {
            new ModalTask(project, "Performing " + actions[0].getName() + " on connection " + connectionName, background) {
                @Override
                public void run(@NotNull ProgressIndicator indicator) {
                    execute(connectionHandler, actions);
                }
            }.start();
View Full Code Here


     ********************************************************/
    public void showPopupMenu(
            final MouseEvent event,
            final DatasetEditorModelCell cell,
            final ColumnInfo columnInfo) {
        new ModalTask(getDataset().getProject(), "Loading column information", true) {
            public void run(@NotNull ProgressIndicator progressIndicator) {
                progressIndicator.setIndeterminate(true);
                ActionGroup actionGroup = new DatasetEditorTableActionGroup(datasetEditor, cell, columnInfo);
                if (!progressIndicator.isCanceled()) {
                    ActionPopupMenu actionPopupMenu = ActionManager.getInstance().createActionPopupMenu("", actionGroup);
View Full Code Here

TOP

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

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.