Author: adietish
Date: 2010-12-03 13:46:41 -0500 (Fri, 03 Dec 2010)
New Revision: 27158
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/preferences/TextPreferenceValue.java
Log:
added convenience constructor
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/preferences/TextPreferenceValue.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/preferences/TextPreferenceValue.java 2010-12-03
18:46:15 UTC (rev 27157)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/preferences/TextPreferenceValue.java 2010-12-03
18:46:41 UTC (rev 27158)
@@ -28,6 +28,10 @@
this.prefsKey = prefsKey;
}
+ public String get() {
+ return get(null);
+ }
+
public String get(String currentValue) {
if( currentValue == null || currentValue.equals("")) {
// pre-set with previously used
Show replies by date