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

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


        compilerManager.compileInvalidObjects(schema, getCompilerSettings(project).getCompileType());
    }

    @Override
    public void update(AnActionEvent e) {
        CompileType compileType = getCompilerSettings(schema.getProject()).getCompileType();
        String text = "Compile invalid objects";
        if (compileType == CompileType.DEBUG) text = text + " (Debug)";
        if (compileType == CompileType.ASK) text = text + "...";

        e.getPresentation().setText(text);
View Full Code Here


        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

    public void update(AnActionEvent e) {
        Presentation presentation = e.getPresentation();

        CompilerSettings compilerSettings = getCompilerSettings(object.getProject());
        CompileType compileType = compilerSettings.getCompileType();
        DBObjectStatusHolder status = object.getStatus();

        boolean isDebug = compileType == CompileType.DEBUG;
        if (compileType == CompileType.KEEP) {
            isDebug = status.is(contentType, DBObjectStatus.DEBUG);
View Full Code Here

            DBSchemaObject schemaObject = virtualFile.getObject();
            if (schemaObject != null) {
                DatabaseCompatibilityInterface compatibilityInterface = DatabaseCompatibilityInterface.getInstance(schemaObject);
                if (schemaObject.getProperties().is(DBObjectProperty.COMPILABLE) &&  compatibilityInterface.supportsFeature(DatabaseFeature.OBJECT_INVALIDATION)) {
                    CompilerSettings compilerSettings = getCompilerSettings(schemaObject.getProject());
                    CompileType compileType = compilerSettings.getCompileType();
                    DBObjectStatusHolder status = schemaObject.getStatus();
                    DBContentType contentType = virtualFile.getContentType();

                    boolean isDebug = compileType == CompileType.DEBUG;
                    if (compileType == CompileType.KEEP) {
View Full Code Here

        compileTypeComboBox.addItem(CompileType.ASK);

        updateBorderTitleForeground(mainPanel);
        compileTypeComboBox.setRenderer(new ColoredListCellRenderer() {
            protected void customizeCellRenderer(JList list, Object value, int index, boolean selected, boolean hasFocus) {
                CompileType compileType = (CompileType) value;
                setIcon(compileType.getIcon());
                append(compileType.getDisplayName(), SimpleTextAttributes.REGULAR_ATTRIBUTES);
            }
        });

        resetChanges();
View Full Code Here

TOP

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

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.