Package com.dci.intellij.dbn.execution.compiler

Examples of com.dci.intellij.dbn.execution.compiler.DatabaseCompilerManager


        this.schema = schema;
    }

    public void actionPerformed(AnActionEvent e) {
        Project project = schema.getProject();
        DatabaseCompilerManager compilerManager = DatabaseCompilerManager.getInstance(project);
        compilerManager.compileInvalidObjects(schema, getCompilerSettings(project).getCompileType());
    }
View Full Code Here


        this.object = object;
        this.contentType = contentType;
    }

    public void actionPerformed(AnActionEvent e) {
        DatabaseCompilerManager compilerManager = DatabaseCompilerManager.getInstance(object.getProject());
        CompileType compileType = getCompilerSettings(object.getProject()).getCompileType();
        compilerManager.compileObject(object, contentType, compileType, false);
    }
View Full Code Here

                    if (selectedDependencies.size() > 0) {
                        new BackgroundTask(project, "Compiling dependencies", false, true){
                            @Override
                            public void execute(@NotNull ProgressIndicator progressIndicator) {
                                initProgressIndicator(progressIndicator, true);
                                DatabaseCompilerManager compilerManager = DatabaseCompilerManager.getInstance(project);
                                for (DBSchemaObject schemaObject : selectedDependencies) {
                                    if (!progressIndicator.isCanceled()) {
                                        progressIndicator.setText("Compiling " + schemaObject.getQualifiedNameWithType());
                                        compilerManager.compileObject(schemaObject, CompileType.DEBUG, true);
                                    }
                                }
                                executionInput.getConnectionHandler().getObjectBundle().refreshObjectsStatus();
                                if (!progressIndicator.isCanceled()) {
                                    performExecution(
View Full Code Here

    public void actionPerformed(AnActionEvent e) {
        SourceCodeFile virtualFile = getSourcecodeFile(e);
        if (virtualFile!= null) {
            Project project = virtualFile.getProject();
            DatabaseCompilerManager compilerManager = DatabaseCompilerManager.getInstance(project);
            CompilerSettings compilerSettings = getCompilerSettings(project);
            compilerManager.compileObject(
                    virtualFile.getObject(),
                    virtualFile.getContentType(),
                    compilerSettings.getCompileType(), false);
        }
    }
View Full Code Here

TOP

Related Classes of com.dci.intellij.dbn.execution.compiler.DatabaseCompilerManager

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.