svn commit: r1237360 - in /ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget: html/HtmlScreenRenderer.java menu/MenuStringRenderer.java menu/ModelMenuItem.java screen/MacroScreenRenderer.java

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

svn commit: r1237360 - in /ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget: html/HtmlScreenRenderer.java menu/MenuStringRenderer.java menu/ModelMenuItem.java screen/MacroScreenRenderer.java

adrianc
Author: adrianc
Date: Sun Jan 29 17:16:23 2012
New Revision: 1237360

URL: http://svn.apache.org/viewvc?rev=1237360&view=rev
Log:
Screen Widget Redesign - remove interface that is no longer used.

Removed:
    ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget/menu/MenuStringRenderer.java
Modified:
    ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget/html/HtmlScreenRenderer.java
    ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget/menu/ModelMenuItem.java
    ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java

Modified: ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget/html/HtmlScreenRenderer.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget/html/HtmlScreenRenderer.java?rev=1237360&r1=1237359&r2=1237360&view=diff
==============================================================================
--- ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget/html/HtmlScreenRenderer.java (original)
+++ ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget/html/HtmlScreenRenderer.java Sun Jan 29 17:16:23 2012
@@ -49,7 +49,6 @@ import org.ofbiz.widget.WidgetDataResour
 import org.ofbiz.widget.WidgetWorker;
 import org.ofbiz.widget.form.FormStringRenderer;
 import org.ofbiz.widget.form.ModelForm;
-import org.ofbiz.widget.menu.MenuStringRenderer;
 import org.ofbiz.widget.menu.*;
 import org.ofbiz.widget.menu.ModelMenuAction;
 import org.ofbiz.widget.menu.ModelMenuItem;

Modified: ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget/menu/ModelMenuItem.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget/menu/ModelMenuItem.java?rev=1237360&r1=1237359&r2=1237360&view=diff
==============================================================================
--- ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget/menu/ModelMenuItem.java (original)
+++ ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget/menu/ModelMenuItem.java Sun Jan 29 17:16:23 2012
@@ -590,10 +590,6 @@ public class ModelMenuItem {
             visitor.visit(this);
         }
 
-        public void renderLinkString(Appendable writer, Map<String, Object> context, MenuStringRenderer menuStringRenderer) throws IOException {
-            menuStringRenderer.renderLink(writer, context, this);
-        }
-
         public String getText(Map<String, Object> context) {
             String txt = this.textExdr.expandString(context);
             if (UtilValidate.isEmpty(txt)) txt = linkMenuItem.getTitle(context);
@@ -810,10 +806,6 @@ public class ModelMenuItem {
             visitor.visit(this);
         }
 
-        public void renderImageString(Appendable writer, Map<String, Object> context, MenuStringRenderer menuStringRenderer) throws IOException {
-            menuStringRenderer.renderImage(writer, context, this);
-        }
-
         public String getSrc(Map<String, Object> context) {
             return this.srcExdr.expandString(context);
         }

Modified: ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java?rev=1237360&r1=1237359&r2=1237360&view=diff
==============================================================================
--- ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java (original)
+++ ofbiz/branches/20111115ScreenWidgetRedesign/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java Sun Jan 29 17:16:23 2012
@@ -56,7 +56,6 @@ import org.ofbiz.widget.form.FormStringR
 import org.ofbiz.widget.form.ModelForm;
 import org.ofbiz.widget.html.HtmlFormRenderer;
 import org.ofbiz.widget.html.HtmlMenuRenderer;
-import org.ofbiz.widget.menu.MenuStringRenderer;
 import org.ofbiz.widget.menu.MenuWidgetVisitor;
 import org.ofbiz.widget.menu.ModelMenuAction;
 import org.ofbiz.widget.menu.ModelMenuItem;