Author: lgiessmann Date: Fri Jul 15 04:21:34 2011 New Revision: 628
Log: gdl-frontend: Widgets: changed the type of the Listwidget element's inner element to com.google.gwt.user.client.Element, so the method Dm.setStyleAttribute(...) can be used
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java ============================================================================== --- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java Fri Jul 15 04:10:50 2011 (r627) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java Fri Jul 15 04:21:34 2011 (r628) @@ -1,8 +1,8 @@ package us.isidor.gdl.anaToMia.Widgets.container;
import java.util.ArrayList; -import com.google.gwt.dom.client.Element; import com.google.gwt.user.client.DOM; +import com.google.gwt.user.client.Element; import com.google.gwt.user.client.ui.AbsolutePanel; import com.google.gwt.user.client.ui.Composite; import com.google.gwt.user.client.ui.Widget; @@ -32,7 +32,6 @@ import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject; import us.isidor.gdl.anaToMia.Widgets.base.IGdlContainer; import us.isidor.gdl.anaToMia.Widgets.base.TmHelper; -import us.isidor.gdl.anaToMia.Widgets.base.Utils; import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler; import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException; import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler; @@ -160,13 +159,13 @@ // sets the css property list-style-type public void setListStyleType(ListWidget widget, ListStyleTypeValue value) throws InvalidGdlSchemaException, ExecutionException { - if(value != null) Utils.replaceStyleProperty(widget.getListElement(), "list-style-type", value.getCssValue()); + if(value != null) DOM.setStyleAttribute(widget.getListElement(), "listStyleType", value.getCssValue()); } // sets the css property list-style-position public void setListStylePositionValue(ListWidget widget, ListStylePositionValue value) throws InvalidGdlSchemaException, ExecutionException { - if(value != null) Utils.replaceStyleProperty(widget.getListElement(), "list-style-position", value.getCssValue()); + if(value != null) DOM.setStyleAttribute(widget.getListElement(), "listStylePosition", value.getCssValue()); }