diff options
Diffstat (limited to 'bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/dialogs/SelectXMLCatalogIdPanel.java')
-rw-r--r-- | bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/dialogs/SelectXMLCatalogIdPanel.java | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/dialogs/SelectXMLCatalogIdPanel.java b/bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/dialogs/SelectXMLCatalogIdPanel.java index 19390cc0fa..082ebc7a65 100644 --- a/bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/dialogs/SelectXMLCatalogIdPanel.java +++ b/bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/dialogs/SelectXMLCatalogIdPanel.java @@ -10,8 +10,6 @@ * Jens Lukowski/Innoopract - initial renaming/restructuring * *******************************************************************************/ - - package org.eclipse.wst.xml.ui.dialogs; import java.util.Collection; @@ -26,11 +24,10 @@ import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Label; -import org.eclipse.wst.xml.ui.util.XMLCommonResources; +import org.eclipse.wst.xml.ui.internal.XMLUIPlugin; import org.eclipse.wst.xml.uriresolver.XMLCatalog; import org.eclipse.wst.xml.uriresolver.XMLCatalogEntry; - public class SelectXMLCatalogIdPanel extends Composite { protected int catalogEntryType; protected boolean doTableSizeHack = false; @@ -50,7 +47,7 @@ public class SelectXMLCatalogIdPanel extends Composite { this.setLayoutData(gd); Label label = new Label(this, SWT.NONE); - label.setText(XMLCommonResources.getInstance().getString("_UI_LABEL_XML_CATALOG_COLON")); //$NON-NLS-1$ + label.setText(XMLUIPlugin.getResourceString("%_UI_LABEL_XML_CATALOG_COLON")); //$NON-NLS-1$ tableViewer = createTableViewer(this); tableViewer.getControl().setLayoutData(new GridData(GridData.FILL_BOTH)); @@ -59,8 +56,8 @@ public class SelectXMLCatalogIdPanel extends Composite { protected XMLCatalogTableViewer createTableViewer(Composite parent) { String headings[] = new String[2]; - headings[0] = XMLCommonResources.getInstance().getString("_UI_LABEL_KEY"); //$NON-NLS-1$ - headings[1] = XMLCommonResources.getInstance().getString("_UI_LABEL_URI"); //$NON-NLS-1$ + headings[0] = XMLUIPlugin.getResourceString("%_UI_LABEL_KEY"); //$NON-NLS-1$ + headings[1] = XMLUIPlugin.getResourceString("%_UI_LABEL_URI"); //$NON-NLS-1$ XMLCatalogTableViewer theTableViewer = new XMLCatalogTableViewer(parent, headings) { |