Example usage for com.intellij.openapi.options ConfigurableEP getProject

List of usage examples for com.intellij.openapi.options ConfigurableEP getProject

Introduction

In this page you can find the example usage for com.intellij.openapi.options ConfigurableEP getProject.

Prototype

public Project getProject() 

Source Link

Usage

From source file:org.jetbrains.jet.plugin.compiler.configuration.KotlinCompilerConfigurableTab.java

License:Apache License

public KotlinCompilerConfigurableTab(ConfigurableEP ep) {
    this.extPoint = ep;
    this.commonCompilerArguments = KotlinCommonCompilerArgumentsHolder.getInstance(ep.getProject())
            .getSettings();// w ww.  jav  a2s. c om
    this.k2jsCompilerArguments = Kotlin2JsCompilerArgumentsHolder.getInstance(ep.getProject()).getSettings();
    this.compilerSettings = KotlinCompilerSettings.getInstance(ep.getProject()).getSettings();

    additionalArgsOptionsField.attachLabel(additionalArgsLabel);
    additionalArgsOptionsField.setDialogCaption(
            JetBundle.message("kotlin.compiler.option.additional.command.line.parameters.dialog.title"));

    setupFileChooser(labelForOutputPrefixFile, outputPrefixFile,
            JetBundle.message("kotlin.compiler.js.option.output.prefix.browse.title"));
    setupFileChooser(labelForOutputPostfixFile, outputPostfixFile,
            JetBundle.message("kotlin.compiler.js.option.output.postfix.browse.title"));
}