Author: rob.stryker(a)jboss.com
Date: 2009-04-13 00:51:12 -0400 (Mon, 13 Apr 2009)
New Revision: 14699
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploySection.java
Log:
JBIDE-4094 - externalized
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java 2009-04-13
04:47:15 UTC (rev 14698)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java 2009-04-13
04:51:12 UTC (rev 14699)
@@ -151,9 +151,9 @@
public static String EditorCPD_DefaultShellTitle;
public static String EditorCPD_DefaultDescription;
public static String EditorCPD_RestoreDefault;
+ public static String EditorNoRuntimeSelected;
-
public static String Configure;
// misc
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties 2009-04-13
04:47:15 UTC (rev 14698)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties 2009-04-13
04:51:12 UTC (rev 14699)
@@ -129,6 +129,7 @@
EditorCPD_DefaultShellTitle=Edit Port
EditorCPD_DefaultDescription=This wizard allows you to edit which xpath is used to locate
a port used by the tooling.\nThis will not change any server files, only what ports are
used to interact with it.
EditorCPD_RestoreDefault=Restore Default
+EditorNoRuntimeSelected=No Runtime Selected. Please select a runtime and refresh your
deployment options.
Configure=Configure...
# misc
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploySection.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploySection.java 2009-04-13
04:47:15 UTC (rev 14698)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploySection.java 2009-04-13
04:51:12 UTC (rev 14699)
@@ -256,7 +256,7 @@
String error = "";
List<Status> status = new ArrayList<Status>();
if( getRuntime() == null ) {
- String msg = "No Runtime Selected";
+ String msg = Messages.EditorNoRuntimeSelected;
status.add(new Status(IStatus.ERROR, JBossServerUIPlugin.PLUGIN_ID, msg));
error = error + msg + "\n";
}