diff options
author | Bernard Normier <bernard@zeroc.com> | 2006-05-19 20:23:28 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2006-05-19 20:23:28 +0000 |
commit | a0b29774eda2c0db6572149183e7be939c905811 (patch) | |
tree | a4f9ad07ce03366332839f815d039b33e2588be7 /java/src/IceGridGUI/Utils.java | |
parent | adding createCertificate (diff) | |
download | ice-a0b29774eda2c0db6572149183e7be939c905811.tar.bz2 ice-a0b29774eda2c0db6572149183e7be939c905811.tar.xz ice-a0b29774eda2c0db6572149183e7be939c905811.zip |
LiveDeployment now shown using tables
Diffstat (limited to 'java/src/IceGridGUI/Utils.java')
-rwxr-xr-x | java/src/IceGridGUI/Utils.java | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/java/src/IceGridGUI/Utils.java b/java/src/IceGridGUI/Utils.java index 7b2e5ca3983..6deaca51d24 100755 --- a/java/src/IceGridGUI/Utils.java +++ b/java/src/IceGridGUI/Utils.java @@ -70,8 +70,23 @@ public class Utils toolTipHolder.value += "<br>";
}
}
+
+ if(elt.length() == 0)
+ {
+ result += "\"\"";
+ }
+ else if(elt.matches("\\S*"))
+ {
+ //
+ // Only non-whitespace characters
+ //
+ result += elt;
+ }
+ else
+ {
+ result += '"' + elt + '"';
+ }
- result += elt;
if(toolTipHolder != null)
{
toolTipHolder.value += elt;
@@ -362,7 +377,7 @@ public class Utils public java.util.List properties; // list of PropertyDescriptor
}
- static public java.util.Map propertySetToMap(
+ static public java.util.SortedMap propertySetToMap(
ExpandedPropertySet propertySet,
ExpandedPropertySet instancePropertySet, // can be null
Resolver resolver)
|