Author: sflanigan
Date: 2009-06-26 03:57:33 -0400 (Fri, 26 Jun 2009)
New Revision: 16219
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/XModelUtil.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3557 Externalize English strings (and add NON-NLS
comments to others)
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/XModelUtil.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/XModelUtil.java 2009-06-26
07:56:07 UTC (rev 16218)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/XModelUtil.java 2009-06-26
07:57:33 UTC (rev 16219)
@@ -18,10 +18,10 @@
import org.jboss.tools.common.model.impl.*;
public class XModelUtil {
- private static final String DEFAULT_MODEL_VERSION = "5.0";
+ private static final String DEFAULT_MODEL_VERSION = "5.0"; //$NON-NLS-1$
- private static final String PROPERTIES_ACTION = "Properties/Properties";
- private static final String EDIT_ACTION = "Edit";
+ private static final String PROPERTIES_ACTION = "Properties/Properties";
//$NON-NLS-1$
+ private static final String EDIT_ACTION = "Edit"; //$NON-NLS-1$
public static void addModifyListener(XModel model, Object listener) {
RootImpl impl = (RootImpl)model.getRoot();
@@ -36,7 +36,7 @@
XModelObject fss = FileSystemsHelper.getFileSystems(model);
if(fss == null) return DEFAULT_MODEL_VERSION;
String modelVersionStr = fss.getAttributeValue(XModelConstants.MODEL_VERSION);
- return (modelVersionStr == null || "".equals(modelVersionStr)) ?
DEFAULT_MODEL_VERSION : modelVersionStr;
+ return (modelVersionStr == null || "".equals(modelVersionStr)) ?
DEFAULT_MODEL_VERSION : modelVersionStr; //$NON-NLS-1$
}
public static void openProperyDialog(XModelObject object){