Author: estherbin
Date: 2008-09-01 09:37:50 -0400 (Mon, 01 Sep 2008)
New Revision: 9994
Added:
trunk/common/plugins/org.jboss.tools.common.rreferences/src/org/jboss/tools/common/rreferences/messages/Messages.java
trunk/common/plugins/org.jboss.tools.common.rreferences/src/org/jboss/tools/common/rreferences/messages/messages.properties
Log:
Moved resources reference functionality to the separate bundle.
Added:
trunk/common/plugins/org.jboss.tools.common.rreferences/src/org/jboss/tools/common/rreferences/messages/Messages.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.rreferences/src/org/jboss/tools/common/rreferences/messages/Messages.java
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.rreferences/src/org/jboss/tools/common/rreferences/messages/Messages.java 2008-09-01
13:37:50 UTC (rev 9994)
@@ -0,0 +1,45 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+
+package org.jboss.tools.common.rreferences.messages;
+
+import java.util.ResourceBundle;
+
+import org.eclipse.osgi.util.NLS;
+
+/**
+ * The Class Messages.
+ *
+ * @author Eugene Stherbin
+ */
+public final class Messages {
+
+ /** The Constant BUNDLE_NAME. */
+ private static final String BUNDLE_NAME =
"org.jboss.tools.common.rreferences.messages.messages";//$NON-NLS-1$
+
+ /** The f resource bundle. */
+ private static ResourceBundle fResourceBundle;
+ static {
+ // load message values from bundle file
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ /**
+ * The Constructor.
+ */
+ private Messages(){}
+
+
+ public static String INCLUDED_CSS_FILES;
+ public static String INCLUDED_TAG_LIBS;
+ public static String SUBSTITUTED_EL_EXPRESSIONS;
+ public static String ACTUAL_RUN_TIME_ABSOLUTE_FOLDER;
+}
Property changes on:
trunk/common/plugins/org.jboss.tools.common.rreferences/src/org/jboss/tools/common/rreferences/messages/Messages.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added:
trunk/common/plugins/org.jboss.tools.common.rreferences/src/org/jboss/tools/common/rreferences/messages/messages.properties
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.rreferences/src/org/jboss/tools/common/rreferences/messages/messages.properties
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.rreferences/src/org/jboss/tools/common/rreferences/messages/messages.properties 2008-09-01
13:37:50 UTC (rev 9994)
@@ -0,0 +1,4 @@
+INCLUDED_CSS_FILES=Included css files
+INCLUDED_TAG_LIBS=Included tag libs
+SUBSTITUTED_EL_EXPRESSIONS=Substituted El expressions
+ACTUAL_RUN_TIME_ABSOLUTE_FOLDER=Actual Run-Time Absolute Folder
\ No newline at end of file
Property changes on:
trunk/common/plugins/org.jboss.tools.common.rreferences/src/org/jboss/tools/common/rreferences/messages/messages.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native