Examples of show()


Examples of com.dci.intellij.dbn.debugger.execution.ui.CompileDebugDependenciesDialog.show()

        new SimpleLaterInvocator() {
            public void execute() {
                final Project project = executionInput.getProject();
                DBProgramRunConfiguration runConfiguration = (DBProgramRunConfiguration) environment.getRunProfile();
                CompileDebugDependenciesDialog dependenciesDialog = new CompileDebugDependenciesDialog(runConfiguration, dependencies);
                dependenciesDialog.show();
                final List<DBSchemaObject> selectedDependencies =  dependenciesDialog.getSelection();

                if (dependenciesDialog.getExitCode() == DialogWrapper.OK_EXIT_CODE){
                    if (selectedDependencies.size() > 0) {
                        new BackgroundTask(project, "Compiling dependencies", false, true){
View Full Code Here

Examples of com.dci.intellij.dbn.editor.data.filter.ui.DatasetFilterDialog.show()

        }
    }

    public int openFiltersDialog(DBDataset dataset, boolean isAutomaticPrompt, boolean createNewFilter, DatasetFilterType defaultFilterType) {
        DatasetFilterDialog filterDialog = new DatasetFilterDialog(dataset, isAutomaticPrompt, createNewFilter, defaultFilterType);
        filterDialog.show();
        return filterDialog.getExitCode();
    }

    public void createBasicFilter(DBDataset dataset, String columnName, Object columnValue, ConditionOperator operator, boolean interactive) {
        DatasetFilterGroup filterGroup = getFilterGroup(dataset);
View Full Code Here

Examples of com.dci.intellij.dbn.editor.data.record.ui.DatasetRecordEditorDialog.show()

            if (index == -1) index = 0;
            DatasetEditorModelRow row = model.getRowAtIndex(index);
            editorTable.stopCellEditing();
            editorTable.selectRow(row.getIndex());
            DatasetRecordEditorDialog editorDialog = new DatasetRecordEditorDialog(row);
            editorDialog.show();
        }
    }

    public void openRecordEditor(int index) {
        DatasetEditorTable editorTable = getEditorTable();
View Full Code Here

Examples of com.dci.intellij.dbn.editor.data.state.column.ui.DatasetColumnSetupDialog.show()

        dialog.show();
    }

    public void openColumnSetupDialog(DatasetEditor datasetEditor) {
        DatasetColumnSetupDialog dialog = new DatasetColumnSetupDialog(datasetEditor);
        dialog.show();
    }

    /***************************************
    *            ProjectComponent           *
    ****************************************/
 
View Full Code Here

Examples of com.dci.intellij.dbn.editor.data.state.sorting.ui.DatasetEditorSortingDialog.show()

        return project.getComponent(DatasetEditorStateManager.class);
    }

    public void openSortingDialog(DatasetEditor datasetEditor) {
        DatasetEditorSortingDialog dialog = new DatasetEditorSortingDialog(datasetEditor);
        dialog.show();
    }

    public void openColumnSetupDialog(DatasetEditor datasetEditor) {
        DatasetColumnSetupDialog dialog = new DatasetColumnSetupDialog(datasetEditor);
        dialog.show();
View Full Code Here

Examples of com.dci.intellij.dbn.editor.data.ui.DatasetEditorErrorForm.show()

                        DBDataset dataset = getDataset();
                        DatabaseFileSystem.getInstance().openEditor(dataset);
                    }
                    if (error != null) {
                        DatasetEditorErrorForm errorForm = new DatasetEditorErrorForm(DatasetEditorModelCell.this);
                        errorForm.show();
                    }
                }
            }
        }.start();
    }
View Full Code Here

Examples of com.dci.intellij.dbn.execution.compiler.ui.CompilerTypeSelectionDialog.show()

    }

    private CompileType getCompileTypeSelection(CompileType compileType, @Nullable DBSchemaObject program) {
        if (compileType == CompileType.ASK) {
            CompilerTypeSelectionDialog dialog = new CompilerTypeSelectionDialog(getProject(), program);
            dialog.show();
            if (dialog.getExitCode() == DialogWrapper.OK_EXIT_CODE) {
                compileType = dialog.getSelection();
                if (dialog.rememberSelection()) {
                    ExecutionEngineSettings executionEngineSettings = ExecutionEngineSettings.getInstance(getProject());
                    executionEngineSettings.getCompilerSettings().setCompileType(compileType);
View Full Code Here

Examples of com.dci.intellij.dbn.execution.method.browser.ui.MethodExecutionBrowserDialog.show()

                        final ObjectTreeModel objectTreeModel = new ObjectTreeModel(settings.getSchema(), settings.getVisibleObjectTypes(), settings.getMethod());

                        new SimpleLaterInvocator() {
                            public void execute() {
                                final MethodExecutionBrowserDialog browserDialog = new MethodExecutionBrowserDialog(project, settings, objectTreeModel);
                                browserDialog.show();
                                if (browserDialog.getExitCode() == DialogWrapper.OK_EXIT_CODE) {
                                    DBMethod method = browserDialog.getSelectedMethod();
                                    MethodExecutionManager methodExecutionManager = MethodExecutionManager.getInstance(project);
                                    MethodExecutionInput methodExecutionInput = methodExecutionManager.getExecutionInput(method);
                                    if (methodExecutionInput != null) {
View Full Code Here

Examples of com.dci.intellij.dbn.execution.method.history.ui.MethodExecutionHistoryDialog.show()

    }


    public MethodExecutionHistoryDialog showExecutionHistoryDialog(boolean editable) {
        MethodExecutionHistoryDialog executionHistoryDialog = new MethodExecutionHistoryDialog(getProject(), executionInputs, null, editable);
        executionHistoryDialog.show();
        return executionHistoryDialog;
    }

    public MethodExecutionHistoryDialog showExecutionHistoryDialog(MethodExecutionInput selectedExecutionInput, boolean editable) {
        MethodExecutionHistoryDialog executionHistoryDialog = new MethodExecutionHistoryDialog(getProject(), executionInputs, selectedExecutionInput, editable);
View Full Code Here

Examples of com.dci.intellij.dbn.execution.method.ui.MethodExecutionDialog.show()

                        "Can not execute method " +
                         executionInput.getMethodRef().getPath() + ".\nMethod not found!";
                MessageUtil.showErrorDialog(message);
            } else {
                MethodExecutionDialog executionDialog = new MethodExecutionDialog(executionInput, debug);
                executionDialog.show();

                return executionDialog.getExitCode() == DialogWrapper.OK_EXIT_CODE;
            }
        } else {
            String message =
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.