Author: scabanovich
Date: 2009-04-03 09:54:37 -0400 (Fri, 03 Apr 2009)
New Revision: 14494
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/ObjectMultiPageEditorMessages.java
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/ObjectMultiPageEditorMessages.properties
Log:
JBIDE-4044
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/ObjectMultiPageEditorMessages.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/ObjectMultiPageEditorMessages.java 2009-04-03
13:46:40 UTC (rev 14493)
+++
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/ObjectMultiPageEditorMessages.java 2009-04-03
13:54:37 UTC (rev 14494)
@@ -10,20 +10,14 @@
******************************************************************************/
package org.jboss.tools.common.editor;
-import java.util.Locale;
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
import org.eclipse.osgi.util.NLS;
-import org.jboss.tools.common.model.ui.ModelUIPlugin;
/**
* @author Jeremy
*/
-public class ObjectMultiPageEditorMessages {
+public class ObjectMultiPageEditorMessages extends NLS {
private static final String BUNDLE_NAME =
"org.jboss.tools.common.editor.ObjectMultiPageEditorMessages"; //$NON-NLS-1$
- private static ResourceBundle fResourceBundle;
static {
// load message values from bundle file
NLS.initializeMessages(BUNDLE_NAME, ObjectMultiPageEditorMessages.class);
@@ -31,15 +25,4 @@
public static String PAGES_EDITOR_SOURCE_TAB;
- public static ResourceBundle getResourceBundle() {
- try {
- if (fResourceBundle == null)
- fResourceBundle = ResourceBundle.getBundle(BUNDLE_NAME, Locale.getDefault());
- }
- catch (MissingResourceException x) {
- ModelUIPlugin.getPluginLog().logError(x);
- fResourceBundle = null;
- }
- return fResourceBundle;
- }
}
\ No newline at end of file
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/ObjectMultiPageEditorMessages.properties
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/ObjectMultiPageEditorMessages.properties 2009-04-03
13:46:40 UTC (rev 14493)
+++
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/ObjectMultiPageEditorMessages.properties 2009-04-03
13:54:37 UTC (rev 14494)
@@ -1,3 +1 @@
-Editor.error.activated.outofsync.title=File Changed
-Editor.error.activated.outofsync.message=The file has been changed on the file system. Do
you want to load the changes?
PAGES_EDITOR_SOURCE_TAB=Source
\ No newline at end of file
Show replies by date