Search in sources :

Example 6 with KarmaScopeKind

use of com.intellij.javascript.karma.scope.KarmaScopeKind in project intellij-plugins by JetBrains.

the class KarmaRunConfigurationEditor method setScopeKind.

private void setScopeKind(@NotNull KarmaScopeKind scopeKind) {
    KarmaScopeKind selectedScopeKind = getScopeKind();
    if (selectedScopeKind != scopeKind) {
        JRadioButton radioButton = myRadioButtonMap.get(scopeKind);
        radioButton.setSelected(true);
    }
    KarmaScopeView view = getScopeKindView(scopeKind);
    setCenterBorderLayoutComponent(mySelectedScopeKindPanel, view.getComponent());
}
Also used : KarmaScopeKind(com.intellij.javascript.karma.scope.KarmaScopeKind) KarmaScopeView(com.intellij.javascript.karma.scope.KarmaScopeView)

Aggregations

KarmaScopeKind (com.intellij.javascript.karma.scope.KarmaScopeKind)6 KarmaScopeView (com.intellij.javascript.karma.scope.KarmaScopeView)2 EnvironmentVariablesData (com.intellij.execution.configuration.EnvironmentVariablesData)1 NodePackage (com.intellij.javascript.nodejs.util.NodePackage)1 ActionEvent (java.awt.event.ActionEvent)1 ActionListener (java.awt.event.ActionListener)1 Element (org.jdom.Element)1 NotNull (org.jetbrains.annotations.NotNull)1