method of border factory renamed and some forms refactored

This commit is contained in:
Evgeny Zakrevsky
2011-07-22 16:28:30 +04:00
parent d132b87415
commit e571902816
183 changed files with 496 additions and 499 deletions
@@ -19,7 +19,7 @@
</properties>
<border type="none" title-resource-bundle="org/intellij/images/ImagesBundle" title-key="main.page.border.title"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<component id="74001" class="javax.swing.JLabel" binding="smartZoomingWidthLabel">
@@ -202,7 +202,7 @@
<properties/>
<border type="none" title-resource-bundle="org/intellij/images/ImagesBundle" title-key="external.editor.border.title"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<component id="55972" class="javax.swing.JLabel" binding="externalEditorLabel">
@@ -175,7 +175,7 @@ public class GenerateAntBuildDialog extends DialogWrapper {
}
myChunksPanel.setLayout(new BorderLayout());
myChunksPanel.setBorder(
IdeBorderFactory.createTitledBorder(CompilerBundle.message("generate.ant.build.dialog.cyclic.modules.table.title")));
IdeBorderFactory.createTitledBorderBoldWithIndent(CompilerBundle.message("generate.ant.build.dialog.cyclic.modules.table.title")));
JLabel textLabel = new JLabel(CompilerBundle.message("generate.ant.build.dialog.cyclic.modules.table.description"));
textLabel.setUI(new MultiLineLabelUI());
textLabel.setBorder(IdeBorderFactory.createEmptyBorder(4, 4, 6, 4));
@@ -9,7 +9,7 @@
<properties/>
<border type="etched" title-resource-bundle="messages/CompilerBundle" title-key="eclipse.options.group.title"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<component id="8538e" class="javax.swing.JCheckBox" binding="myCbDeprecation">
@@ -7,7 +7,8 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactorySimpleWithIndent"/>
<html.disable class="java.lang.Boolean" value="false"/>
</clientProperties>
<border type="etched" title-resource-bundle="messages/CompilerBundle" title-key="javac.options.group.title"/>
<children>
@@ -9,7 +9,7 @@
<properties/>
<border type="etched" title-resource-bundle="messages/CompilerBundle" title-key="jikes.options.group.title"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<component id="3d38f" class="javax.swing.JCheckBox" binding="myCbDebuggingInfo">
@@ -22,7 +22,6 @@ import com.intellij.util.ui.Table;
import org.jetbrains.annotations.NotNull;
import javax.swing.*;
import javax.swing.border.TitledBorder;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;
import javax.swing.table.AbstractTableModel;
@@ -110,7 +109,7 @@ public class AnnotationProcessorsConfigurable implements SearchableConfigurable
final JPanel processorTablePanel = new JPanel(new BorderLayout());
myProcessorsModel = new ProcessorTableModel();
processorTablePanel.setBorder(IdeBorderFactory.createTitledBorder("Annotation Processors"));
processorTablePanel.setBorder(IdeBorderFactory.createTitledBorderSimpleWithoutIndent("Annotation Processors"));
myProcessorTable = new Table(myProcessorsModel);
myProcessorTable.getEmptyText().setText("No processors configured");
@@ -124,7 +123,7 @@ public class AnnotationProcessorsConfigurable implements SearchableConfigurable
processorTablePanel.setPreferredSize(new Dimension(processorTablePanel.getPreferredSize().width, 50));
myModulesTable = new ProcessedModulesTable(myProject);
myModulesTable.setBorder(IdeBorderFactory.createTitledBorder("Processed Modules"));
myModulesTable.setBorder(IdeBorderFactory.createTitledBorderSimpleWithoutIndent("Processed Modules"));
final JLabel noteMessage = new MultiLineLabel("Source files generated by annotation processors will be stored under the project output directory.\n" +
"To override this behaviour for certain modules you may specify the directory name in the table below.\n" +
"If specified, the directory will be created under corresponding module's content root.");
@@ -24,7 +24,7 @@
<properties/>
<border type="none" title-resource-bundle="messages/CompilerBundle" title-key="label.option.resource.patterns.text"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<component id="263f1" class="javax.swing.JTextField" binding="myResourcePatternsField">
@@ -65,7 +65,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title="Jar files from libraries:"/>
<children>
@@ -135,7 +135,7 @@ public class DebuggerDataViewsConfigurable implements SearchableConfigurable {
tooltipLabel.setLabelFor(myValueTooltipDelayField);
final JPanel showPanel = new JPanel(new GridBagLayout());
showPanel.setBorder(IdeBorderFactory.createTitledBorder("Show"));
showPanel.setBorder(IdeBorderFactory.createTitledBorderSimpleWithIndent("Show"));
showPanel.add(myCbShowDeclaredType, new GridBagConstraints(0, GridBagConstraints.RELATIVE, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(4, 0, 0, 0), 0, 0));
showPanel.add(myCbShowObjectId, new GridBagConstraints(0, GridBagConstraints.RELATIVE, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(4, 0, 0, 0), 0, 0));
@@ -150,7 +150,7 @@ public class DebuggerDataViewsConfigurable implements SearchableConfigurable {
arraysComponent.setBorder(BorderFactory.createEmptyBorder(0, 0, 4, 0));
arraysPanel.add(arraysComponent, BorderLayout.CENTER);
arraysPanel.add(myCbHideNullArrayElements, BorderLayout.SOUTH);
arraysPanel.setBorder(IdeBorderFactory.createTitledBorder("Arrays"));
arraysPanel.setBorder(IdeBorderFactory.createTitledBorderSimpleWithIndent("Arrays"));
panel.add(arraysPanel, new GridBagConstraints(0, GridBagConstraints.RELATIVE, 3, 1, 1.0, 0.0, GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, new Insets(4, 6, 0, 0), 0, 0));
panel.add(myCbEnableAlternateViews, new GridBagConstraints(0, GridBagConstraints.RELATIVE, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(10, 6, 0, 10), 0, 0));
@@ -35,7 +35,7 @@
<properties/>
<border type="etched" title-resource-bundle="messages/DebuggerBundle" title-key="label.breakpoint.properties.panel.group.actions"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<component id="185b0" class="javax.swing.JCheckBox" binding="myLogMessageCheckBox">
@@ -163,7 +163,7 @@
<properties/>
<border type="etched" title-resource-bundle="messages/DebuggerBundle" title-key="label.breakpoint.properties.panel.group.suspend.policy"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<component id="f6192" class="javax.swing.JRadioButton" binding="mySuspendThreadRadio">
@@ -215,7 +215,7 @@
<properties/>
<border type="etched" title-resource-bundle="messages/DebuggerBundle" title-key="label.breakpoint.properties.panel.group.conditions"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<grid id="bf471" layout-manager="GridLayoutManager" row-count="2" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="0">
@@ -56,12 +56,14 @@ public class EditClassFiltersDialog extends DialogWrapper {
myClassFilterEditor = new ClassFilterEditor(myProject, myChooserFilter);
myClassFilterEditor.setPreferredSize(new Dimension(400, 200));
myClassFilterEditor.setBorder(IdeBorderFactory.createTitledBorder(DebuggerBundle.message("class.filters.dialog.inclusion.filters.group")));
myClassFilterEditor.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
DebuggerBundle.message("class.filters.dialog.inclusion.filters.group")));
mainPanel.add(myClassFilterEditor);
myClassExclusionFilterEditor = new ClassFilterEditor(myProject, myChooserFilter);
myClassExclusionFilterEditor.setPreferredSize(new Dimension(400, 200));
myClassExclusionFilterEditor.setBorder(IdeBorderFactory.createTitledBorder(DebuggerBundle.message("class.filters.dialog.exclusion.filters.group")));
myClassExclusionFilterEditor.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
DebuggerBundle.message("class.filters.dialog.exclusion.filters.group")));
mainPanel.add(myClassExclusionFilterEditor);
contentPanel.add(mainPanel, BorderLayout.CENTER);
@@ -49,7 +49,8 @@ public class EditInstanceFiltersDialog extends DialogWrapper{
myInstanceFilterEditor = new InstanceFilterEditor(myProject);
myInstanceFilterEditor.setPreferredSize(new Dimension(400, 200));
myInstanceFilterEditor.setBorder(IdeBorderFactory.createTitledBorder(DebuggerBundle.message("instance.filters.dialog.instance.filters.group")));
myInstanceFilterEditor.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
DebuggerBundle.message("instance.filters.dialog.instance.filters.group")));
mainPanel.add(myInstanceFilterEditor);
contentPanel.add(mainPanel, BorderLayout.CENTER);
@@ -63,7 +63,8 @@ public class ExceptionBreakpointPropertiesPanel extends BreakpointPropertiesPane
_panel0.add(Box.createHorizontalStrut(3), BorderLayout.WEST);
_panel0.add(Box.createHorizontalStrut(3), BorderLayout.EAST);
_panel.add(_panel0, BorderLayout.NORTH);
_panel.setBorder(IdeBorderFactory.createTitledBorder(DebuggerBundle.message("label.exception.breakpoint.properties.panel.group.notifications")));
_panel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
DebuggerBundle.message("label.exception.breakpoint.properties.panel.group.notifications")));
ActionListener listener = new ActionListener() {
public void actionPerformed(ActionEvent e) {
@@ -59,7 +59,7 @@ public class FieldBreakpointPropertiesPanel extends BreakpointPropertiesPanel {
_panel0.add(Box.createHorizontalStrut(3), BorderLayout.WEST);
_panel0.add(Box.createHorizontalStrut(3), BorderLayout.EAST);
_panel.add(_panel0, BorderLayout.NORTH);
_panel.setBorder(IdeBorderFactory.createTitledBorder(DebuggerBundle.message("label.group.watch.events")));
_panel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(DebuggerBundle.message("label.group.watch.events")));
ActionListener listener = new ActionListener() {
public void actionPerformed(ActionEvent e) {
@@ -58,7 +58,7 @@ public class MethodBreakpointPropertiesPanel extends BreakpointPropertiesPanel {
_panel0.add(Box.createHorizontalStrut(3), BorderLayout.WEST);
_panel0.add(Box.createHorizontalStrut(3), BorderLayout.EAST);
_panel.add(_panel0, BorderLayout.NORTH);
_panel.setBorder(IdeBorderFactory.createTitledBorder(DebuggerBundle.message("label.group.watch.events")));
_panel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(DebuggerBundle.message("label.group.watch.events")));
ActionListener listener = new ActionListener() {
public void actionPerformed(ActionEvent e) {
@@ -27,7 +27,7 @@
<properties/>
<border type="etched" title-resource-bundle="messages/ExecutionBundle" title-key="remote.configuration.settings.border"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<grid id="d0319" binding="mySocketPanel" layout-manager="GridLayoutManager" row-count="2" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
@@ -41,10 +41,10 @@
<grid row="0" column="0" row-span="1" col-span="2" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactorySimpleWithoutIndent"/>
</clientProperties>
<border type="etched" title-resource-bundle="messages/ProjectBundle" title-key="label.text.autodetection.skip.modules"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
</clientProperties>
<children>
<grid id="24018" layout-manager="GridLayoutManager" row-count="3" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
@@ -87,7 +87,7 @@
<properties/>
<border type="none"/>
<children>
<scrollpane class="com.intellij.ui.components.JBScrollPane" id="c575b">
<scrollpane id="c575b" class="com.intellij.ui.components.JBScrollPane">
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="1" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false">
<preferred-size width="250" height="120"/>
@@ -112,10 +112,10 @@
<grid row="1" column="0" row-span="1" col-span="2" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactorySimpleWithoutIndent"/>
</clientProperties>
<border type="etched" title-resource-bundle="messages/ProjectBundle" title-key="label.text.autodetection.skip.files"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
</clientProperties>
<children>
<grid id="4807d" layout-manager="GridLayoutManager" row-count="2" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
@@ -148,7 +148,7 @@
<properties/>
<border type="none"/>
<children>
<scrollpane class="com.intellij.ui.components.JBScrollPane" id="4fa3">
<scrollpane id="4fa3" class="com.intellij.ui.components.JBScrollPane">
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="1" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false">
<preferred-size width="350" height="120"/>
@@ -79,11 +79,11 @@ abstract class ProjectLayoutPanel<T> extends JPanel {
final Splitter splitter = new Splitter(false);
final JScrollPane entriesPane = ScrollPaneFactory.createScrollPane(myEntriesChooser);
entriesPane.setBorder(IdeBorderFactory.createTitledBorder(getEntriesChooserTitle()));
entriesPane.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(getEntriesChooserTitle()));
splitter.setFirstComponent(entriesPane);
final JScrollPane depsPane = ScrollPaneFactory.createScrollPane(myDependenciesList);
depsPane.setBorder(BorderFactory.createCompoundBorder(IdeBorderFactory.createTitledBorder(getDependenciesTitle()), depsPane.getBorder()));
depsPane.setBorder(BorderFactory.createCompoundBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(getDependenciesTitle()), depsPane.getBorder()));
splitter.setSecondComponent(depsPane);
JPanel groupPanel = new JPanel(new BorderLayout());
@@ -17,7 +17,7 @@
<preferredSize width="250" height="150"/>
</properties>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="etched" title="Module Settings"/>
<children>
@@ -134,7 +134,7 @@ public class BuildElementsEditor extends ModuleElementsEditor {
enableCompilerSettings(!outputPathInherited);
final JPanel panel = new JPanel(new BorderLayout());
panel.setBorder(IdeBorderFactory.createTitledBorder(ProjectBundle.message("project.roots.output.compiler.title")));
panel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(ProjectBundle.message("project.roots.output.compiler.title")));
panel.add(outputPathsPanel, BorderLayout.NORTH);
return panel;
}
@@ -48,10 +48,10 @@ public class OutputEditor extends ModuleElementsEditor {
new GridBagConstraints(0, GridBagConstraints.RELATIVE, 1, 1, 1, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0);
panel.add(myCompilerOutputEditor.createComponentImpl(), gc);
final JPanel javadocPanel = (JPanel)myJavadocEditor.createComponentImpl();
javadocPanel.setBorder(IdeBorderFactory.createTitledBorder(myJavadocEditor.getDisplayName()));
javadocPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(myJavadocEditor.getDisplayName()));
panel.add(javadocPanel, gc);
final JPanel annotationsPanel = (JPanel)myAnnotationsEditor.createComponentImpl();
annotationsPanel.setBorder(IdeBorderFactory.createTitledBorder(myAnnotationsEditor.getDisplayName()));
annotationsPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(myAnnotationsEditor.getDisplayName()));
panel.add(annotationsPanel, gc);
panel.add(Box.createVerticalBox(), new GridBagConstraints(0, GridBagConstraints.RELATIVE, 1, 1, 1, 1, GridBagConstraints.CENTER,
GridBagConstraints.BOTH, new Insets(0,0,0,0), 0, 0));
@@ -76,7 +76,8 @@ public abstract class SelectImportedProjectsStep<T> extends ProjectImportWizardS
for (T element : getContext().getList()) {
fileChooser.addElement(element, getContext().isMarked(element));
}
fileChooser.setBorder(IdeBorderFactory.createTitledBorder(IdeBundle.message("project.import.select.title", getContext().getName())));
fileChooser.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
IdeBundle.message("project.import.select.title", getContext().getName())));
openModuleSettingsCheckBox.setSelected(getBuilder().isOpenProjectSettingsAfter());
}
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.intellij.application.options.CodeStyleImportsPanel">
<grid id="27dc6" binding="myWholePanel" layout-manager="GridBagLayout">
<grid id="27dc6" binding="myWholePanel" layout-manager="GridLayoutManager" row-count="3" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
<xy x="25" y="44" width="495" height="272"/>
</constraints>
@@ -10,7 +11,6 @@
<grid id="67fc8" binding="myGeneralPanel" layout-manager="BorderLayout" hgap="-1" vgap="-1">
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<gridbag weightx="0.0" weighty="0.0"/>
</constraints>
<properties/>
<border type="none"/>
@@ -19,7 +19,6 @@
<grid id="90fcc" binding="myJSPPanel" layout-manager="BorderLayout" hgap="-1" vgap="-1">
<constraints>
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<gridbag weightx="0.0" weighty="0.0"/>
</constraints>
<properties/>
<border type="none"/>
@@ -28,7 +27,6 @@
<grid id="27541" binding="myPackagesPanel" layout-manager="BorderLayout" hgap="-1" vgap="-1">
<constraints>
<grid row="1" column="0" row-span="1" col-span="2" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<gridbag weightx="0.0" weighty="0.0"/>
</constraints>
<properties/>
<border type="none"/>
@@ -37,24 +35,11 @@
<grid id="ff1de" binding="myImportsLayoutPanel" layout-manager="BorderLayout" hgap="-1" vgap="-1">
<constraints>
<grid row="2" column="0" row-span="1" col-span="2" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<gridbag weightx="0.0" weighty="0.0"/>
</constraints>
<properties/>
<border type="none"/>
<children/>
</grid>
<vspacer id="8db2">
<constraints>
<grid row="3" column="0" row-span="1" col-span="1" vsize-policy="6" hsize-policy="1" anchor="0" fill="2" indent="0" use-parent-layout="false"/>
<gridbag weightx="0.0" weighty="1.0"/>
</constraints>
</vspacer>
<hspacer id="9a601">
<constraints>
<grid row="0" column="2" row-span="1" col-span="1" vsize-policy="1" hsize-policy="6" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
<gridbag weightx="1.0" weighty="0.0"/>
</constraints>
</hspacer>
</children>
</grid>
</form>
@@ -18,7 +18,6 @@ package com.intellij.application.options;
import com.intellij.openapi.application.ApplicationBundle;
import com.intellij.openapi.editor.SyntaxHighlighterColors;
import com.intellij.openapi.editor.markup.TextAttributes;
import com.intellij.openapi.ui.VerticalFlowLayout;
import com.intellij.openapi.ui.ex.MultiLineLabel;
import com.intellij.psi.codeStyle.CodeStyleSettings;
import com.intellij.psi.codeStyle.PackageEntry;
@@ -91,12 +90,13 @@ public class CodeStyleImportsPanel extends JPanel {
final MultiLineLabel oneImportPerDirectiveLabel = new MultiLineLabel("<% page import=\"com.company.Boo\"%>\n" +
"<% page import=\"com.company.Far\"%>");
final JPanel labelPanel = new JPanel(new BorderLayout());
labelPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createEmptyBorder(20, 10, 0, 0), IdeBorderFactory.createTitledBorder(ApplicationBundle.message("title.preview"))));
labelPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createEmptyBorder(20, 10, 0, 0), IdeBorderFactory.createTitledBorderBoldWithIndent(
ApplicationBundle.message("title.preview"))));
JPanel resultPanel = new JPanel(new BorderLayout());
resultPanel.add(btnPanel, BorderLayout.NORTH);
resultPanel.add(labelPanel, BorderLayout.CENTER);
resultPanel.setBorder(IdeBorderFactory.createTitledBorder(ApplicationBundle.message("title.jsp.imports.layout")));
resultPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(ApplicationBundle.message("title.jsp.imports.layout")));
ActionListener actionListener = new ActionListener() {
@@ -141,7 +141,7 @@ public class CodeStyleImportsPanel extends JPanel {
private JPanel createPackagesPanel() {
JPanel panel = new JPanel(new BorderLayout());
panel.setBorder(IdeBorderFactory.createTitledBorder(ApplicationBundle.message("title.packages.to.use.import.with")));
panel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(ApplicationBundle.message("title.packages.to.use.import.with")));
panel.add(createPackagesTable(), BorderLayout.CENTER);
panel.add(createPackagesButtonsPanel(), BorderLayout.EAST);
@@ -151,7 +151,7 @@ public class CodeStyleImportsPanel extends JPanel {
private JPanel createImportLayoutPanel() {
JPanel panel = new JPanel(new BorderLayout());
panel.setBorder(IdeBorderFactory.createTitledBorder(ApplicationBundle.message("title.import.layout")));
panel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(ApplicationBundle.message("title.import.layout")));
myCbLayoutStaticImportsSeparately = new JCheckBox("Layout static imports separately");
myCbLayoutStaticImportsSeparately.addItemListener(new ItemListener(){
@@ -15,7 +15,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title="Javadoc"/>
<children>
@@ -7,7 +7,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="etched" title="Java">
<size top="0" left="10" bottom="0" right="0"/>
@@ -119,7 +119,8 @@ public class JavaDocLocalInspection extends BaseLocalInspectionTool {
private JPanel createTagsPanel(String[] tags, Options options) {
JPanel panel = new JPanel(new GridBagLayout());
panel.setBorder(BorderFactory.createCompoundBorder(IdeBorderFactory.createTitledBorder(InspectionsBundle.message("inspection.javadoc.required.tags.option.title")),
panel.setBorder(BorderFactory.createCompoundBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
InspectionsBundle.message("inspection.javadoc.required.tags.option.title")),
BorderFactory.createEmptyBorder(0, 3, 3, 3)));
GridBagConstraints gc = new GridBagConstraints();
@@ -166,7 +167,8 @@ public class JavaDocLocalInspection extends BaseLocalInspectionTool {
private JPanel createScopePanel(final String[] modifiers, final Options options) {
JPanel panel = new JPanel(new BorderLayout());
panel.setBorder(BorderFactory.createCompoundBorder(IdeBorderFactory.createTitledBorder(InspectionsBundle.message("inspection.scope.for.title")),
panel.setBorder(BorderFactory.createCompoundBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
InspectionsBundle.message("inspection.scope.for.title")),
BorderFactory.createEmptyBorder(0, 3, 3, 3)));
final Hashtable<Integer, JLabel> sliderLabels = new Hashtable<Integer, JLabel>();
@@ -181,7 +181,8 @@ public class CyclicDependenciesAction extends AnAction{
}
protected JComponent createCenterPanel() {
myScopePanel.setBorder(IdeBorderFactory.createTitledBorder(AnalysisScopeBundle.message("analysis.scope.title", myAnalysisNoun)));
myScopePanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
AnalysisScopeBundle.message("analysis.scope.title", myAnalysisNoun)));
myProjectButton.setText(AnalysisScopeBundle.message("cyclic.dependencies.scope.dialog.project.button", myAnalysisVerb));
ButtonGroup group = new ButtonGroup();
group.add(myProjectButton);
@@ -72,7 +72,7 @@ public class FindClassUsagesDialog extends JavaFindUsagesDialog<JavaClassFindUsa
protected JPanel createFindWhatPanel() {
JPanel findWhatPanel = new JPanel();
findWhatPanel.setBorder(IdeBorderFactory.createTitledBorder(FindBundle.message("find.what.group")));
findWhatPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(FindBundle.message("find.what.group")));
findWhatPanel.setLayout(new BoxLayout(findWhatPanel, BoxLayout.Y_AXIS));
myCbUsages = addCheckboxToPanel(FindBundle.message("find.what.usages.checkbox"), getFindUsagesOptions().isUsages, findWhatPanel, true);
@@ -56,7 +56,7 @@ public class FindMethodUsagesDialog extends JavaFindUsagesDialog<JavaMethodFindU
protected JPanel createFindWhatPanel() {
JPanel findWhatPanel = new JPanel();
findWhatPanel.setBorder(IdeBorderFactory.createTitledBorder(FindBundle.message("find.what.group")));
findWhatPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(FindBundle.message("find.what.group")));
findWhatPanel.setLayout(new BoxLayout(findWhatPanel, BoxLayout.Y_AXIS));
myCbUsages = addCheckboxToPanel(FindBundle.message("find.what.usages.checkbox"), getFindUsagesOptions().isUsages, findWhatPanel, true);
@@ -52,7 +52,7 @@ public class FindPackageUsagesDialog extends JavaFindUsagesDialog<JavaPackageFin
protected JPanel createFindWhatPanel() {
JPanel findWhatPanel = new JPanel();
findWhatPanel.setBorder(IdeBorderFactory.createTitledBorder(FindBundle.message("find.what.group")));
findWhatPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(FindBundle.message("find.what.group")));
findWhatPanel.setLayout(new BoxLayout(findWhatPanel, BoxLayout.Y_AXIS));
myCbUsages = addCheckboxToPanel(FindBundle.message("find.what.usages.checkbox"), getFindUsagesOptions().isUsages, findWhatPanel, true);
@@ -69,7 +69,7 @@ public class FindThrowUsagesDialog extends JavaFindUsagesDialog<JavaThrowFindUsa
protected JPanel createFindWhatPanel() {
final JPanel findWhatPanel = new JPanel();
findWhatPanel.setBorder(IdeBorderFactory.createTitledBorder(FindBundle.message("find.what.group")));
findWhatPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(FindBundle.message("find.what.group")));
findWhatPanel.setLayout(new BoxLayout(findWhatPanel, BoxLayout.Y_AXIS));
myCbUsages = addCheckboxToPanel(FindBundle.message("find.what.usages.checkbox") , myFindUsagesOptions.isUsages, findWhatPanel, true);
@@ -224,7 +224,8 @@ class AnonymousToInnerDialog extends DialogWrapper{
AnonymousToInnerDialog.this.doCancelAction();
}
};
panel.setBorder(IdeBorderFactory.createTitledBorder(RefactoringBundle.message("anonymousToInner.parameters.panel.border.title")));
panel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
RefactoringBundle.message("anonymousToInner.parameters.panel.border.title")));
return panel;
}
@@ -319,7 +319,8 @@ public String getAccessorsVisibility() {
leftBox.add(Box.createVerticalStrut(10));
leftBox.add(myCbUseAccessorsWhenAccessible);
JPanel leftPanel = new JPanel(new BorderLayout());
leftPanel.setBorder(IdeBorderFactory.createTitledBorder(RefactoringBundle.message("encapsulate.fields.encapsulate.border.title")));
leftPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
RefactoringBundle.message("encapsulate.fields.encapsulate.border.title")));
leftPanel.add(leftBox, BorderLayout.CENTER);
leftPanel.add(Box.createHorizontalStrut(5), BorderLayout.WEST);
@@ -342,7 +343,8 @@ public String getAccessorsVisibility() {
fieldsBox.add(myRbFieldProtected);
fieldsBox.add(myRbFieldAsIs);
JPanel fieldsVisibilityPanel = new JPanel(new BorderLayout());
fieldsVisibilityPanel.setBorder(IdeBorderFactory.createTitledBorder(RefactoringBundle.message("encapsulate.fields..encapsulated.fields.visibility.border.title")));
fieldsVisibilityPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
RefactoringBundle.message("encapsulate.fields..encapsulated.fields.visibility.border.title")));
fieldsVisibilityPanel.add(fieldsBox, BorderLayout.CENTER);
fieldsVisibilityPanel.add(Box.createHorizontalStrut(5), BorderLayout.WEST);
@@ -352,7 +354,8 @@ public String getAccessorsVisibility() {
methodsBox.add(myRbAccessorPackageLocal);
methodsBox.add(myRbAccessorPrivate);
JPanel methodsVisibilityPanel = new JPanel(new BorderLayout());
methodsVisibilityPanel.setBorder(IdeBorderFactory.createTitledBorder(RefactoringBundle.message("encapsulate.fields.accessors.visibility.border.title")));
methodsVisibilityPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
RefactoringBundle.message("encapsulate.fields.accessors.visibility.border.title")));
methodsVisibilityPanel.add(methodsBox, BorderLayout.CENTER);
methodsVisibilityPanel.add(Box.createHorizontalStrut(5), BorderLayout.WEST);
@@ -392,7 +395,8 @@ public String getAccessorsVisibility() {
JScrollPane scrollPane = ScrollPaneFactory.createScrollPane(myTable);
// JLabel label = new JLabel("Fields to Encapsulate");
// CompTitledBorder titledBorder = new CompTitledBorder(label);
Border titledBorder = IdeBorderFactory.createTitledBorder(RefactoringBundle.message("encapsulate.fields.fields.to.encapsulate.border.title"));
Border titledBorder = IdeBorderFactory.createTitledBorderBoldWithIndent(
RefactoringBundle.message("encapsulate.fields.fields.to.encapsulate.border.title"));
Border emptyBorder = BorderFactory.createEmptyBorder(0, 5, 5, 5);
Border border = BorderFactory.createCompoundBorder(titledBorder, emptyBorder);
scrollPane.setBorder(border);
@@ -2,7 +2,7 @@
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.intellij.refactoring.extractMethodObject.ExtractMethodObjectDialog">
<grid id="27dc6" binding="myWholePanel" layout-manager="GridBagLayout">
<constraints>
<xy x="20" y="320" width="509" height="310"/>
<xy x="35" y="92" width="509" height="321"/>
</constraints>
<properties/>
<border type="none"/>
@@ -24,7 +24,7 @@
</hspacer>
<grid id="9a27a" binding="myInnerClassPanel" layout-manager="GridBagLayout">
<constraints>
<grid row="1" column="0" row-span="2" col-span="3" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<grid row="1" column="0" row-span="1" col-span="3" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<gridbag top="5" left="0" bottom="0" right="0" weightx="0.0" weighty="0.0"/>
</constraints>
<properties/>
@@ -46,6 +46,7 @@
<grid row="0" column="1" row-span="1" col-span="5" vsize-policy="0" hsize-policy="7" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
<gridbag weightx="1.0" weighty="0.0"/>
</constraints>
<properties/>
</component>
<component id="e9869" class="javax.swing.JLabel">
<constraints>
@@ -114,7 +115,7 @@
</grid>
<component id="2ffe3" class="javax.swing.JRadioButton" binding="myCreateAnonymousClassWrapperRb">
<constraints>
<grid row="3" column="0" row-span="1" col-span="3" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="2" column="0" row-span="1" col-span="3" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<gridbag top="10" left="0" bottom="0" right="0" weightx="0.0" weighty="0.0"/>
</constraints>
<properties>
@@ -123,7 +124,7 @@
</component>
<grid id="36cb" binding="myAnonymousClassPanel" layout-manager="GridBagLayout">
<constraints>
<grid row="4" column="0" row-span="1" col-span="3" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<grid row="3" column="0" row-span="1" col-span="3" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<gridbag top="0" left="20" bottom="0" right="0" weightx="0.0" weighty="0.0"/>
</constraints>
<properties/>
@@ -145,6 +146,7 @@
<grid row="0" column="1" row-span="1" col-span="5" vsize-policy="0" hsize-policy="7" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
<gridbag weightx="1.0" weighty="0.0"/>
</constraints>
<properties/>
</component>
<component id="8f184" class="javax.swing.JCheckBox" binding="myCbMakeVarargsAnonymous">
<constraints>
@@ -157,9 +159,9 @@
</component>
</children>
</grid>
<scrollpane class="com.intellij.ui.components.JBScrollPane" id="54db0">
<scrollpane id="54db0" class="com.intellij.ui.components.JBScrollPane">
<constraints>
<grid row="10" column="0" row-span="1" col-span="3" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<grid row="9" column="0" row-span="1" col-span="3" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<gridbag top="5" left="5" bottom="0" right="0" weightx="0.0" weighty="0.5"/>
</constraints>
<properties>
@@ -177,7 +179,7 @@
</scrollpane>
<grid id="70155" binding="myParametersTableContainer" layout-manager="BorderLayout" hgap="0" vgap="0">
<constraints>
<grid row="6" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<grid row="5" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<gridbag weightx="1.0" weighty="0.5"/>
</constraints>
<properties/>
@@ -186,31 +188,31 @@
</grid>
<component id="bec51" class="com.intellij.ui.TitledSeparator">
<constraints>
<grid row="8" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="7" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
<grid row="7" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="7" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
<gridbag top="10" left="0" bottom="0" right="0" weightx="0.0" weighty="0.0"/>
</constraints>
<properties>
<text value="Signature preview"/>
</properties>
</component>
<component id="6d7aa" class="com.intellij.ui.TitledSeparator">
<constraints>
<grid row="5" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="7" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
<gridbag top="10" left="0" bottom="0" right="0" weightx="0.0" weighty="0.0"/>
</constraints>
<properties>
<text value="Parameters"/>
</properties>
</component>
<component id="9c206" class="javax.swing.JCheckBox" binding="myFoldCb" default-binding="true">
<constraints>
<grid row="7" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
<grid row="6" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
<gridbag weightx="0.0" weighty="0.0"/>
</constraints>
<properties>
<text resource-bundle="messages/RefactoringBundle" key="declare.folded.parameters"/>
</properties>
</component>
<component id="6d7aa" class="com.intellij.ui.TitledSeparator">
<constraints>
<grid row="4" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="7" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
<gridbag top="10" left="0" bottom="0" right="0" weightx="0.0" weighty="0.0"/>
</constraints>
<properties>
<text value="Parameters"/>
</properties>
</component>
</children>
</grid>
<buttonGroups>
@@ -135,7 +135,7 @@ public class IntroduceFieldDialogPanel extends IntroduceFieldCentralPanel {
mainPanel.setLayout(new BorderLayout());
JPanel initializationPanel = new JPanel();
initializationPanel.setBorder(IdeBorderFactory.createTitledBorder(RefactoringBundle.message("initialize.in.border.title")));
initializationPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(RefactoringBundle.message("initialize.in.border.title")));
initializationPanel.setLayout(new BoxLayout(initializationPanel, BoxLayout.Y_AXIS));
@@ -38,7 +38,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title="Parameter Class"/>
<children>
@@ -196,7 +196,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title="Parameters to Extract"/>
<children/>
@@ -195,7 +195,8 @@ public class MoveMembersDialog extends RefactoringDialog implements MoveMembersO
table.getSelectionModel().addSelectionInterval(0, 0);
}
JScrollPane scrollPane = ScrollPaneFactory.createScrollPane(table);
Border titledBorder = IdeBorderFactory.createTitledBorder(RefactoringBundle.message("move.members.members.to.be.moved.border.title"));
Border titledBorder = IdeBorderFactory.createTitledBorderBoldWithIndent(
RefactoringBundle.message("move.members.members.to.be.moved.border.title"));
Border emptyBorder = BorderFactory.createEmptyBorder(0, 5, 5, 5);
Border border = BorderFactory.createCompoundBorder(titledBorder, emptyBorder);
scrollPane.setBorder(border);
@@ -197,7 +197,7 @@ public class ReplaceConstructorWithBuilderDialog extends RefactoringDialog {
myTable.getSelectionModel().setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
final JScrollPane scrollPane = ScrollPaneFactory.createScrollPane(myTable);
//final Border titledBorder = IdeBorderFactory.createTitledBorder("Parameters to Pass to the Builder");
//final Border titledBorder = IdeBorderFactory.createBoldTitledBorder("Parameters to Pass to the Builder");
//final Border emptyBorder = BorderFactory.createEmptyBorder(0, 5, 5, 5);
//final Border border = BorderFactory.createCompoundBorder(titledBorder, emptyBorder);
//scrollPane.setBorder(border);
@@ -161,7 +161,7 @@ class OverridingMethodsDialog extends DialogWrapper {
/*Border titledBorder = IdeBorderFactory.createTitledBorder("Select methods");
/*Border titledBorder = IdeBorderFactory.createBoldTitledBorder("Select methods");
Border emptyBorder = BorderFactory.createEmptyBorder(0, 5, 5, 5);
Border border = BorderFactory.createCompoundBorder(titledBorder, emptyBorder);
panel.setBorder(border);*/
@@ -33,7 +33,6 @@ import javax.swing.*;
import javax.swing.event.ChangeEvent;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.util.EventListener;
public class JavaVisibilityPanel extends VisibilityPanelBase {
private JRadioButton myRbAsIs;
@@ -44,7 +43,7 @@ public class JavaVisibilityPanel extends VisibilityPanelBase {
private final JRadioButton myRbPublic;
public JavaVisibilityPanel(boolean hasAsIs, final boolean hasEscalate) {
setBorder(IdeBorderFactory.createTitledBorder(RefactoringBundle.message("visibility.border.title")));
setBorder(IdeBorderFactory.createTitledBorderSimpleWithIndent(RefactoringBundle.message("visibility.border.title")));
setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
ButtonGroup bg = new ButtonGroup();
@@ -25,7 +25,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
<html.disable class="java.lang.Boolean" value="false"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/ApplicationBundle" title-key="title.code.completion"/>
@@ -197,7 +197,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/ApplicationBundle" title-key="title.parameter.info"/>
<children>
@@ -129,7 +129,7 @@ public class FontOptions extends JPanel implements OptionsPanel{
private JPanel createEditorFontPanel() {
JPanel editorFontPanel = new JPanel();
editorFontPanel.setBorder(IdeBorderFactory.createTitledBorder(myTitle));
editorFontPanel.setBorder(IdeBorderFactory.createTitledBorderSimpleWithoutIndent(myTitle));
editorFontPanel.setLayout(new GridBagLayout());
GridBagConstraints gbConstraints = new GridBagConstraints();
gbConstraints.fill = GridBagConstraints.HORIZONTAL;
@@ -7,7 +7,7 @@
<properties/>
<border type="none"/>
<children>
<grid id="b689b" binding="myBehaviourPanel" layout-manager="GridLayoutManager" row-count="6" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<grid id="b689b" binding="myBehaviourPanel" layout-manager="GridLayoutManager" row-count="2" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
<tabbedpane title-resource-bundle="messages/ApplicationBundle" title-key="tab.editor.settings.behavior"/>
@@ -18,7 +18,7 @@
<grid id="efa8e" layout-manager="GridLayoutManager" row-count="6" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
<grid row="0" column="0" row-span="6" col-span="2" vsize-policy="3" hsize-policy="3" anchor="9" fill="0" indent="0" use-parent-layout="false"/>
<grid row="0" column="0" row-span="2" col-span="2" vsize-policy="3" hsize-policy="3" anchor="9" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties/>
<border type="none"/>
@@ -30,7 +30,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/ApplicationBundle" title-key="group.advanced.mouse.usages"/>
<children>
@@ -71,7 +71,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/ApplicationBundle" title-key="group.virtual.space"/>
<children>
@@ -175,7 +175,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/ApplicationBundle" title-key="group.brace.highlighting"/>
<children>
@@ -214,7 +214,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title="Scrolling"/>
<children>
@@ -254,13 +254,13 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/ApplicationBundle" title-key="group.limits"/>
<children>
<component id="498f1" class="javax.swing.JLabel">
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="0" anchor="8" fill="1" indent="1" use-parent-layout="false">
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="0" anchor="8" fill="1" indent="0" use-parent-layout="false">
<preferred-size width="247" height="14"/>
</grid>
</constraints>
@@ -280,7 +280,7 @@
</component>
<component id="48bb5" class="javax.swing.JLabel">
<constraints>
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="1" use-parent-layout="false">
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false">
<preferred-size width="247" height="14"/>
</grid>
</constraints>
@@ -290,7 +290,7 @@
</component>
<component id="f8fa5" class="javax.swing.JLabel">
<constraints>
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="1" use-parent-layout="false">
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false">
<preferred-size width="247" height="14"/>
</grid>
</constraints>
@@ -378,7 +378,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title="Formatting"/>
<children>
@@ -101,7 +101,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title="Enter"/>
<children>
@@ -16,7 +16,7 @@
<properties/>
<border type="none" title-resource-bundle="messages/ApplicationBundle" title-key="group.tab.appearance"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<component id="91ecb" class="javax.swing.JCheckBox" binding="myScrollTabLayoutInEditorCheckBox">
@@ -98,7 +98,7 @@
<properties/>
<border type="none" title-resource-bundle="messages/ApplicationBundle" title-key="group.tab.closing.policy"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<component id="3c616" class="javax.swing.JLabel">
@@ -7,7 +7,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/ApplicationBundle" title-key="group.error.highlighting"/>
<children>
@@ -243,7 +243,7 @@ class PrintDialog extends DialogWrapper {
private JPanel createOrientationPanel() {
JPanel panel1 = new JPanel();
panel1.setBorder(IdeBorderFactory.createTitledBorder(CodeEditorBundle.message("print.orientation.group")));
panel1.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(CodeEditorBundle.message("print.orientation.group")));
JPanel panel = panel1;
panel.setLayout(new GridBagLayout());
GridBagConstraints gbConstraints = new GridBagConstraints();
@@ -270,7 +270,7 @@ class PrintDialog extends DialogWrapper {
private JPanel createStylePanel() {
JPanel panel1 = new JPanel();
panel1.setBorder(IdeBorderFactory.createTitledBorder(CodeEditorBundle.message("print.style.group")));
panel1.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(CodeEditorBundle.message("print.style.group")));
JPanel panel = panel1;
panel.setLayout(new GridBagLayout());
GridBagConstraints gbConstraints = new GridBagConstraints();
@@ -297,7 +297,7 @@ class PrintDialog extends DialogWrapper {
private JPanel createWrappingPanel() {
JPanel panel1 = new JPanel();
panel1.setBorder(IdeBorderFactory.createTitledBorder(CodeEditorBundle.message("print.wrapping.group")));
panel1.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(CodeEditorBundle.message("print.wrapping.group")));
JPanel panel = panel1;
panel.setLayout(new GridBagLayout());
GridBagConstraints gbConstraints = new GridBagConstraints();
@@ -324,7 +324,7 @@ class PrintDialog extends DialogWrapper {
private JPanel createMarginsPanel() {
JPanel panel1 = new JPanel();
panel1.setBorder(IdeBorderFactory.createTitledBorder(CodeEditorBundle.message("print.margins.group")));
panel1.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(CodeEditorBundle.message("print.margins.group")));
JPanel panel = panel1;
panel.setLayout(new GridBagLayout());
GridBagConstraints gbConstraints = new GridBagConstraints();
@@ -415,7 +415,7 @@ class PrintDialog extends DialogWrapper {
private JPanel createLinePanel(String name, JTextField lineTextField, JComboBox linePlacementCombo, JComboBox lineAlignmentCombo) {
JPanel panel1 = new JPanel();
panel1.setBorder(IdeBorderFactory.createTitledBorder(name));
panel1.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(name));
JPanel panel = panel1;
panel.setLayout(new GridBagLayout());
GridBagConstraints gbConstraints = new GridBagConstraints();
@@ -121,7 +121,7 @@ public class HectorComponent extends JPanel {
GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0);
JPanel panel = new JPanel(new GridBagLayout());
panel.setBorder(IdeBorderFactory.createTitledBorder(myTitle));
panel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(myTitle));
final boolean addLabel = mySliders.size() > 1;
if (addLabel) {
layoutVertical(panel);
@@ -22,7 +22,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/CodeInsightBundle" title-key="powered.by"/>
<children/>
@@ -40,7 +40,7 @@
<alignmentY value="0.2"/>
</properties>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/CodeInsightBundle" title-key="dialog.intention.settings.description.panel.title"/>
<children>
@@ -69,7 +69,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/CodeInsightBundle" title-key="dialog.intention.settings.description.usage.example.title"/>
<children>
@@ -125,7 +125,8 @@ public class EditTemplateDialog extends DialogWrapper {
gbConstraints.gridx = 0;
JPanel panel1 = new JPanel();
panel1.setBorder(IdeBorderFactory.createTitledBorder(CodeInsightBundle.message("dialog.edit.template.template.text.title")));
panel1.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
CodeInsightBundle.message("dialog.edit.template.template.text.title")));
panel1.setPreferredSize(new Dimension(500, 160));
panel1.setMinimumSize(new Dimension(500, 160));
panel1.setLayout(new BorderLayout());
@@ -230,7 +231,7 @@ public class EditTemplateDialog extends DialogWrapper {
private JPanel createTemplateOptionsPanel() {
JPanel panel = new JPanel();
panel.setBorder(IdeBorderFactory.createTitledBorder(CodeInsightBundle.message("dialog.edit.template.options.title")));
panel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(CodeInsightBundle.message("dialog.edit.template.options.title")));
panel.setLayout(new GridBagLayout());
GridBagConstraints gbConstraints = new GridBagConstraints();
gbConstraints.fill = GridBagConstraints.BOTH;
@@ -281,7 +282,7 @@ public class EditTemplateDialog extends DialogWrapper {
};
JPanel panel = new JPanel();
panel.setBorder(IdeBorderFactory.createTitledBorder(CodeInsightBundle.message("dialog.edit.template.context.title")));
panel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(CodeInsightBundle.message("dialog.edit.template.context.title")));
panel.setLayout(new GridBagLayout());
GridBagConstraints gbConstraints = new GridBagConstraints();
gbConstraints.fill = GridBagConstraints.BOTH;
@@ -95,7 +95,8 @@ class EditVariableDialog extends DialogWrapper {
protected JComponent createCenterPanel() {
JPanel panel = new JPanel();
panel.setBorder(IdeBorderFactory.createTitledBorder(CodeInsightBundle.message("templates.dialog.edit.variables.border.title")));
panel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
CodeInsightBundle.message("templates.dialog.edit.variables.border.title")));
panel.setLayout(new BorderLayout());
panel.add(createVariablesTable(), BorderLayout.CENTER);
if (hasMoveVars) panel.add(createTableButtonPanel(), BorderLayout.EAST);
@@ -26,8 +26,8 @@ public class ConsoleFoldingConfigurable implements SearchableConfigurable {
public JComponent createComponent() {
if (myMainComponent == null) {
myMainComponent = new JPanel(new VerticalFlowLayout());
myPositivePanel = new MyAddDeleteListPanel("Fold console lines that contain:", "Enter a substring of a console line you'd like to see folded:");
myNegativePanel = new MyAddDeleteListPanel("Exceptions:", "Enter a substring of a console line you don't want to fold:");
myPositivePanel = new MyAddDeleteListPanel("Fold console lines that contain", "Enter a substring of a console line you'd like to see folded:");
myNegativePanel = new MyAddDeleteListPanel("Exceptions", "Enter a substring of a console line you don't want to fold:");
myMainComponent.add(myPositivePanel);
myMainComponent.add(myNegativePanel);
@@ -29,7 +29,7 @@
<properties/>
<border type="etched" title-resource-bundle="messages/ExecutionBundle" title-key="before.launch.panel.title"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children/>
</grid>
@@ -258,7 +258,7 @@ public abstract class AbstractFindUsagesDialog extends DialogWrapper {
@Nullable
protected JPanel createUsagesOptionsPanel() {
JPanel optionsPanel = new JPanel();
optionsPanel.setBorder(IdeBorderFactory.createTitledBorder(FindBundle.message("find.options.group")));
optionsPanel.setBorder(IdeBorderFactory.createTitledBorderSimpleWithIndent(FindBundle.message("find.options.group")));
optionsPanel.setLayout(new BoxLayout(optionsPanel, BoxLayout.Y_AXIS));
addUsagesOptions(optionsPanel);
return optionsPanel.getComponents().length == 0 ? null : optionsPanel;
@@ -401,7 +401,7 @@ class FindDialog extends DialogWrapper {
private JComponent createFilterPanel() {
JPanel filterPanel = new JPanel();
filterPanel.setLayout(new BorderLayout());
filterPanel.setBorder(IdeBorderFactory.createTitledBorder(FindBundle.message("find.filter.file.name.group")));
filterPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(FindBundle.message("find.filter.file.name.group")));
myFileFilter = new ComboBox(100);
initCombobox(myFileFilter);
@@ -577,7 +577,7 @@ class FindDialog extends DialogWrapper {
private JPanel createFindOptionsPanel() {
JPanel findOptionsPanel = new JPanel();
findOptionsPanel.setBorder(IdeBorderFactory.createTitledBorder(FindBundle.message("find.options.group")));
findOptionsPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(FindBundle.message("find.options.group")));
findOptionsPanel.setLayout(new BoxLayout(findOptionsPanel, BoxLayout.Y_AXIS));
myCbCaseSensitive = createCheckbox(FindBundle.message("find.options.case.sensitive"));
@@ -697,7 +697,7 @@ class FindDialog extends DialogWrapper {
private JPanel createDirectionPanel() {
JPanel directionPanel = new JPanel();
directionPanel.setBorder(IdeBorderFactory.createTitledBorder(FindBundle.message("find.direction.group")));
directionPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(FindBundle.message("find.direction.group")));
directionPanel.setLayout(new BoxLayout(directionPanel, BoxLayout.Y_AXIS));
myRbForward = new JRadioButton(FindBundle.message("find.direction.forward.radio"), true);
@@ -714,7 +714,7 @@ class FindDialog extends DialogWrapper {
private JComponent createGlobalScopePanel() {
JPanel scopePanel = new JPanel();
scopePanel.setLayout(new GridBagLayout());
scopePanel.setBorder(IdeBorderFactory.createTitledBorder(FindBundle.message("find.scope.group")));
scopePanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(FindBundle.message("find.scope.group")));
GridBagConstraints gbConstraints = new GridBagConstraints();
gbConstraints.fill = GridBagConstraints.HORIZONTAL;
gbConstraints.gridx = 0;
@@ -881,7 +881,7 @@ class FindDialog extends DialogWrapper {
private JPanel createScopePanel() {
JPanel scopePanel = new JPanel();
scopePanel.setBorder(IdeBorderFactory.createTitledBorder(FindBundle.message("find.scope.group")));
scopePanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(FindBundle.message("find.scope.group")));
scopePanel.setLayout(new BoxLayout(scopePanel, BoxLayout.Y_AXIS));
myRbGlobal = new JRadioButton(FindBundle.message("find.scope.global.radio"), true);
@@ -905,7 +905,7 @@ class FindDialog extends DialogWrapper {
private JPanel createOriginPanel() {
JPanel originPanel = new JPanel();
originPanel.setBorder(IdeBorderFactory.createTitledBorder(FindBundle.message("find.origin.group")));
originPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(FindBundle.message("find.origin.group")));
originPanel.setLayout(new BoxLayout(originPanel, BoxLayout.Y_AXIS));
myRbFromCursor = new JRadioButton(FindBundle.message("find.origin.from.cursor.radio"), true);
@@ -24,6 +24,7 @@ import com.intellij.openapi.project.Project;
import com.intellij.openapi.ui.DialogWrapper;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.ui.ScrollPaneFactory;
import com.intellij.ui.SeparatorFactory;
import com.intellij.ui.components.JBList;
import javax.swing.*;
@@ -118,8 +119,9 @@ public final class MacrosDialog extends DialogWrapper {
constr = new GridBagConstraints();
constr.gridy = 0;
constr.anchor = GridBagConstraints.WEST;
constr.fill = GridBagConstraints.HORIZONTAL;
constr.insets = new Insets(5, 5, 0, 5);
panel.add(new JLabel(IdeBundle.message("label.macros")), constr);
panel.add(SeparatorFactory.createSeparator(IdeBundle.message("label.macros"), null), constr);
// macros list
constr = new GridBagConstraints();
@@ -138,8 +140,9 @@ public final class MacrosDialog extends DialogWrapper {
constr.gridx = 0;
constr.gridy = 2;
constr.anchor = GridBagConstraints.WEST;
constr.fill = GridBagConstraints.HORIZONTAL;
constr.insets = new Insets(5, 5, 0, 5);
panel.add(new JLabel(IdeBundle.message("label.macro.preview")), constr);
panel.add(SeparatorFactory.createSeparator(IdeBundle.message("label.macro.preview"), null), constr);
// preview
constr = new GridBagConstraints();
@@ -127,7 +127,7 @@ class FilterDialog extends DialogWrapper {
new GridBagConstraints(1, 0, 1, 1, 1, 0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 5, 0), 0, 0));
JPanel patternsPanel = new JPanel(new GridBagLayout());
Border border = IdeBorderFactory.createTitledBorder(IdeBundle.message("group.todo.filter.patterns"));
Border border = IdeBorderFactory.createTitledBorderBoldWithIndent(IdeBundle.message("group.todo.filter.patterns"));
patternsPanel.setBorder(border);
myTable.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
JScrollPane scrollPane = ScrollPaneFactory.createScrollPane(myTable);
@@ -27,7 +27,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/IdeBundle" title-key="editbox.ignore.files.and.folders"/>
<children>
@@ -8,7 +8,7 @@
<properties/>
<border type="etched" title-resource-bundle="messages/FileTypesBundle" title-key="filetype.registered.patterns.group"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<scrollpane class="com.intellij.ui.components.JBScrollPane" id="6d594">
@@ -8,7 +8,7 @@
<properties/>
<border type="etched" title-resource-bundle="messages/FileTypesBundle" title-key="filetypes.recognized.group"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<scrollpane class="com.intellij.ui.components.JBScrollPane" id="de9d1">
@@ -87,7 +87,7 @@ public class RegistryUi implements Disposable {
myDescriptionLabel = new JTextArea(3, 50);
myDescriptionLabel.setEditable(false);
final JScrollPane label = ScrollPaneFactory.createScrollPane(myDescriptionLabel);
label.setBorder(IdeBorderFactory.createTitledBorder("Description"));
label.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent("Description"));
myContent.add(ScrollPaneFactory.createScrollPane(myTable), BorderLayout.CENTER);
myContent.add(label, BorderLayout.SOUTH);
@@ -7,7 +7,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title=""/>
<children>
@@ -877,7 +877,7 @@ public class SingleInspectionProfilePanel extends JPanel {
fillTreeData(myProfileFilter != null ? myProfileFilter.getFilter() : null, true);
JPanel descriptionPanel = new JPanel(new BorderLayout());
//descriptionPanel.setBorder(IdeBorderFactory.createTitledBorder(InspectionsBundle.message("inspection.description.title")));
//descriptionPanel.setBorder(IdeBorderFactory.createBoldTitledBorder(InspectionsBundle.message("inspection.description.title")));
descriptionPanel.add(ScrollPaneFactory.createScrollPane(myBrowser), BorderLayout.CENTER);
Splitter rightPanel = new Splitter(true);
@@ -203,10 +203,10 @@ public abstract class CallerChooserBase<M extends PsiElement> extends DialogWrap
myCallerEditor = createEditor();
myCalleeEditor = createEditor();
final JComponent callerComponent = myCallerEditor.getComponent();
callerComponent.setBorder(IdeBorderFactory.createTitledBorder(RefactoringBundle.message("caller.chooser.caller.method")));
callerComponent.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(RefactoringBundle.message("caller.chooser.caller.method")));
splitter.setFirstComponent(callerComponent);
final JComponent calleeComponent = myCalleeEditor.getComponent();
calleeComponent.setBorder(IdeBorderFactory.createTitledBorder(RefactoringBundle.message("caller.chooser.callee.method")));
calleeComponent.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(RefactoringBundle.message("caller.chooser.callee.method")));
splitter.setSecondComponent(calleeComponent);
splitter.setBorder(IdeBorderFactory.createRoundedBorder());
return splitter;
@@ -48,7 +48,7 @@
<properties/>
<border type="etched" title-resource-bundle="messages/RefactoringBundle" title-key="refactoring.extract.method.dialog.parameters"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<component id="d4ee9" class="com.intellij.refactoring.extractMethod.AbstractParameterTablePanel" binding="myParametersPanel" custom-create="true">
@@ -50,7 +50,7 @@ public abstract class InlineOptionsDialog extends RefactoringDialog implements I
protected JComponent createCenterPanel() {
myOptionsPanel = new JPanel();
myOptionsPanel.setBorder(IdeBorderFactory.createTitledBorder(getBorderTitle()));
myOptionsPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(getBorderTitle()));
myOptionsPanel.setLayout(new BoxLayout(myOptionsPanel, BoxLayout.Y_AXIS));
myRbInlineAll = new JRadioButton();
@@ -40,7 +40,7 @@ public class DocCommentPanel extends JPanel {
public DocCommentPanel(String title) {
setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
myBorder = IdeBorderFactory.createTitledBorder(title);
myBorder = IdeBorderFactory.createTitledBorderBoldWithIndent(title);
this.setBorder(myBorder);
myRbJavaDocAsIs = new JRadioButton();
@@ -111,7 +111,7 @@ class FilterDialog extends DialogWrapper {
makePopup();
panel.setPreferredSize(new Dimension(335, 150));
panel.setPreferredSize(new Dimension(335, 160));
mainPanel.add(panel, BorderLayout.NORTH);
@@ -463,7 +463,7 @@ public class ToolEditorDialog extends DialogWrapper {
private JPanel getShowInPanel() {
JPanel panel = new JPanel(new GridLayout(2, 2, 10, 3));
panel.setBorder(IdeBorderFactory.createTitledBorder(ToolsBundle.message("tools.menu.group")));
panel.setBorder(IdeBorderFactory.createTitledBorderSimpleWithIndent(ToolsBundle.message("tools.menu.group")));
panel.add(myShowInMainMenuCheckbox);
panel.add(myShowInEditorCheckbox);
panel.add(myShowInProjectTreeCheckbox);
@@ -100,7 +100,7 @@ public class FileColorsConfigurablePanel extends JPanel implements Disposable {
})
.createPanel();
final JPanel localPanel = new JPanel(new BorderLayout());
localPanel.setBorder(IdeBorderFactory.createTitledBorder("Local colors:"));
localPanel.setBorder(IdeBorderFactory.createTitledBorderSimpleWithoutIndent("Local colors:"));
localPanel.add(panel, BorderLayout.CENTER);
mainPanel.add(localPanel);
@@ -120,7 +120,7 @@ public class FileColorsConfigurablePanel extends JPanel implements Disposable {
};
final JPanel sharedPanel = new JPanel(new BorderLayout());
sharedPanel.setBorder(IdeBorderFactory.createTitledBorder("Shared colors:"));
sharedPanel.setBorder(IdeBorderFactory.createTitledBorderSimpleWithoutIndent("Shared colors:"));
final JPanel shared = ToolbarDecorator.createDecorator(mySharedTable)
.addExtraAction(new AnActionButton("Unshare", UNSHARE) {
@Override
@@ -75,7 +75,7 @@ public abstract class AddDeleteListPanel<T> extends PanelWithButtons implements
setLayout(new BorderLayout());
add(decorator.createPanel(), BorderLayout.CENTER);
if (myTitle != null) {
setBorder(IdeBorderFactory.createTitledBorder(myTitle));
setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(myTitle));
}
}
@@ -72,7 +72,7 @@ public abstract class AddEditRemovePanel<T> extends PanelWithButtons implements
final String label = getLabelText();
if (label != null) {
setBorder(IdeBorderFactory.createTitledBorder(label));
setBorder(IdeBorderFactory.createTitledBorderSimpleWithoutIndent(label));
}
final JPanel panel = ToolbarDecorator.createDecorator(myTable)
@@ -125,7 +125,7 @@ public class GuiUtils {
public static JPanel makeTitledPanel(JComponent aComponent, String aTitle) {
JPanel result = makePaddedPanel(aComponent, false, true, false, true);
return wrapWithBorder(result, IdeBorderFactory.createTitledBorder(aTitle));
return wrapWithBorder(result, IdeBorderFactory.createTitledBorderBoldWithIndent(aTitle));
}
@@ -64,7 +64,7 @@ public class OptionGroup {
public JPanel createPanel() {
JPanel panel = new JPanel();
if (myTitle != null) {
panel.setBorder(IdeBorderFactory.createTitledBorder(myTitle));
panel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(myTitle));
}
panel.setLayout(new GridBagLayout());
@@ -18,7 +18,6 @@ package com.intellij.ui;
import org.jetbrains.annotations.Nullable;
import javax.swing.*;
import javax.swing.border.EtchedBorder;
import java.awt.*;
public abstract class PanelWithButtons extends JPanel {
@@ -32,7 +31,7 @@ public abstract class PanelWithButtons extends JPanel {
String labelText = getLabelText();
if (labelText != null) {
setBorder(IdeBorderFactory.createTitledBorder(labelText));
setBorder(IdeBorderFactory.createTitledBorderSimpleWithoutIndent(labelText));
}
add(
@@ -16,7 +16,7 @@
<properties/>
<border type="etched" title-resource-bundle="messages/DiagnosticBundle" title-key="diagnostic.error.report.login.group"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<grid id="feb2" layout-manager="GridLayoutManager" row-count="2" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
@@ -48,7 +48,7 @@ public class BrowserSettingsPanel extends JPanel {
// generic system browser
final JPanel genericPanel = new JPanel();
genericPanel.setBorder(IdeBorderFactory.createTitledBorder("Default Web Browser"));
genericPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent("Default Web Browser"));
genericPanel.setLayout(new BoxLayout(genericPanel, BoxLayout.Y_AXIS));
final JPanel innerPanel1 = new JPanel(new BorderLayout());
@@ -20,7 +20,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="etched" title="Startup/Shutdown"/>
<children>
@@ -66,7 +66,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="etched" title="Synchronization"/>
<children>
@@ -144,11 +144,11 @@ public class CustomFileTypeEditor extends SettingsEditor<AbstractFileType> {
fileTypePanel.add(_panel0, BorderLayout.NORTH);
JPanel panel1 = new JPanel();
panel1.setBorder(IdeBorderFactory.createTitledBorder(IdeBundle.message("group.customfiletype.syntax.highlighting")));
panel1.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(IdeBundle.message("group.customfiletype.syntax.highlighting")));
JPanel highlighterPanel = panel1;
highlighterPanel.setLayout(new BorderLayout());
JPanel panel2 = new JPanel();
panel2.setBorder(IdeBorderFactory.createTitledBorder(IdeBundle.message("group.customfiletype.options")));
panel2.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(IdeBundle.message("group.customfiletype.options")));
JPanel commentsAndNumbersPanel = panel2;
commentsAndNumbersPanel.setLayout(new GridBagLayout());
@@ -231,7 +231,7 @@ public class CustomFileTypeEditor extends SettingsEditor<AbstractFileType> {
private JPanel createKeywordsPanel(final int index) {
JPanel panel = new JPanel();
panel.setBorder(IdeBorderFactory.createTitledBorder(IdeBundle.message("listbox.customfiletype.keywords")));
panel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(IdeBundle.message("listbox.customfiletype.keywords")));
JPanel keywordsPanel = panel;
keywordsPanel.setLayout(new BorderLayout());
@@ -15,7 +15,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="etched" title="Remembering passwords"/>
<children>
@@ -39,7 +39,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="etched" title-resource-bundle="messages/IdeBundle" title-key="group.vendor"/>
<children>
@@ -119,7 +119,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/IdeBundle" title-key="editbox.plugin.description"/>
<children>
@@ -152,7 +152,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/IdeBundle" title-key="editbox.plugin.change.notes"/>
<children>
@@ -199,7 +199,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="etched" title-resource-bundle="messages/IdeBundle" title-key="label.plugin.home.page"/>
<children>
@@ -222,7 +222,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="etched" title-resource-bundle="messages/IdeBundle" title-key="plugin.version.label"/>
<children>
@@ -23,7 +23,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="etched" title-resource-bundle="messages/IdeBundle" title-key="group.ui.options"/>
<children>
@@ -178,7 +178,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="etched" title-resource-bundle="messages/IdeBundle" title-key="group.transparency"/>
<children>
@@ -234,7 +234,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="etched" title-resource-bundle="messages/IdeBundle" title-key="group.window.options"/>
<children>
@@ -97,7 +97,7 @@ public class KeyboardShortcutDialog extends DialogWrapper {
JPanel previewPanel = new JPanel(new BorderLayout());
previewPanel.setBorder(
BorderFactory.createCompoundBorder(
IdeBorderFactory.createTitledBorder(KeyMapBundle.message("shortcut.preview.ide.border.factory.title")),
IdeBorderFactory.createTitledBorderBoldWithIndent(KeyMapBundle.message("shortcut.preview.ide.border.factory.title")),
BorderFactory.createEmptyBorder(5,5,5,5)
)
);
@@ -110,7 +110,7 @@ public class KeyboardShortcutDialog extends DialogWrapper {
// Conflicts
JPanel conflictsPanel = new JPanel(new BorderLayout());
conflictsPanel.setBorder(IdeBorderFactory.createTitledBorder(KeyMapBundle.message("conflicts.ide.border.factory.title")));
conflictsPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(KeyMapBundle.message("conflicts.ide.border.factory.title")));
myConflictInfoArea.setEditable(false);
myConflictInfoArea.setBackground(panel.getBackground());
myConflictInfoArea.setLineWrap(true);
@@ -248,7 +248,7 @@ public class KeyboardShortcutDialog extends DialogWrapper {
setLayout(new BorderLayout());
setBorder(
BorderFactory.createCompoundBorder(
IdeBorderFactory.createTitledBorder(borderText),
IdeBorderFactory.createTitledBorderBoldWithIndent(borderText),
BorderFactory.createEmptyBorder(5,5,5,5)
)
);
@@ -124,7 +124,8 @@ class MouseShortcutDialog extends DialogWrapper{
// Single/Double click
JPanel clickCountPanel=new JPanel(new GridBagLayout());
clickCountPanel.setBorder(IdeBorderFactory.createTitledBorder(KeyMapBundle.message("mouse.shortcut.dialog.click.count.border")));
clickCountPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
KeyMapBundle.message("mouse.shortcut.dialog.click.count.border")));
panel.add(
clickCountPanel,
new GridBagConstraints(0,0,1,1,1,0,GridBagConstraints.CENTER,GridBagConstraints.HORIZONTAL,new Insets(0,0,4,0),0,0)
@@ -153,14 +154,16 @@ class MouseShortcutDialog extends DialogWrapper{
clickPadPanel,
new GridBagConstraints(0,1,1,1,1,0,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(0,0,4,0),0,0)
);
clickPadPanel.setBorder(IdeBorderFactory.createTitledBorder(KeyMapBundle.message("mouse.shortcut.dialog.click.pad.border")));
clickPadPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
KeyMapBundle.message("mouse.shortcut.dialog.click.pad.border")));
myClickPad.setPreferredSize(new Dimension(260,60));
clickPadPanel.add(myClickPad,BorderLayout.CENTER);
// Shortcut preview
JPanel previewPanel=new JPanel(new GridBagLayout());
previewPanel.setBorder(IdeBorderFactory.createTitledBorder(KeyMapBundle.message("mouse.shortcut.dialog.shortcut.preview.border")));
previewPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
KeyMapBundle.message("mouse.shortcut.dialog.shortcut.preview.border")));
panel.add(
previewPanel,
new GridBagConstraints(0,2,1,1,1,0,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(0,0,4,0),0,0)
@@ -173,7 +176,8 @@ class MouseShortcutDialog extends DialogWrapper{
// Conflicts panel
JPanel conflictsPanel=new JPanel(new GridBagLayout());
conflictsPanel.setBorder(IdeBorderFactory.createTitledBorder(KeyMapBundle.message("mouse.shortcut.dialog.conflicts.border")));
conflictsPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
KeyMapBundle.message("mouse.shortcut.dialog.conflicts.border")));
panel.add(
conflictsPanel,
new GridBagConstraints(0,3,1,1,1,1,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0)
@@ -142,7 +142,7 @@
<properties/>
<border type="etched" title-resource-bundle="messages/IdeBundle" title-key="update.plugin.hosts.title"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<scrollpane id="af53b" class="com.intellij.ui.components.JBScrollPane">
@@ -31,7 +31,6 @@ import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NotNull;
import javax.swing.*;
import javax.swing.border.TitledBorder;
import javax.swing.event.DocumentEvent;
import java.awt.*;
import java.awt.event.ItemEvent;
@@ -122,7 +121,7 @@ public class QuickAccessConfigurable extends JPanel implements SearchableConfigu
kbConfig.add(modifiers);
kbConfig.add(hold);
kbConfig.setBorder(IdeBorderFactory.createTitledBorder("Keyboard Configuration"));
kbConfig.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent("Keyboard Configuration"));
box.add(kbConfig);
@@ -179,7 +178,7 @@ public class QuickAccessConfigurable extends JPanel implements SearchableConfigu
hasConflicts |= printConflict(c, KeyEvent.VK_ENTER, QuickAccessSettings.SWITCH_APPLY);
if (hasConflicts) {
myConflicts.setBorder(IdeBorderFactory.createTitledBorder("Conflicts"));
myConflicts.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent("Conflicts"));
c.gridx = 0;
c.gridy++;
c.gridwidth = 2;
@@ -128,8 +128,8 @@ label.edit.external.resource.path=Path:
column.name.edit.external.resource.uri=URI
column.name.edit.external.resource.location=Location
display.name.edit.external.resource=Resources
label.edit.external.resource.configure.external.resources=Configure External Resources:
label.edit.external.resource.configure.ignored.resources=Configure Ignored Resources:
label.edit.external.resource.configure.external.resources=Configure External Resources
label.edit.external.resource.configure.ignored.resources=Configure Ignored Resources
no.external.resources=No external resources
no.ignored.resources=No ignored resources
@@ -20,7 +20,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title="Export format"/>
<children>
@@ -68,7 +68,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title="Output"/>
<children>
@@ -23,7 +23,6 @@ import com.michaelbaranov.microba.calendar.DatePicker;
import org.jetbrains.annotations.Nullable;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.beans.PropertyVetoException;
@@ -40,7 +39,7 @@ public class DateFilterComponent {
private JPanel myRootPanel;
public DateFilterComponent() {
myDatePanel.setBorder(IdeBorderFactory.createTitledBorder(VcsBundle.message("border.changes.filter.date.filter")));
myDatePanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(VcsBundle.message("border.changes.filter.date.filter")));
myDateAfter.setDateFormat(DateFormatUtil.getDateTimeFormat().getDelegate());
myDateBefore.setDateFormat(DateFormatUtil.getDateTimeFormat().getDelegate());
ActionListener listener = new ActionListener() {
@@ -51,7 +51,7 @@ public abstract class StandardVersionFilterComponent<T extends ChangeBrowserSett
}
protected void init(final T settings) {
myVersionNumberPanel.setBorder(IdeBorderFactory.createTitledBorder(getChangeNumberTitle()));
myVersionNumberPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(getChangeNumberTitle()));
installCheckBoxesListeners();
initValues(settings);
updateAllEnabled(null);
@@ -206,7 +206,7 @@ public class CompareWithSelectedRevisionAction extends AbstractVcsAction {
});
final JScrollPane textScrollPane = ScrollPaneFactory.createScrollPane(textArea);
panel.add(textScrollPane, BorderLayout.CENTER);
textScrollPane.setBorder(IdeBorderFactory.createTitledBorder(VcsBundle.message("border.selected.revision.commit.message")));
textScrollPane.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(VcsBundle.message("border.selected.revision.commit.message")));
return panel;
}
@@ -302,7 +302,7 @@ public class CompareWithSelectedRevisionAction extends AbstractVcsAction {
JPanel jPanel = new JPanel(new BorderLayout());
final JScrollPane textScrollPane = ScrollPaneFactory.createScrollPane(textArea);
textScrollPane.setBorder(IdeBorderFactory.createTitledBorder(VcsBundle.message("border.selected.revision.commit.message")));
textScrollPane.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(VcsBundle.message("border.selected.revision.commit.message")));
jPanel.add(textScrollPane, BorderLayout.SOUTH);
jPanel.setPreferredSize(new Dimension(300, 100));
@@ -206,7 +206,7 @@ public class CompositeCommittedChangesProvider implements CommittedChangesProvid
myEditors.put(vcs, editor);
JPanel wrapperPane = new JPanel(new BorderLayout());
wrapperPane.setBorder(IdeBorderFactory.createTitledBorder(vcs.getDisplayName()));
wrapperPane.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(vcs.getDisplayName()));
final JCheckBox checkBox = new JCheckBox(VcsBundle.message("composite.change.provider.include.vcs.checkbox", vcs.getDisplayName()), true);
checkBox.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent e) {
@@ -16,7 +16,7 @@
<text value="Enable changelist conflict tracking"/>
</properties>
</component>
<grid id="31c09" binding="myOptionsPanel" layout-manager="GridLayoutManager" row-count="6" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<grid id="31c09" binding="myOptionsPanel" layout-manager="GridLayoutManager" row-count="4" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="2" use-parent-layout="false"/>
@@ -26,7 +26,7 @@
<children>
<component id="6646a" class="javax.swing.JCheckBox" binding="myShowDialogCheckBox">
<constraints>
<grid row="0" column="0" row-span="1" col-span="2" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="Show conflict resolving &amp;dialog "/>
@@ -34,7 +34,7 @@
</component>
<component id="644ea" class="javax.swing.JCheckBox" binding="myHighlightConflictsCheckBox">
<constraints>
<grid row="1" column="0" row-span="1" col-span="2" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="&amp;Highlight files with conflicts"/>
@@ -42,46 +42,51 @@
</component>
<component id="6b1a6" class="javax.swing.JCheckBox" binding="myHighlightNonActiveCheckBox">
<constraints>
<grid row="2" column="0" row-span="1" col-span="2" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="Highlight files from &amp;non-active changelists"/>
</properties>
</component>
<scrollpane class="com.intellij.ui.components.JBScrollPane" id="66692">
<grid id="722" layout-manager="GridLayoutManager" row-count="2" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
<grid row="4" column="0" row-span="1" col-span="2" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<grid row="3" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties/>
<border type="none"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactorySimpleWithoutIndent"/>
</clientProperties>
<border type="none" title="Files with ignored conflicts"/>
<children>
<component id="5cdb5" class="com.intellij.ui.components.JBList" binding="myIgnoredFiles">
<constraints/>
<scrollpane id="66692" class="com.intellij.ui.components.JBScrollPane">
<constraints>
<grid row="0" column="0" row-span="1" col-span="2" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties/>
<border type="none"/>
<children>
<component id="5cdb5" class="com.intellij.ui.components.JBList" binding="myIgnoredFiles">
<constraints/>
<properties/>
</component>
</children>
</scrollpane>
<component id="9276f" class="javax.swing.JButton" binding="myClearButton" default-binding="true">
<constraints>
<grid row="1" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="Clear"/>
</properties>
</component>
<hspacer id="61e54">
<constraints>
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="1" hsize-policy="6" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
</hspacer>
</children>
</scrollpane>
<component id="205a4" class="javax.swing.JLabel">
<constraints>
<grid row="3" column="0" row-span="1" col-span="2" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="Files with ignored conflicts:"/>
</properties>
</component>
<component id="9276f" class="javax.swing.JButton" binding="myClearButton" default-binding="true">
<constraints>
<grid row="5" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="Clear"/>
</properties>
</component>
<hspacer id="61e54">
<constraints>
<grid row="5" column="0" row-span="1" col-span="1" vsize-policy="1" hsize-policy="6" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
</hspacer>
</grid>
</children>
</grid>
<vspacer id="523f5">
@@ -317,7 +317,7 @@ public class CommitChangeListDialog extends DialogWrapper implements CheckinProj
if (options != null) {
JPanel vcsOptions = new JPanel(new BorderLayout());
vcsOptions.add(options.getComponent(), BorderLayout.CENTER);
vcsOptions.setBorder(IdeBorderFactory.createTitledBorder(vcs.getDisplayName()));
vcsOptions.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(vcs.getDisplayName()));
vcsCommitOptions.add(vcsOptions);
myPerVcsOptionsPanels.put(vcs, vcsOptions);
myAdditionalComponents.add(options);
@@ -365,7 +365,8 @@ public class CommitChangeListDialog extends DialogWrapper implements CheckinProj
beforeBox.add(Box.createVerticalGlue());
JPanel beforePanel = new JPanel(new BorderLayout());
beforePanel.add(beforeBox);
beforePanel.setBorder(IdeBorderFactory.createTitledBorder(VcsBundle.message("border.standard.checkin.options.group", borderTitleName)));
beforePanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
VcsBundle.message("border.standard.checkin.options.group", borderTitleName)));
optionsBox.add(beforePanel);
}
@@ -373,7 +374,8 @@ public class CommitChangeListDialog extends DialogWrapper implements CheckinProj
afterBox.add(Box.createVerticalGlue());
JPanel afterPanel = new JPanel(new BorderLayout());
afterPanel.add(afterBox);
afterPanel.setBorder(IdeBorderFactory.createTitledBorder(VcsBundle.message("border.standard.after.checkin.options.group", borderTitleName)));
afterPanel.setBorder(IdeBorderFactory.createTitledBorderBoldWithIndent(
VcsBundle.message("border.standard.after.checkin.options.group", borderTitleName)));
optionsBox.add(afterPanel);
}
@@ -15,7 +15,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/VcsBundle" title-key="commit.legend.summary"/>
<children>
@@ -63,7 +63,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title="Example"/>
<children>
@@ -31,7 +31,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/VcsBundle" title-key="background.operations.title">
<font/>
@@ -94,7 +94,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/VcsBundle" title-key="options.background.processes.title"/>
<children>
@@ -113,7 +113,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/VcsBundle" title-key="cache.settings.dialog.title"/>
<children>
@@ -136,7 +136,7 @@
</constraints>
<properties/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<border type="none" title-resource-bundle="messages/VcsBundle" title-key="options.check.changed.on.server.title"/>
<children>
@@ -91,7 +91,7 @@
<properties/>
<border type="etched" title="When files are created"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<component id="61373" class="javax.swing.JRadioButton" binding="myShowDialogOnAddingFile">
@@ -129,7 +129,7 @@
<properties/>
<border type="etched" title="When empty changelist becomes inactive"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<component id="7b546" class="javax.swing.JRadioButton">
@@ -167,7 +167,7 @@
<properties/>
<border type="etched" title="When files are deleted"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<component id="1256b" class="javax.swing.JRadioButton" binding="myShowDialogOnRemovingFile">
@@ -211,7 +211,7 @@
<properties/>
<border type="etched" title-resource-bundle="messages/VcsBundle" title-key="border.display.dialog.when.commands.invoked"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children/>
</grid>
@@ -16,7 +16,7 @@
<properties/>
<border type="etched" title-resource-bundle="messages/XDebuggerBundle" title-key="xbreakpoints.properties.actions.group.title"/>
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory"/>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactoryBoldWithIndent"/>
</clientProperties>
<children>
<component id="26324" class="javax.swing.JCheckBox" binding="myLogMessageCheckBox">

Some files were not shown because too many files have changed in this diff Show More