protected void initPanel() {
setLayout(new BorderLayout());
- final String label = getLabelText();
- if (label != null) {
- setBorder(IdeBorderFactory.createTitledBorder(label, false, false, true));
- }
-
final JPanel panel = ToolbarDecorator.createDecorator(myTable)
.setAddAction(new AnActionButtonRunnable() {
@Override
.disableDownAction()
.createPanel();
add(panel, BorderLayout.CENTER);
+ final String label = getLabelText();
+ if (label != null) {
+ add(SeparatorFactory.createSeparator(label, myTable), BorderLayout.NORTH);
+ }
}
protected String getLabelText(){
column.name.edit.external.resource.uri=URI
column.name.edit.external.resource.location=Location
display.name.edit.external.resource=Schemas and DTDs
-label.edit.external.resource.configure.external.resources=External Schemas and DTDs
-label.edit.external.resource.configure.ignored.resources=Ignored Schemas and DTDs
+label.edit.external.resource.configure.external.resources=&External Schemas and DTDs
+label.edit.external.resource.configure.ignored.resources=&Ignored Schemas and DTDs
no.external.resources=No external resources
no.ignored.resources=No ignored resources