Package com.intellij.codeInsight.intention

Examples of com.intellij.codeInsight.intention.IntentionManager.addAction()


    private CodeCompletionManager(Project project) {
        super(project);
        // fixme move these calls to a more appropriate place (nothing to do with code completion)
        IntentionManager intentionManager = IntentionManager.getInstance(project);
        intentionManager.addAction(new ExecuteStatementIntentionAction());
        intentionManager.addAction(new JumpToExecutionResultIntentionAction());
        intentionManager.addAction(new SelectConnectionIntentionAction());
        intentionManager.addAction(new SelectCurrentSchemaIntentionAction());
        //intentionManager.addAction(new SetupCodeCompletionIntentionAction());
    }
View Full Code Here


    private CodeCompletionManager(Project project) {
        super(project);
        // fixme move these calls to a more appropriate place (nothing to do with code completion)
        IntentionManager intentionManager = IntentionManager.getInstance(project);
        intentionManager.addAction(new ExecuteStatementIntentionAction());
        intentionManager.addAction(new JumpToExecutionResultIntentionAction());
        intentionManager.addAction(new SelectConnectionIntentionAction());
        intentionManager.addAction(new SelectCurrentSchemaIntentionAction());
        //intentionManager.addAction(new SetupCodeCompletionIntentionAction());
    }
View Full Code Here

        super(project);
        // fixme move these calls to a more appropriate place (nothing to do with code completion)
        IntentionManager intentionManager = IntentionManager.getInstance(project);
        intentionManager.addAction(new ExecuteStatementIntentionAction());
        intentionManager.addAction(new JumpToExecutionResultIntentionAction());
        intentionManager.addAction(new SelectConnectionIntentionAction());
        intentionManager.addAction(new SelectCurrentSchemaIntentionAction());
        //intentionManager.addAction(new SetupCodeCompletionIntentionAction());
    }

    public static CodeCompletionManager getInstance(Project project) {
View Full Code Here

        // fixme move these calls to a more appropriate place (nothing to do with code completion)
        IntentionManager intentionManager = IntentionManager.getInstance(project);
        intentionManager.addAction(new ExecuteStatementIntentionAction());
        intentionManager.addAction(new JumpToExecutionResultIntentionAction());
        intentionManager.addAction(new SelectConnectionIntentionAction());
        intentionManager.addAction(new SelectCurrentSchemaIntentionAction());
        //intentionManager.addAction(new SetupCodeCompletionIntentionAction());
    }

    public static CodeCompletionManager getInstance(Project project) {
        return project.getComponent(CodeCompletionManager.class);
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.