aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Peria de Sene2014-07-02 09:24:39 (EDT)
committerAlexander Kurtakov2014-07-02 11:24:22 (EDT)
commitbddca220316d4f2e177f874db73800acfa0ddab9 (patch)
tree01db35362abf46fda8f2c52833efb7327c473734
parentdc84edb0c7cb91291006701dc01e0d850700c5e9 (diff)
downloadorg.eclipse.linuxtools-bddca220316d4f2e177f874db73800acfa0ddab9.zip
org.eclipse.linuxtools-bddca220316d4f2e177f874db73800acfa0ddab9.tar.gz
org.eclipse.linuxtools-bddca220316d4f2e177f874db73800acfa0ddab9.tar.bz2
[org.eclipse.linuxtools.tools.launch.ui] - This commit fixes the problem regarding not finding the externalized stringsrefs/changes/97/28697/3
Change-Id: Ibf26cf071cd152143a571862be8e5a522fc76c7a Signed-off-by: Rafael Peria de Sene <rpsene@br.ibm.com> Reviewed-on: https://git.eclipse.org/r/28697 Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/Messages.java28
-rw-r--r--profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/messages.properties6
-rw-r--r--profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/properties/LinuxtoolsPathPropertyPage.java4
-rw-r--r--profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/properties/Messages.java31
-rw-r--r--profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/properties/messages.properties18
5 files changed, 50 insertions, 37 deletions
diff --git a/profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/Messages.java b/profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/Messages.java
deleted file mode 100644
index aedbb1b..0000000
--- a/profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/Messages.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2011 IBM Corporation
- * All rights reserved. This program and the accompanying materials
- * are 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:
- * Otavio Busatto Pontes <obusatto@br.ibm.com> - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.linuxtools.internal.tools.launch.ui;
-
-import org.eclipse.osgi.util.NLS;
-
-public class Messages extends NLS {
- private static final String BUNDLE_NAME = Activator.PLUGIN_ID + ".messages"; //$NON-NLS-1$
- public static String LINUXTOOLS_PATH;
- public static String LINUXTOOLS_PATH_COMBO;
- public static String LINUXTOOLS_PATH_TOOLTIP;
- public static String LINUXTOOLS_PATH_SYSTEM_ENV;
- public static String LINUXTOOLS_PATH_CUSTOM;
- public static String LINUXTOOLS_PATH_CUSTOM_TOOLTIP;
-
- static {
- NLS.initializeMessages(BUNDLE_NAME, Messages.class);
- }
-}
diff --git a/profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/messages.properties b/profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/messages.properties
deleted file mode 100644
index 2e0d34e..0000000
--- a/profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/messages.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-LINUXTOOLS_PATH_COMBO=Options:
-LINUXTOOLS_PATH=
-LINUXTOOLS_PATH_TOOLTIP=Use ':' as Path separator
-LINUXTOOLS_PATH_SYSTEM_ENV=Use the System Environment PATH
-LINUXTOOLS_PATH_CUSTOM=Prepend string to PATH
-LINUXTOOLS_PATH_CUSTOM_TOOLTIP=Append the selected string to the beginning of the current system Path
diff --git a/profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/properties/LinuxtoolsPathPropertyPage.java b/profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/properties/LinuxtoolsPathPropertyPage.java
index bca7e55..fd868f2 100644
--- a/profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/properties/LinuxtoolsPathPropertyPage.java
+++ b/profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/properties/LinuxtoolsPathPropertyPage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2011,2013 IBM Corporation
+ * Copyright (c) 2011, 2014 IBM Corporation
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -25,7 +25,6 @@ import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.preference.StringFieldEditor;
import org.eclipse.jface.util.IPropertyChangeListener;
import org.eclipse.jface.util.PropertyChangeEvent;
-import org.eclipse.linuxtools.internal.tools.launch.ui.Messages;
import org.eclipse.linuxtools.tools.launch.core.LaunchCoreConstants;
import org.eclipse.linuxtools.tools.launch.core.properties.LinuxtoolsPathProperty;
import org.eclipse.swt.SWT;
@@ -236,5 +235,4 @@ public class LinuxtoolsPathPropertyPage extends PropertyPage {
}
return element;
}
-
}
diff --git a/profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/properties/Messages.java b/profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/properties/Messages.java
new file mode 100644
index 0000000..eb9eb43
--- /dev/null
+++ b/profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/properties/Messages.java
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2014 IBM Corporation
+ * All rights reserved. This program and the accompanying materials
+ * are 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:
+ * Otavio Busatto Pontes <obusatto@br.ibm.com> - initial API and implementation
+ * Rafael Peria de Sene <rpsene@br.ibm.com>
+ *******************************************************************************/
+package org.eclipse.linuxtools.internal.tools.launch.ui.properties;
+
+import org.eclipse.osgi.util.NLS;
+
+public class Messages extends NLS {
+ private static final String BUNDLE_NAME = "org.eclipse.linuxtools.internal.tools.launch.ui.properties.messages"; //$NON-NLS-1$
+ public static String LINUXTOOLS_PATH;
+ public static String LINUXTOOLS_PATH_COMBO;
+ public static String LINUXTOOLS_PATH_CUSTOM;
+ public static String LINUXTOOLS_PATH_CUSTOM_TOOLTIP;
+ public static String LINUXTOOLS_PATH_SYSTEM_ENV;
+ public static String LINUXTOOLS_PATH_TOOLTIP;
+ static {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages() {
+ }
+}
diff --git a/profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/properties/messages.properties b/profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/properties/messages.properties
new file mode 100644
index 0000000..0f7a436
--- /dev/null
+++ b/profiling/org.eclipse.linuxtools.tools.launch.ui/src/org/eclipse/linuxtools/internal/tools/launch/ui/properties/messages.properties
@@ -0,0 +1,18 @@
+#*******************************************************************************
+# Copyright (c) 2011, 2014 IBM Corporation
+# All rights reserved. This program and the accompanying materials
+# are 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:
+# Otavio Busatto Pontes <obusatto@br.ibm.com> - initial API and implementation
+# Rafael Peria de Sene <rpsene@br.ibm.com>
+#*******************************************************************************/
+
+LINUXTOOLS_PATH=
+LINUXTOOLS_PATH_COMBO=Options:
+LINUXTOOLS_PATH_TOOLTIP=Use ':' as Path separator
+LINUXTOOLS_PATH_CUSTOM=Prepend string to PATH
+LINUXTOOLS_PATH_SYSTEM_ENV=Use the System Environment PATH
+LINUXTOOLS_PATH_CUSTOM_TOOLTIP=Append the selected string to the beginning of the current system Path