Search in sources :

Example 1 with SettingsEditorGroup

use of com.intellij.openapi.options.SettingsEditorGroup in project intellij-community by JetBrains.

the class JUnitConfiguration method getConfigurationEditor.

@Override
@NotNull
public SettingsEditor<? extends RunConfiguration> getConfigurationEditor() {
    SettingsEditorGroup<JUnitConfiguration> group = new SettingsEditorGroup<>();
    group.addEditor(ExecutionBundle.message("run.configuration.configuration.tab.title"), new JUnitConfigurable(getProject()));
    JavaRunConfigurationExtensionManager.getInstance().appendEditors(this, group);
    group.addEditor(ExecutionBundle.message("logs.tab.title"), new LogConfigurationPanel<>());
    return group;
}
Also used : SettingsEditorGroup(com.intellij.openapi.options.SettingsEditorGroup) JUnitConfigurable(com.intellij.execution.junit2.configuration.JUnitConfigurable) NotNull(org.jetbrains.annotations.NotNull)

Example 2 with SettingsEditorGroup

use of com.intellij.openapi.options.SettingsEditorGroup in project android by JetBrains.

the class AndroidJUnitConfiguration method getConfigurationEditor.

@Override
@NotNull
public SettingsEditor<? extends RunConfiguration> getConfigurationEditor() {
    SettingsEditorGroup<AndroidJUnitConfiguration> group = new SettingsEditorGroup<>();
    group.addEditor(ExecutionBundle.message("run.configuration.configuration.tab.title"), new JUnitConfigurable(getProject()));
    JavaRunConfigurationExtensionManager.getInstance().appendEditors(this, group);
    group.addEditor(ExecutionBundle.message("logs.tab.title"), new LogConfigurationPanel<>());
    return group;
}
Also used : SettingsEditorGroup(com.intellij.openapi.options.SettingsEditorGroup) JUnitConfigurable(com.intellij.execution.junit2.configuration.JUnitConfigurable) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

JUnitConfigurable (com.intellij.execution.junit2.configuration.JUnitConfigurable)2 SettingsEditorGroup (com.intellij.openapi.options.SettingsEditorGroup)2 NotNull (org.jetbrains.annotations.NotNull)2