Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornitind2005-11-10 05:32:16 +0000
committernitind2005-11-10 05:32:16 +0000
commit95409d0577e96fa246baac5f5c0bc7af89af1194 (patch)
tree4521eaee348518157c514ca78d9f3573d156baf5 /bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLValidationMessages.java
parent42a860f09fb65e04a029218da7e4c26ace0b5e64 (diff)
downloadwebtools.sourceediting-95409d0577e96fa246baac5f5c0bc7af89af1194.tar.gz
webtools.sourceediting-95409d0577e96fa246baac5f5c0bc7af89af1194.tar.xz
webtools.sourceediting-95409d0577e96fa246baac5f5c0bc7af89af1194.zip
[115727] externalize strings that need them or mark them as non-nls
Diffstat (limited to 'bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLValidationMessages.java')
-rw-r--r--bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLValidationMessages.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLValidationMessages.java b/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLValidationMessages.java
new file mode 100644
index 0000000000..77c6683aa4
--- /dev/null
+++ b/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLValidationMessages.java
@@ -0,0 +1,35 @@
+/*
+ * Copyright (c) 2005 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Common Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ *
+ * Contributors:
+ * IBM - Initial API and implementation
+ *
+ */
+package org.eclipse.wst.xml.core.internal.validation;
+
+import org.eclipse.osgi.util.NLS;
+
+/**
+ * Strings used by XML Validation
+ */
+public class XMLValidationMessages extends NLS {
+ private static final String BUNDLE_NAME = "org.eclipse.wst.xml.core.internal.validation.xmlvalidation";//$NON-NLS-1$
+
+ public static String _UI_PROBLEMS_VALIDATING_UNKNOWN_HOST;
+ public static String _UI_PROBLEMS_VALIDATING_FILE_NOT_FOUND;
+ public static String _UI_PROBLEMS_CONNECTION_REFUSED;
+ public static String _UI_REF_FILE_ERROR_MESSAGE;
+
+ static {
+ // load message values from bundle file
+ NLS.initializeMessages(BUNDLE_NAME, XMLValidationMessages.class);
+ }
+
+ private XMLValidationMessages() {
+ // cannot create new instance
+ }
+}

Back to the top