svn commit: r639956 - in /ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo: FormWidgetArtifactInfo.java ScreenWidgetArtifactInfo.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r639956 - in /ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo: FormWidgetArtifactInfo.java ScreenWidgetArtifactInfo.java

jonesde
Author: jonesde
Date: Fri Mar 21 23:23:00 2008
New Revision: 639956

URL: http://svn.apache.org/viewvc?rev=639956&view=rev
Log:
Improvements in display of form and screen names and locations

Modified:
    ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/FormWidgetArtifactInfo.java
    ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ScreenWidgetArtifactInfo.java

Modified: ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/FormWidgetArtifactInfo.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/FormWidgetArtifactInfo.java?rev=639956&r1=639955&r2=639956&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/FormWidgetArtifactInfo.java (original)
+++ ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/FormWidgetArtifactInfo.java Fri Mar 21 23:23:00 2008
@@ -136,7 +136,8 @@
     }
     
     public String getDisplayName() {
-        return this.getUniqueId();
+        // remove the component:// from the location
+        return this.formName + " (" + this.formLocation.substring(12) + ")";
     }
     
     public String getDisplayType() {

Modified: ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ScreenWidgetArtifactInfo.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ScreenWidgetArtifactInfo.java?rev=639956&r1=639955&r2=639956&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ScreenWidgetArtifactInfo.java (original)
+++ ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ScreenWidgetArtifactInfo.java Fri Mar 21 23:23:00 2008
@@ -143,7 +143,8 @@
     }
 
     public String getDisplayName() {
-        return this.getUniqueId();
+        // remove the component:// from the location
+        return this.screenName + " (" + this.screenLocation.substring(12) + ")";
     }
     
     public String getDisplayType() {