use of com.intellij.codeInspection.ui.ListEditForm in project intellij-community by JetBrains.
the class SuppressionAnnotationInspection method createOptionsPanel.
@Override
public JComponent createOptionsPanel() {
final ListEditForm form = new ListEditForm("Ignore suppressions", myAllowedSuppressions);
final JComponent panel = form.getContentPanel();
panel.setPreferredSize(JBUI.size(150, 100));
return panel;
}
use of com.intellij.codeInspection.ui.ListEditForm in project intellij-community by JetBrains.
the class PyPep8NamingInspection method createOptionsPanel.
@Nullable
@Override
public JComponent createOptionsPanel() {
final JPanel rootPanel = new JPanel(new BorderLayout());
rootPanel.add(new CheckBox("Ignore overridden functions", this, "ignoreOverriddenFunctions"), BorderLayout.NORTH);
final OnePixelSplitter splitter = new OnePixelSplitter(false);
splitter.setFirstComponent(new ListEditForm("Excluded base classes", ignoredBaseClasses).getContentPanel());
splitter.setSecondComponent(new ListEditForm("Ignored errors", ignoredErrors).getContentPanel());
rootPanel.add(splitter, BorderLayout.CENTER);
return rootPanel;
}
Aggregations