isidorus-cvs
Threads by month
- ----- 2025 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- 1037 discussions

[isidorus-cvs] r569 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base environment text views
by lgiessmann@common-lisp.net 06 Jul '11
by lgiessmann@common-lisp.net 06 Jul '11
06 Jul '11
Author: lgiessmann
Date: Wed Jul 6 11:09:04 2011
New Revision: 569
Log:
gdl-frontend: Widgets: changed the behavior of registering the event handlers for the realisation of the css pseudo classes active, hover and focus
Deleted:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/CssStyleHandler.java
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/ActiveStyleHandler.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/FocusStyleHandler.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/HoverStyleHandler.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Wed Jul 6 07:41:45 2011 (r568)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Wed Jul 6 11:09:04 2011 (r569)
@@ -4,9 +4,13 @@
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
+import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
+import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.MultipleHandlerRegistration;
+import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
import us.isidor.gdl.anaToMia.Widgets.values.AutoNumValue;
import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
@@ -21,8 +25,11 @@
import com.google.gwt.dom.client.Style.Float;
import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.dom.client.Style.VerticalAlign;
+import com.google.gwt.event.dom.client.BlurEvent;
import com.google.gwt.event.dom.client.BlurHandler;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.event.dom.client.DomEvent;
+import com.google.gwt.event.dom.client.FocusEvent;
import com.google.gwt.event.dom.client.FocusHandler;
import com.google.gwt.event.dom.client.HasBlurHandlers;
import com.google.gwt.event.dom.client.HasClickHandlers;
@@ -31,9 +38,13 @@
import com.google.gwt.event.dom.client.HasMouseOutHandlers;
import com.google.gwt.event.dom.client.HasMouseOverHandlers;
import com.google.gwt.event.dom.client.HasMouseUpHandlers;
+import com.google.gwt.event.dom.client.MouseDownEvent;
import com.google.gwt.event.dom.client.MouseDownHandler;
+import com.google.gwt.event.dom.client.MouseOutEvent;
import com.google.gwt.event.dom.client.MouseOutHandler;
+import com.google.gwt.event.dom.client.MouseOverEvent;
import com.google.gwt.event.dom.client.MouseOverHandler;
+import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.AbsolutePanel;
@@ -45,7 +56,10 @@
protected AbsolutePanel mainPanel = new AbsolutePanel();
protected Topic tmRepresentative = null;
protected TopicMap tm = null;
-
+ protected ArrayList<Pair<String, String>> activeCssNamesAndStyles = new ArrayList<Pair<String,String>>();
+ protected ArrayList<Pair<String, String>> focusCssNamesAndStyles = new ArrayList<Pair<String,String>>();
+ protected ArrayList<Pair<String, String>> hoverCssNamesAndStyles = new ArrayList<Pair<String,String>>();
+
// some constructors
protected GdlVisibleObject() {
@@ -229,8 +243,6 @@
}
-
-
// returns a VerticalAlign instance of a gdl:vertical-align occurrence
// or the default value for this property if no gdl:vertical-align occurrence
// is available. The styleClass attribute is used as scope for expressing
@@ -1322,14 +1334,11 @@
if(styleClass == null){
DOM.setStyleAttribute(this.getElement(), cssProperty, cssValue);
} else if(styleClass.equals(GdlPsis.Scope.gdlActive)){
- //this.activeStyleHandler.addCssStyle(new Pair<String, String>(cssProperty, cssValue));
- // Ignore is only set in the inheriting classes
+ this.activeCssNamesAndStyles.add(new Pair<String, String>(cssProperty, cssValue));
} else if(styleClass.equals(GdlPsis.Scope.gdlFocus)){
- //this.focusStyleHandler.addCssStyle(new Pair<String, String>(cssProperty, cssValue));
- // Ignore is only set in the inheriting classes
+ this.focusCssNamesAndStyles.add(new Pair<String, String>(cssProperty, cssValue));
} else if (styleClass.equals(GdlPsis.Scope.gdlHover)){
- //this.hoverStyleHandler.addCssStyle(new Pair<String, String>(cssProperty, cssValue));
- // Ignore is only set in the inheriting classes
+ this.hoverCssNamesAndStyles.add(new Pair<String, String>(cssProperty, cssValue));
} else {
String values = GdlPsis.Scope.gdlActive + ", " + GdlPsis.Scope.gdlFocus + ", " + GdlPsis.Scope.gdlHover;
throw new InvalidGdlSchemaException("GDL defines only the style classes " + values + ", but found " + styleClass);
@@ -1378,5 +1387,29 @@
// registers a blur handler to all sub-elements of this element
@Override
- public abstract MultipleHandlerRegistration addBlurHandler(BlurHandler handler);
+ public abstract MultipleHandlerRegistration addBlurHandler(BlurHandler handler);
+
+
+ // shall be called, if a sub-element of this element is hovered
+ public abstract void onHoverStart(@SuppressWarnings("rawtypes") DomEvent event, HoverStyleHandler handler);
+
+
+ // shall be called, if a sub-element of this element is hovered
+ public abstract void onHoverEnd(@SuppressWarnings("rawtypes") DomEvent event, HoverStyleHandler handler);
+
+
+ // shall be called, if a sub-element of this element is focused
+ public abstract void onFocusStart(@SuppressWarnings("rawtypes") DomEvent event, FocusStyleHandler handler);
+
+
+ // shall be called, if a sub-element of this element is focused
+ public abstract void onFocusEnd(@SuppressWarnings("rawtypes") DomEvent event, FocusStyleHandler handler);
+
+
+ // shall be called, if a sub-element of this element is focused
+ public abstract void onActiveStart(@SuppressWarnings("rawtypes") DomEvent event, ActiveStyleHandler handler);
+
+
+ // shall be called, if a sub-element of this element is focused
+ public abstract void onActiveEnd(@SuppressWarnings("rawtypes") DomEvent event, ActiveStyleHandler handler);
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Wed Jul 6 07:41:45 2011 (r568)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Wed Jul 6 11:09:04 2011 (r569)
@@ -104,14 +104,14 @@
tmpRepresentative.createOccurrence(gdlOverflow, "hidden", null);
tmpRepresentative.createOccurrence(gdlFontSize, "15pt", null);
tmpRepresentative.createOccurrence(gdlTextDecoration, "underline", null);
- //Occurrence bgcHover = tmpRepresentative.createOccurrence(gdlBackgroundColor, "green", null);
- //bgcHover.addTheme(gdlHover);
- //Occurrence bgcActive = tmpRepresentative.createOccurrence(gdlBackgroundColor, "purple", null);
- //bgcActive.addTheme(gdlActive);
- //Occurrence bgcFocus = tmpRepresentative.createOccurrence(gdlBackgroundColor, "silver", null);
- //bgcFocus.addTheme(gdlFocus);
- //Occurrence fsHover = tmpRepresentative.createOccurrence(gdlFontSize, "25pt", null);
- //fsHover.addTheme(gdlHover);
+ Occurrence bgcHover = tmpRepresentative.createOccurrence(gdlBackgroundColor, "green", null);
+ bgcHover.addTheme(gdlHover);
+ Occurrence bgcActive = tmpRepresentative.createOccurrence(gdlBackgroundColor, "purple", null);
+ bgcActive.addTheme(gdlActive);
+ Occurrence bgcFocus = tmpRepresentative.createOccurrence(gdlBackgroundColor, "silver", null);
+ bgcFocus.addTheme(gdlFocus);
+ Occurrence fsHover = tmpRepresentative.createOccurrence(gdlFontSize, "25pt", null);
+ fsHover.addTheme(gdlHover);
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/ActiveStyleHandler.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/ActiveStyleHandler.java Wed Jul 6 07:41:45 2011 (r568)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/ActiveStyleHandler.java Wed Jul 6 11:09:04 2011 (r569)
@@ -1,28 +1,30 @@
package us.isidor.gdl.anaToMia.Widgets.environment;
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
-
import com.google.gwt.event.dom.client.MouseDownEvent;
import com.google.gwt.event.dom.client.MouseDownHandler;
import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.event.dom.client.MouseUpHandler;
+import com.google.gwt.user.client.ui.Widget;
-public class ActiveStyleHandler extends CssStyleHandler implements MouseDownHandler, MouseUpHandler{
- public ActiveStyleHandler() {
- super();
- }
+
+
+public class ActiveStyleHandler implements MouseDownHandler, MouseUpHandler{
+ GdlVisibleObject widget = null;
+ public ActiveStyleHandler(GdlVisibleObject widget) {
+ this.widget = widget;
+ }
+
@Override
public void onMouseUp(MouseUpEvent event) {
- GdlVisibleObject widget = (GdlVisibleObject)event.getSource();
- super.unsetStyles(widget);
+ widget.onActiveEnd(event, this);
}
@Override
public void onMouseDown(MouseDownEvent event) {
- GdlVisibleObject widget = (GdlVisibleObject)event.getSource();
- super.setStyles(widget);
+ widget.onActiveStart(event, this);
}
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/FocusStyleHandler.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/FocusStyleHandler.java Wed Jul 6 07:41:45 2011 (r568)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/FocusStyleHandler.java Wed Jul 6 11:09:04 2011 (r569)
@@ -1,29 +1,29 @@
package us.isidor.gdl.anaToMia.Widgets.environment;
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
-import us.isidor.gdl.anaToMia.Widgets.environment.CssStyleHandler;
import com.google.gwt.event.dom.client.BlurEvent;
import com.google.gwt.event.dom.client.BlurHandler;
import com.google.gwt.event.dom.client.FocusEvent;
import com.google.gwt.event.dom.client.FocusHandler;
+import com.google.gwt.user.client.ui.Widget;
-public class FocusStyleHandler extends CssStyleHandler implements FocusHandler, BlurHandler{
+public class FocusStyleHandler implements FocusHandler, BlurHandler{
+ GdlVisibleObject widget = null;
+
// this class is used to set the style of focused elements
- public FocusStyleHandler() {
- super();
+ public FocusStyleHandler(GdlVisibleObject widget) {
+ this.widget = widget;
}
-
+
@Override
public void onFocus(FocusEvent event) {
- GdlVisibleObject widget = (GdlVisibleObject)event.getSource();
- super.setStyles(widget);;
+ widget.onFocusStart(event, this);
}
@Override
public void onBlur(BlurEvent event) {
- GdlVisibleObject widget = (GdlVisibleObject)event.getSource();
- super.unsetStyles(widget);
+ widget.onFocusEnd(event, this);
}
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/HoverStyleHandler.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/HoverStyleHandler.java Wed Jul 6 07:41:45 2011 (r568)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/HoverStyleHandler.java Wed Jul 6 11:09:04 2011 (r569)
@@ -1,28 +1,30 @@
package us.isidor.gdl.anaToMia.Widgets.environment;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
import com.google.gwt.event.dom.client.MouseOutEvent;
import com.google.gwt.event.dom.client.MouseOutHandler;
import com.google.gwt.event.dom.client.MouseOverEvent;
import com.google.gwt.event.dom.client.MouseOverHandler;
-public class HoverStyleHandler extends CssStyleHandler implements MouseOverHandler, MouseOutHandler{
- public HoverStyleHandler() {
- super();
- }
+
+public class HoverStyleHandler implements MouseOverHandler, MouseOutHandler{
+ GdlVisibleObject widget = null;
+ public HoverStyleHandler(GdlVisibleObject widget){
+ this.widget = widget;
+ }
+
+
@Override
public void onMouseOut(MouseOutEvent event) {
- GdlVisibleObject widget = (GdlVisibleObject)event.getSource();
- super.unsetStyles(widget);
+ widget.onHoverEnd(event, this);
}
@Override
public void onMouseOver(MouseOverEvent event) {
- GdlVisibleObject widget = (GdlVisibleObject)event.getSource();
- super.setStyles(widget);
+ widget.onHoverStart(event, this);
}
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Wed Jul 6 07:41:45 2011 (r568)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Wed Jul 6 11:09:04 2011 (r569)
@@ -4,17 +4,26 @@
import com.google.gwt.dom.client.Style.FontStyle;
import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.dom.client.Style.VerticalAlign;
+import com.google.gwt.event.dom.client.BlurEvent;
import com.google.gwt.event.dom.client.BlurHandler;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.event.dom.client.DomEvent;
+import com.google.gwt.event.dom.client.FocusEvent;
import com.google.gwt.event.dom.client.FocusHandler;
import com.google.gwt.event.dom.client.KeyPressEvent;
import com.google.gwt.event.dom.client.KeyPressHandler;
+import com.google.gwt.event.dom.client.MouseDownEvent;
import com.google.gwt.event.dom.client.MouseDownHandler;
+import com.google.gwt.event.dom.client.MouseOutEvent;
import com.google.gwt.event.dom.client.MouseOutHandler;
+import com.google.gwt.event.dom.client.MouseOverEvent;
import com.google.gwt.event.dom.client.MouseOverHandler;
+import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.event.dom.client.MouseUpHandler;
+import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.DOM;
+import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.TextArea;
import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
@@ -22,7 +31,10 @@
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMapsTypes;
import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
import us.isidor.gdl.anaToMia.Widgets.base.IGdlHasValue;
+import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
+import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.MultipleHandlerRegistration;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
@@ -48,9 +60,7 @@
protected ArrayList<TextArea> textElements = new ArrayList<TextArea>();
protected ArrayList<PasswordKeyPressHandler> passwordKeyPressHandler = null;
protected ArrayList<HandlerRegistration> passwordKeyPressRegistrations = null;
- // TODO: protected ArrayList<Pair<TextArea, ActiveStyleHandler>> activeStyleHandler = new ArrayList<Pair<TextArea,ActiveStyleHandler>>();
- // TODO: protected ArrayList<Pair<TextArea, FocusStyleHandler>> focusStyleHandler = new ArrayList<Pair<TextArea,FocusStyleHandler>>();
- // TODO: protected ArrayList<Pair<TextArea, HoverStyleHandler>> hoverStyleHandler = new ArrayList<Pair<TextArea,HoverStyleHandler>>();
+ protected ArrayList<Pair<TextArea, ArrayList<EventHandler>>> eventHandlers = new ArrayList<Pair<TextArea, ArrayList<EventHandler>>>();
// some constructors
@@ -71,9 +81,18 @@
protected TextArea createNewTextArea() throws InvalidGdlSchemaException, ExecutionException {
TextArea elem = new TextArea();
DOM.setElementAttribute(elem.getElement(), "id", this.getId() + "__GDL_" + this.textElements.size());
+ this.setGdlStyle((Widget)elem);
+ ActiveStyleHandler asHandler = new ActiveStyleHandler(this);
+ FocusStyleHandler fsHandler = new FocusStyleHandler(this);
+ HoverStyleHandler hsHandler = new HoverStyleHandler(this);
+ elem.addMouseDownHandler(asHandler);
+ elem.addMouseUpHandler(asHandler);
+ elem.addMouseOverHandler(hsHandler);
+ elem.addMouseOutHandler(hsHandler);
+ elem.addFocusHandler(fsHandler);
+ elem.addBlurHandler(fsHandler);
this.textElements.add(elem);
super.mainPanel.add(elem);
- this.setGdlStyle((Widget)elem);
this.adjustSize();
return elem;
}
@@ -81,27 +100,12 @@
// removes the passed element and all its handlers from the outer element
protected void removeTextArea(TextArea elem){
- // TODO: implement
- /*for (Pair<TextArea, ActiveStyleHandler> item : this.activeStyleHandler) {
- if(item.getFirst().equals(elem)){
- this.activeStyleHandler.remove(item);
- break;
- }
- }
- for (Pair<TextArea, FocusStyleHandler> item : this.focusStyleHandler) {
+ for (Pair<TextArea, ArrayList<EventHandler>> item : this.eventHandlers) {
if(item.getFirst().equals(elem)){
- this.focusStyleHandler.remove(item);
+ this.eventHandlers.remove(item);
break;
}
}
- for (Pair<TextArea, HoverStyleHandler> item : this.hoverStyleHandler) {
- if(item.getFirst().equals(elem)){
- this.hoverStyleHandler.remove(item);
- break;
- }
- }
- */
-
this.textElements.remove(elem);
elem.removeFromParent();
this.adjustSize();
@@ -532,31 +536,11 @@
if(styleClass == null){
DOM.setStyleAttribute(elem.getElement(), cssProperty, cssValue);
} else if(styleClass.equals(GdlPsis.Scope.gdlActive)){
- /* TODO: implement
- if(item.getFirst().equals(elem)){
- item.getSecond().addCssStyle(new Pair<String, String>(cssProperty, cssValue));
- break;
- }
- }
- */
+ super.activeCssNamesAndStyles.add(new Pair<String, String>(cssProperty, cssValue));
} else if(styleClass.equals(GdlPsis.Scope.gdlFocus)){
- /* TODO: implement
- for (Pair<TextArea, FocusStyleHandler> item : this.focusStyleHandler) {
- if(item.getFirst().equals(elem)){
- item.getSecond().addCssStyle(new Pair<String, String>(cssProperty, cssValue));
- break;
- }
- }
- */
+ super.focusCssNamesAndStyles.add(new Pair<String, String>(cssProperty, cssValue));
} else if (styleClass.equals(GdlPsis.Scope.gdlHover)){
- /* TODO: implement
- for (Pair<TextArea, HoverStyleHandler> item : this.hoverStyleHandler) {
- if(item.getFirst().equals(elem)){
- item.getSecond().addCssStyle(new Pair<String, String>(cssProperty, cssValue));
- break;
- }
- }
- */
+ super.hoverCssNamesAndStyles.add(new Pair<String, String>(cssProperty, cssValue));
} else {
String values = GdlPsis.Scope.gdlActive + ", " + GdlPsis.Scope.gdlFocus + ", " + GdlPsis.Scope.gdlHover;
throw new InvalidGdlSchemaException("GDL defines only the style classes " + values + ", but found " + styleClass);
@@ -1142,6 +1126,138 @@
// TODO: implement
return false;
}
+
+
+ // adds the passed handler to the list eventHandlers
+ private void addEventHandler(TextArea elem, EventHandler handler){
+ if(handler == null || elem == null) return;
+
+ for (Pair<TextArea, ArrayList<EventHandler>> item : this.eventHandlers) {
+ if(item.getFirst().equals(elem)){
+ item.getSecond().add(handler);
+ return;
+ }
+ }
+ ArrayList<EventHandler> newHandlerList = new ArrayList<EventHandler>();
+ newHandlerList.add(handler);
+ this.eventHandlers.add(new Pair<TextArea, ArrayList<EventHandler>>(elem, newHandlerList));
+ }
+
+
+ // remove the passed handler of the list eventHandlers
+ private void removeEventHandler(TextArea elem, EventHandler handler){
+ for (Pair<TextArea, ArrayList<EventHandler>> item : this.eventHandlers) {
+ if(item.getFirst().equals(elem)){
+ for (EventHandler handlerItem : item.getSecond()) {
+ if(handlerItem.equals(handler)){
+ item.getSecond().remove(handlerItem);
+ return;
+ }
+ }
+ }
+ }
+ }
+
+
+ // returns the last handler bound to the passed element.
+ private EventHandler getLastHandler(TextArea elem){
+ for (Pair<TextArea, ArrayList<EventHandler>> item : this.eventHandlers) {
+ if(item.getFirst().equals(elem)){
+ int idx = item.getSecond().size() - 1;
+ if(idx >= 0){
+ return item.getSecond().get(idx);
+ }
+ }
+ }
+
+ return null;
+ }
+
+
+ // some handler for applying the css style bound to the pseudo classes hover, active and focus
+ @Override
+ public void onHoverStart(@SuppressWarnings("rawtypes") DomEvent event, HoverStyleHandler handler) {
+ TextArea source = (TextArea)event.getSource();
+ this.addEventHandler(source, handler);
+ for (Pair<String, String> elem : this.hoverCssNamesAndStyles) {
+ DOM.setStyleAttribute(source.getElement(), elem.getFirst(), elem.getSecond());
+ }
+ }
+
+
+ @Override
+ public void onHoverEnd(@SuppressWarnings("rawtypes") DomEvent event, HoverStyleHandler handler) {
+ try{
+ TextArea source = (TextArea)event.getSource();
+ this.removeEventHandler(source, handler);
+ EventHandler lastHandler = this.getLastHandler(source);
+ if(lastHandler == null){
+ this.setGdlStyle(source);
+ }else {
+ if(lastHandler.getClass().equals(ActiveStyleHandler.class)) this.onActiveStart(event, null);
+ else this.onFocusStart(null, null);
+ }
+ }catch(Exception e){
+ Window.alert("could not apply the default CSS style >> " + e.getClass() + " >> " + e.getMessage());
+ e.printStackTrace();
+ }
+ }
+
+
+ @Override
+ public void onFocusStart(@SuppressWarnings("rawtypes") DomEvent event, FocusStyleHandler handler) {
+ TextArea source = (TextArea)event.getSource();
+ this.addEventHandler(source, handler);
+ for (Pair<String, String> elem : this.focusCssNamesAndStyles) {
+ DOM.setStyleAttribute(source.getElement(), elem.getFirst(), elem.getSecond());
+ }
+ }
+
+
+ @Override
+ public void onFocusEnd(@SuppressWarnings("rawtypes") DomEvent event, FocusStyleHandler handler) {
+ try{
+ TextArea source = (TextArea)event.getSource();
+ this.removeEventHandler(source, handler);
+ EventHandler lastHandler = this.getLastHandler(source);
+ if(lastHandler == null){
+ this.setGdlStyle(source);
+ }else {
+ if(lastHandler.getClass().equals(ActiveStyleHandler.class)) this.onActiveStart(event, null);
+ else this.onHoverStart(null, null);
+ }
+ }catch(Exception e){
+ Window.alert("could not apply the default CSS style >> " + e.getClass() + " >> " + e.getMessage());
+ }
+ }
+
+
+ @Override
+ public void onActiveStart(@SuppressWarnings("rawtypes") DomEvent event, ActiveStyleHandler handler) {
+ TextArea source = (TextArea)event.getSource();
+ this.addEventHandler(source, handler);
+ for (Pair<String, String> elem : this.activeCssNamesAndStyles) {
+ DOM.setStyleAttribute(source.getElement(), elem.getFirst(), elem.getSecond());
+ }
+ }
+
+
+ @Override
+ public void onActiveEnd(@SuppressWarnings("rawtypes") DomEvent event, ActiveStyleHandler handler) {
+ try{
+ TextArea source = (TextArea)event.getSource();
+ this.removeEventHandler(source, handler);
+ EventHandler lastHandler = this.getLastHandler(source);
+ if(lastHandler == null){
+ this.setGdlStyle(source);
+ }else {
+ if(lastHandler.getClass().equals(HoverStyleHandler.class)) this.onHoverStart(event, null);
+ else this.onFocusStart(null, null);
+ }
+ }catch(Exception e){
+ Window.alert("could not apply the default CSS style >> " + e.getClass() + " >> " + e.getMessage());
+ }
+ }
// this class catches all keypress events and transforms the visible
@@ -1163,5 +1279,4 @@
return this.realValue;
}
}
-
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java Wed Jul 6 07:41:45 2011 (r568)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java Wed Jul 6 11:09:04 2011 (r569)
@@ -2,7 +2,14 @@
import com.google.gwt.dom.client.Style.Float;
import com.google.gwt.dom.client.Style.Overflow;
+import com.google.gwt.event.dom.client.BlurEvent;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.event.dom.client.DomEvent;
+import com.google.gwt.event.dom.client.FocusEvent;
+import com.google.gwt.event.dom.client.MouseDownEvent;
+import com.google.gwt.event.dom.client.MouseOutEvent;
+import com.google.gwt.event.dom.client.MouseOverEvent;
+import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Association;
@@ -10,7 +17,10 @@
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
+import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
@@ -379,4 +389,41 @@
protected void adjustSize() {
// ignore this method, since all instances of gdl:View have a static size
}
+
+ @Override
+ public void onHoverStart(DomEvent event, HoverStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void onHoverEnd(DomEvent event, HoverStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void onFocusStart(DomEvent event, FocusStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void onFocusEnd(DomEvent event, FocusStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void onActiveStart(DomEvent event, ActiveStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void onActiveEnd(DomEvent event, ActiveStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java Wed Jul 6 07:41:45 2011 (r568)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java Wed Jul 6 11:09:04 2011 (r569)
@@ -1,11 +1,21 @@
package us.isidor.gdl.anaToMia.Widgets.views;
+import com.google.gwt.event.dom.client.BlurEvent;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.event.dom.client.DomEvent;
+import com.google.gwt.event.dom.client.FocusEvent;
+import com.google.gwt.event.dom.client.MouseDownEvent;
+import com.google.gwt.event.dom.client.MouseOutEvent;
+import com.google.gwt.event.dom.client.MouseOverEvent;
+import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
+import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
@@ -415,4 +425,48 @@
protected void adjustSize() {
// ignore this method, since all instances of gdl:View have a static size
}
+
+
+ @Override
+ public void onHoverStart(DomEvent event, HoverStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onHoverEnd(DomEvent event, HoverStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onFocusStart(DomEvent event, FocusStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onFocusEnd(DomEvent event, FocusStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onActiveStart(DomEvent event, ActiveStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onActiveEnd(DomEvent event, ActiveStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java Wed Jul 6 07:41:45 2011 (r568)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java Wed Jul 6 11:09:04 2011 (r569)
@@ -2,7 +2,14 @@
import com.google.gwt.dom.client.Style.Float;
import com.google.gwt.dom.client.Style.Overflow;
+import com.google.gwt.event.dom.client.BlurEvent;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.event.dom.client.DomEvent;
+import com.google.gwt.event.dom.client.FocusEvent;
+import com.google.gwt.event.dom.client.MouseDownEvent;
+import com.google.gwt.event.dom.client.MouseOutEvent;
+import com.google.gwt.event.dom.client.MouseOverEvent;
+import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Association;
@@ -10,7 +17,10 @@
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
+import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
@@ -417,4 +427,47 @@
protected void adjustSize() {
// ignore this method, since all instances of gdl:View have a static size
}
+
+
+ @Override
+ public void onHoverStart(DomEvent event, HoverStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onHoverEnd(DomEvent event, HoverStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onFocusStart(DomEvent event, FocusStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onFocusEnd(DomEvent event, FocusStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onActiveStart(DomEvent event, ActiveStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onActiveEnd(DomEvent event, ActiveStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java Wed Jul 6 07:41:45 2011 (r568)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java Wed Jul 6 11:09:04 2011 (r569)
@@ -2,14 +2,24 @@
import com.google.gwt.dom.client.Style.Float;
import com.google.gwt.dom.client.Style.Overflow;
+import com.google.gwt.event.dom.client.BlurEvent;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.event.dom.client.DomEvent;
+import com.google.gwt.event.dom.client.FocusEvent;
+import com.google.gwt.event.dom.client.MouseDownEvent;
+import com.google.gwt.event.dom.client.MouseOutEvent;
+import com.google.gwt.event.dom.client.MouseOverEvent;
+import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
+import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
@@ -418,4 +428,47 @@
protected void adjustSize() {
// ignore this method, since all instances of gdl:View have a static size
}
+
+
+ @Override
+ public void onHoverStart(DomEvent event, HoverStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onHoverEnd(DomEvent event, HoverStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onFocusStart(DomEvent event, FocusStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onFocusEnd(DomEvent event, FocusStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onActiveStart(DomEvent event, ActiveStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onActiveEnd(DomEvent event, ActiveStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java Wed Jul 6 07:41:45 2011 (r568)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java Wed Jul 6 11:09:04 2011 (r569)
@@ -2,14 +2,24 @@
import com.google.gwt.dom.client.Style.Float;
import com.google.gwt.dom.client.Style.Overflow;
+import com.google.gwt.event.dom.client.BlurEvent;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.event.dom.client.DomEvent;
+import com.google.gwt.event.dom.client.FocusEvent;
+import com.google.gwt.event.dom.client.MouseDownEvent;
+import com.google.gwt.event.dom.client.MouseOutEvent;
+import com.google.gwt.event.dom.client.MouseOverEvent;
+import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
+import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
@@ -420,4 +430,48 @@
protected void adjustSize() {
// ignore this method, since all instances of gdl:View have a static size
}
+
+
+ @Override
+ public void onHoverStart(DomEvent event, HoverStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onHoverEnd(DomEvent event, HoverStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onFocusStart(DomEvent event, FocusStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onFocusEnd(DomEvent event, FocusStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onActiveStart(DomEvent event, ActiveStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void onActiveEnd(DomEvent event, ActiveStyleHandler handler) {
+ // TODO Auto-generated method stub
+
+ }
+
+
}
1
0

[isidorus-cvs] r568 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base text
by lgiessmann@common-lisp.net 06 Jul '11
by lgiessmann@common-lisp.net 06 Jul '11
06 Jul '11
Author: lgiessmann
Date: Wed Jul 6 07:41:45 2011
New Revision: 568
Log:
gdl-frontend: Widgets: changed the behavior of setting default style properties of GdlText
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Wed Jul 6 07:19:57 2011 (r567)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Wed Jul 6 07:41:45 2011 (r568)
@@ -35,7 +35,6 @@
import com.google.gwt.event.dom.client.MouseOutHandler;
import com.google.gwt.event.dom.client.MouseOverHandler;
import com.google.gwt.event.dom.client.MouseUpHandler;
-import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.Composite;
@@ -721,7 +720,9 @@
radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopLeftRadius);
}
- if(radiusOcc == null){
+ if(radiusOcc == null && styleClass != null){
+ return null;
+ } else if(radiusOcc == null){
return null;
} else {
return new NumUnitValue(radiusOcc.getValue());
@@ -740,7 +741,9 @@
radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopRightRadius);
}
- if(radiusOcc == null){
+ if(radiusOcc == null && styleClass != null){
+ return null;
+ } else if(radiusOcc == null){
return null;
} else {
return new NumUnitValue(radiusOcc.getValue());
@@ -759,7 +762,9 @@
radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomLeftRadius);
}
- if(radiusOcc == null){
+ if(radiusOcc == null && styleClass != null){
+ return null;
+ } else if(radiusOcc == null){
return null;
} else {
return new NumUnitValue(radiusOcc.getValue());
@@ -778,7 +783,9 @@
radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomRightRadius);
}
- if(radiusOcc == null){
+ if(radiusOcc == null && styleClass != null){
+ return null;
+ } else if(radiusOcc == null){
return null;
} else {
return new NumUnitValue(radiusOcc.getValue());
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Wed Jul 6 07:19:57 2011 (r567)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Wed Jul 6 07:41:45 2011 (r568)
@@ -108,6 +108,331 @@
}
+ // returns only a value if it was set, so the browsers default value is set
+ @Override
+ public AbsoluteNumValue getBorderWidth(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence widthOcc = null;
+ if(styleClass != null){
+ widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderWidth, styleClass);
+ } else {
+ widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderWidth);
+ }
+
+ if(widthOcc == null) return null;
+ else return new AbsoluteNumValue(widthOcc.getValue());
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ @Override
+ public AbsoluteNumValue getBorderTopWidth(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence widthOcc = null;
+ if(styleClass != null){
+ widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopWidth, styleClass);
+ } else {
+ widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopWidth);
+ }
+
+ if(widthOcc == null) return null;
+ else return new AbsoluteNumValue(widthOcc.getValue());
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ @Override
+ public AbsoluteNumValue getBorderRightWidth(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence widthOcc = null;
+ if(styleClass != null){
+ widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightWidth, styleClass);
+ } else {
+ widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightWidth);
+ }
+
+ if(widthOcc == null) return null;
+ else return new AbsoluteNumValue(widthOcc.getValue());
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ @Override
+ public AbsoluteNumValue getBorderBottomWidth(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence widthOcc = null;
+ if(styleClass != null){
+ widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomWidth, styleClass);
+ } else {
+ widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomWidth);
+ }
+
+ if(widthOcc == null) return null;
+ else return new AbsoluteNumValue(widthOcc.getValue());
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ @Override
+ public AbsoluteNumValue getBorderLeftWidth(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence widthOcc = null;
+ if(styleClass != null){
+ widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftWidth, styleClass);
+ } else {
+ widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftWidth);
+ }
+
+ if(widthOcc == null) return null;
+ else return new AbsoluteNumValue(widthOcc.getValue());
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ public NumUnitValue getBorderRadius(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence radiusOcc = null;
+ if(styleClass != null){
+ radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRadius, styleClass);
+ } else {
+ radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRadius);
+ }
+
+ if(radiusOcc == null) return null;
+ else return new NumUnitValue(radiusOcc.getValue());
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ public NumUnitValue getBorderTopLeftRadius(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence radiusOcc = null;
+ if(styleClass != null){
+ radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopLeftRadius, styleClass);
+ } else {
+ radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopLeftRadius);
+ }
+
+ if(radiusOcc == null) return null;
+ else return new NumUnitValue(radiusOcc.getValue());
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ public NumUnitValue getBorderTopRightRadius(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence radiusOcc = null;
+ if(styleClass != null){
+ radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopRightRadius, styleClass);
+ } else {
+ radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopRightRadius);
+ }
+
+ if(radiusOcc == null) return null;
+ else return new NumUnitValue(radiusOcc.getValue());
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ public NumUnitValue getBorderBottomLeftRadius(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence radiusOcc = null;
+ if(styleClass != null){
+ radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomLeftRadius, styleClass);
+ } else {
+ radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomLeftRadius);
+ }
+
+ if(radiusOcc == null) return null;
+ else return new NumUnitValue(radiusOcc.getValue());
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ public NumUnitValue getBorderBottomRightRadius(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence radiusOcc = null;
+ if(styleClass != null){
+ radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomRightRadius, styleClass);
+ } else {
+ radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomRightRadius);
+ }
+
+ if(radiusOcc == null) return null;
+ else return new NumUnitValue(radiusOcc.getValue());
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ public ColorValue getBorderColor(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence colorOcc = null;
+ if(styleClass != null){
+ colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderColor, styleClass);
+ } else {
+ colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderColor);
+ }
+
+ if(colorOcc == null ) return null;
+ else return new ColorValue(colorOcc.getValue());
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ public ColorValue getBorderTopColor(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence colorOcc = null;
+ if(styleClass != null){
+ colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopColor, styleClass);
+ } else {
+ colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopColor);
+ }
+
+ if(colorOcc == null ) return null;
+ else return new ColorValue(colorOcc.getValue());
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ public ColorValue getBorderRightColor(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence colorOcc = null;
+ if(styleClass != null){
+ colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightColor, styleClass);
+ } else {
+ colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightColor);
+ }
+
+ if(colorOcc == null ) return null;
+ else return new ColorValue(colorOcc.getValue());
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ public ColorValue getBorderBottomColor(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence colorOcc = null;
+ if(styleClass != null){
+ colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomColor, styleClass);
+ } else {
+ colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomColor);
+ }
+
+ if(colorOcc == null ) return null;
+ else return new ColorValue(colorOcc.getValue());
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ public ColorValue getBorderLeftColor(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence colorOcc = null;
+ if(styleClass != null){
+ colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftColor, styleClass);
+ } else {
+ colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftColor);
+ }
+
+ if(colorOcc == null ) return null;
+ else return new ColorValue(colorOcc.getValue());
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ public BorderStyleValue getBorderStyle(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence styleOcc = null;
+ if(styleClass != null){
+ styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderStyle, styleClass);
+ } else {
+ styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderStyle);
+ }
+
+ if(styleOcc == null) {
+ return null;
+ } else {
+ try{
+ return BorderStyleValue.valueOf(styleOcc.getValue().toUpperCase());
+ }catch(IllegalArgumentException e){
+ String values = "none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset";
+ throw new InvalidGdlSchemaException("border-style must be set to one of " + values + ", but is " + styleOcc.getValue());
+ }
+ }
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ public BorderStyleValue getBorderTopStyle(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence styleOcc = null;
+ if(styleClass != null){
+ styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopStyle, styleClass);
+ } else {
+ styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopStyle);
+ }
+
+ if(styleOcc == null) {
+ return null;
+ } else {
+ try{
+ return BorderStyleValue.valueOf(styleOcc.getValue().toUpperCase());
+ }catch(IllegalArgumentException e){
+ String values = "none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset";
+ throw new InvalidGdlSchemaException("border-style must be set to one of " + values + ", but is " + styleOcc.getValue());
+ }
+ }
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ public BorderStyleValue getBorderRightStyle(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence styleOcc = null;
+ if(styleClass != null){
+ styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightStyle, styleClass);
+ } else {
+ styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightStyle);
+ }
+
+ if(styleOcc == null) {
+ return null;
+ } else {
+ try{
+ return BorderStyleValue.valueOf(styleOcc.getValue().toUpperCase());
+ }catch(IllegalArgumentException e){
+ String values = "none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset";
+ throw new InvalidGdlSchemaException("border-style must be set to one of " + values + ", but is " + styleOcc.getValue());
+ }
+ }
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ public BorderStyleValue getBorderBottomStyle(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence styleOcc = null;
+ if(styleClass != null){
+ styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomStyle, styleClass);
+ } else {
+ styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomStyle);
+ }
+
+ if(styleOcc == null) {
+ return null;
+ } else {
+ try{
+ return BorderStyleValue.valueOf(styleOcc.getValue().toUpperCase());
+ }catch(IllegalArgumentException e){
+ String values = "none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset";
+ throw new InvalidGdlSchemaException("border-style must be set to one of " + values + ", but is " + styleOcc.getValue());
+ }
+ }
+ }
+
+
+ // returns only a value if it was set, so the browsers default value is set
+ public BorderStyleValue getBorderLeftStyle(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence styleOcc = null;
+ if(styleClass != null){
+ styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftStyle, styleClass);
+ } else {
+ styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftStyle);
+ }
+
+ if(styleOcc == null) {
+ return null;
+ } else {
+ try{
+ return BorderStyleValue.valueOf(styleOcc.getValue().toUpperCase());
+ }catch(IllegalArgumentException e){
+ String values = "none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset";
+ throw new InvalidGdlSchemaException("border-style must be set to one of " + values + ", but is " + styleOcc.getValue());
+ }
+ }
+ }
+
+
// returns a TextType instance of a gdl:text-type occurrence.
// If no gdl:text-type occurrence is set, the default value is returned
public TextTypeValue getTextType() throws InvalidGdlSchemaException {
@@ -709,6 +1034,7 @@
}
+ // resets the size of this element depending on the amount of inner sub-elements
@Override
protected void adjustSize(){
// TODO: implement => width, height, overflow of the mainpanel
1
0

[isidorus-cvs] r567 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base environment text views
by lgiessmann@common-lisp.net 06 Jul '11
by lgiessmann@common-lisp.net 06 Jul '11
06 Jul '11
Author: lgiessmann
Date: Wed Jul 6 07:19:57 2011
New Revision: 567
Log:
gdl-frontend: Widgets: changed the registration concept of handlers
Added:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/ActiveStyleHandler.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/CssStyleHandler.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/FocusStyleHandler.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/HoverStyleHandler.java
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Wed Jul 6 05:16:54 2011 (r566)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Wed Jul 6 07:19:57 2011 (r567)
@@ -6,7 +6,7 @@
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
-import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
+import us.isidor.gdl.anaToMia.Widgets.environment.MultipleHandlerRegistration;
import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
import us.isidor.gdl.anaToMia.Widgets.values.AutoNumValue;
import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
@@ -21,11 +21,8 @@
import com.google.gwt.dom.client.Style.Float;
import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.dom.client.Style.VerticalAlign;
-import com.google.gwt.event.dom.client.BlurEvent;
import com.google.gwt.event.dom.client.BlurHandler;
-import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.event.dom.client.FocusEvent;
import com.google.gwt.event.dom.client.FocusHandler;
import com.google.gwt.event.dom.client.HasBlurHandlers;
import com.google.gwt.event.dom.client.HasClickHandlers;
@@ -34,17 +31,10 @@
import com.google.gwt.event.dom.client.HasMouseOutHandlers;
import com.google.gwt.event.dom.client.HasMouseOverHandlers;
import com.google.gwt.event.dom.client.HasMouseUpHandlers;
-import com.google.gwt.event.dom.client.HasScrollHandlers;
-import com.google.gwt.event.dom.client.MouseDownEvent;
import com.google.gwt.event.dom.client.MouseDownHandler;
-import com.google.gwt.event.dom.client.MouseOutEvent;
import com.google.gwt.event.dom.client.MouseOutHandler;
-import com.google.gwt.event.dom.client.MouseOverEvent;
import com.google.gwt.event.dom.client.MouseOverHandler;
-import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.event.dom.client.MouseUpHandler;
-import com.google.gwt.event.dom.client.ScrollEvent;
-import com.google.gwt.event.dom.client.ScrollHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.AbsolutePanel;
@@ -52,13 +42,10 @@
import com.google.gwt.user.client.ui.Widget;
-public abstract class GdlVisibleObject extends Composite implements GdlDescriptor, HasClickHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasFocusHandlers, HasMouseDownHandlers, HasMouseUpHandlers, HasBlurHandlers, HasScrollHandlers{
+public abstract class GdlVisibleObject extends Composite implements GdlDescriptor, HasClickHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasFocusHandlers, HasMouseDownHandlers, HasMouseUpHandlers, HasBlurHandlers{
protected AbsolutePanel mainPanel = new AbsolutePanel();
protected Topic tmRepresentative = null;
protected TopicMap tm = null;
- protected ActiveStyleHandler activeStyleHandler = new ActiveStyleHandler();
- protected FocusStyleHandler focusStyleHandler = new FocusStyleHandler();
- protected HoverStyleHandler hoverStyleHandler = new HoverStyleHandler();
// some constructors
@@ -1155,10 +1142,8 @@
}
- // sets the vertical-align style property of this element by using the GWT DOM class
- public void setVerticalAlign(VerticalAlign value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "verticalAlign", value.getCssName());
- }
+ // sets the vertical-align style property of this element and all it's sub-elements by using the GWT DOM class
+ public abstract void setVerticalAlign(Widget widget, VerticalAlign value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the margin style property of this element by using the GWT DOM class
@@ -1319,9 +1304,7 @@
// sets the overflow style property of this element by using the GWT DOM class
- public void setOverflow(Overflow value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "overflow", value.getCssName());
- }
+ public abstract void setOverflow(Widget widget, Overflow value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the passed css style porperty to the passed css value.
@@ -1332,11 +1315,14 @@
if(styleClass == null){
DOM.setStyleAttribute(this.getElement(), cssProperty, cssValue);
} else if(styleClass.equals(GdlPsis.Scope.gdlActive)){
- this.activeStyleHandler.addCssStyle(new Pair<String, String>(cssProperty, cssValue));
+ //this.activeStyleHandler.addCssStyle(new Pair<String, String>(cssProperty, cssValue));
+ // Ignore is only set in the inheriting classes
} else if(styleClass.equals(GdlPsis.Scope.gdlFocus)){
- this.focusStyleHandler.addCssStyle(new Pair<String, String>(cssProperty, cssValue));
+ //this.focusStyleHandler.addCssStyle(new Pair<String, String>(cssProperty, cssValue));
+ // Ignore is only set in the inheriting classes
} else if (styleClass.equals(GdlPsis.Scope.gdlHover)){
- this.hoverStyleHandler.addCssStyle(new Pair<String, String>(cssProperty, cssValue));
+ //this.hoverStyleHandler.addCssStyle(new Pair<String, String>(cssProperty, cssValue));
+ // Ignore is only set in the inheriting classes
} else {
String values = GdlPsis.Scope.gdlActive + ", " + GdlPsis.Scope.gdlFocus + ", " + GdlPsis.Scope.gdlHover;
throw new InvalidGdlSchemaException("GDL defines only the style classes " + values + ", but found " + styleClass);
@@ -1350,177 +1336,40 @@
this.setZindex(this.getZindex());
this.setFloat(this.getFloat());
this.setClear(this.getClear());
-
- String[] styleClasses = new String[]{null, GdlPsis.Scope.gdlActive, GdlPsis.Scope.gdlFocus, GdlPsis.Scope.gdlHover};
- for (String styleClass : styleClasses) {
- this.setVerticalAlign(this.getVerticalAlign(styleClass), styleClass);
- this.setOverflow(this.getOverflow(styleClass), styleClass);
- }
-
- // registers the handlers for the CSS pseudo classes
- this.addMouseDownHandler(this.activeStyleHandler);
- this.addMouseUpHandler(this.activeStyleHandler);
- this.addFocusHandler(this.focusStyleHandler);
- this.addBlurHandler(this.focusStyleHandler);
- this.addMouseOutHandler(this.hoverStyleHandler);
- this.addMouseOverHandler(this.hoverStyleHandler);
}
- // registers a click handler for this element
+ // registers a click handler to all sub-elements of this element
@Override
- public HandlerRegistration addClickHandler(ClickHandler handler) {
- return this.addDomHandler(handler, ClickEvent.getType());
- }
+ public abstract MultipleHandlerRegistration addClickHandler(ClickHandler handler);
- // registers a mouse out handler on this element
+ // registers a mouse-out handler to all sub-elements of this element
@Override
- public HandlerRegistration addMouseOutHandler(MouseOutHandler handler) {
- return this.addDomHandler(handler, MouseOutEvent.getType());
- }
+ public abstract MultipleHandlerRegistration addMouseOutHandler(MouseOutHandler handler);
- // registers a mouse over handler on this element
+ // registers a mouse-over handler to all sub-elements of this element
@Override
- public HandlerRegistration addMouseOverHandler(MouseOverHandler handler) {
- return this.addDomHandler(handler, MouseOverEvent.getType());
- }
+ public abstract MultipleHandlerRegistration addMouseOverHandler(MouseOverHandler handler);
- // registers a focus handler on this element
+ // registers a focus handler to all sub-elements of this element
@Override
- public HandlerRegistration addFocusHandler(FocusHandler handler) {
- return this.addDomHandler(handler, FocusEvent.getType());
- }
+ public abstract MultipleHandlerRegistration addFocusHandler(FocusHandler handler);
- // registers a mouse down handler on this element
+ // registers a mouse-down handler to all sub-elements of this element
@Override
- public HandlerRegistration addMouseDownHandler(MouseDownHandler handler) {
- return this.addDomHandler(handler, MouseDownEvent.getType());
- }
+ public abstract MultipleHandlerRegistration addMouseDownHandler(MouseDownHandler handler);
- // registers a scroll handler on this element
+ // registers a mouse-up handler to all sub-elements of this element
@Override
- public HandlerRegistration addScrollHandler(ScrollHandler handler) {
- return this.addDomHandler(handler, ScrollEvent.getType());
- }
+ public abstract MultipleHandlerRegistration addMouseUpHandler(MouseUpHandler handler);
- // registers a mouse down handler on this element
+ // registers a blur handler to all sub-elements of this element
@Override
- public HandlerRegistration addMouseUpHandler(MouseUpHandler handler) {
- return this.addDomHandler(handler, MouseUpEvent.getType());
- }
-
-
- // registers a blur on this element
- @Override
- public HandlerRegistration addBlurHandler(BlurHandler handler) {
- return this.addDomHandler(handler, BlurEvent.getType());
- }
-
-
- // this class is used as base for all style handlers, so a style property
- // can be added to a style handler by adding a Pair<String, String> instance
- protected class CssStyleHandler{
- private ArrayList<Pair<String, String>> cssNameAndValues = new ArrayList<Pair<String,String>>();
- private ArrayList<Pair<String, String>> cssPreviousNameAndValues = new ArrayList<Pair<String,String>>();
-
-
- public CssStyleHandler() {}
-
-
- // adds a CSS name value pair
- public void addCssStyle(Pair<String, String> cssNameAndValue) {
- if(cssNameAndValue != null && cssNameAndValue.getFirst() != null && cssNameAndValue.getSecond() != null){
- this.cssNameAndValues.add(cssNameAndValue);
- }
- }
-
-
- // sets the stored CSS name/value pairs
- public void setStyles(){
- for (Pair<String, String> cssNameValue : this.cssNameAndValues) {
- Pair<String, String> oldNameValue = null;
- String oldVal = DOM.getStyleAttribute(GdlVisibleObject.this.getElement(), cssNameValue.getFirst());
- if(oldVal != null && oldVal.length() != 0){
- oldNameValue = new Pair<String, String>(cssNameValue.getFirst(), oldVal);
- this.cssPreviousNameAndValues.add(oldNameValue);
- }
- DOM.setStyleAttribute(GdlVisibleObject.this.getElement(), cssNameValue.getFirst(), cssNameValue.getSecond());
- }
- }
-
-
- // must sets the original style that is bound to the non-pseudo-class name space
- public void unsetStyles(){
- for (Pair<String, String> oldNameValue : this.cssPreviousNameAndValues) {
- DOM.setStyleAttribute(GdlVisibleObject.this.getElement(), oldNameValue.getFirst(), oldNameValue.getSecond());
- }
- }
- }
-
-
- // this class is used to set the style of focused elements
- protected class FocusStyleHandler extends CssStyleHandler implements FocusHandler, BlurHandler{
- public FocusStyleHandler() {
- super();
- }
-
-
- @Override
- public void onFocus(FocusEvent event) {
- super.setStyles();
- }
-
-
- @Override
- public void onBlur(BlurEvent event) {
- super.unsetStyles();
- }
- }
-
-
- // this class is used to set the style of hovered elements
- protected class HoverStyleHandler extends CssStyleHandler implements MouseOverHandler, MouseOutHandler {
- public HoverStyleHandler() {
- super();
- }
-
-
- @Override
- public void onMouseOut(MouseOutEvent event) {
- super.unsetStyles();
- }
-
-
- @Override
- public void onMouseOver(MouseOverEvent event) {
- super.setStyles();
- }
- }
-
-
- // this class is used to set the style of active elements
- protected class ActiveStyleHandler extends CssStyleHandler implements MouseDownHandler, MouseUpHandler {
- public ActiveStyleHandler() {
- super();
- }
-
-
- @Override
- public void onMouseUp(MouseUpEvent event) {
- super.unsetStyles();
- }
-
-
- @Override
- public void onMouseDown(MouseDownEvent event) {
- super.setStyles();
- }
-
- }
+ public abstract MultipleHandlerRegistration addBlurHandler(BlurHandler handler);
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Wed Jul 6 05:16:54 2011 (r566)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Wed Jul 6 07:19:57 2011 (r567)
@@ -80,6 +80,7 @@
Topic gdlReadonly = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlReadonly));
Topic gdlResize = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlResize));
Topic gdlOverflow = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlOverflow));
+ Topic gdlTextDecoration = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlTextDecoration));
tmpRepresentative.createOccurrence(gdlBackgroundColor, "red", null);
@@ -102,6 +103,7 @@
tmpRepresentative.createOccurrence(gdlResize, "both", null);
tmpRepresentative.createOccurrence(gdlOverflow, "hidden", null);
tmpRepresentative.createOccurrence(gdlFontSize, "15pt", null);
+ tmpRepresentative.createOccurrence(gdlTextDecoration, "underline", null);
//Occurrence bgcHover = tmpRepresentative.createOccurrence(gdlBackgroundColor, "green", null);
//bgcHover.addTheme(gdlHover);
//Occurrence bgcActive = tmpRepresentative.createOccurrence(gdlBackgroundColor, "purple", null);
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/ActiveStyleHandler.java
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/ActiveStyleHandler.java Wed Jul 6 07:19:57 2011 (r567)
@@ -0,0 +1,28 @@
+package us.isidor.gdl.anaToMia.Widgets.environment;
+
+import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+
+import com.google.gwt.event.dom.client.MouseDownEvent;
+import com.google.gwt.event.dom.client.MouseDownHandler;
+import com.google.gwt.event.dom.client.MouseUpEvent;
+import com.google.gwt.event.dom.client.MouseUpHandler;
+
+public class ActiveStyleHandler extends CssStyleHandler implements MouseDownHandler, MouseUpHandler{
+ public ActiveStyleHandler() {
+ super();
+ }
+
+
+ @Override
+ public void onMouseUp(MouseUpEvent event) {
+ GdlVisibleObject widget = (GdlVisibleObject)event.getSource();
+ super.unsetStyles(widget);
+ }
+
+
+ @Override
+ public void onMouseDown(MouseDownEvent event) {
+ GdlVisibleObject widget = (GdlVisibleObject)event.getSource();
+ super.setStyles(widget);
+ }
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/CssStyleHandler.java
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/CssStyleHandler.java Wed Jul 6 07:19:57 2011 (r567)
@@ -0,0 +1,45 @@
+package us.isidor.gdl.anaToMia.Widgets.environment;
+
+import java.util.ArrayList;
+
+import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+
+import com.google.gwt.user.client.DOM;
+
+public class CssStyleHandler {
+ private ArrayList<Pair<String, String>> cssNameAndValues = new ArrayList<Pair<String,String>>();
+ private ArrayList<Pair<String, String>> cssPreviousNameAndValues = new ArrayList<Pair<String,String>>();
+
+
+ public CssStyleHandler() {}
+
+
+ // adds a CSS name value pair
+ public void addCssStyle(Pair<String, String> cssNameAndValue) {
+ if(cssNameAndValue != null && cssNameAndValue.getFirst() != null && cssNameAndValue.getSecond() != null){
+ this.cssNameAndValues.add(cssNameAndValue);
+ }
+ }
+
+
+ // sets the stored CSS name/value pairs of a GdlVisibleObject
+ public void setStyles(GdlVisibleObject widget){
+ for (Pair<String, String> cssNameValue : this.cssNameAndValues) {
+ Pair<String, String> oldNameValue = null;
+ String oldVal = DOM.getStyleAttribute(widget.getElement(), cssNameValue.getFirst());
+ if(oldVal != null && oldVal.length() != 0){
+ oldNameValue = new Pair<String, String>(cssNameValue.getFirst(), oldVal);
+ this.cssPreviousNameAndValues.add(oldNameValue);
+ }
+ DOM.setStyleAttribute(widget.getElement(), cssNameValue.getFirst(), cssNameValue.getSecond());
+ }
+ }
+
+
+ // must sets the original style that is bound to the non-pseudo-class name space
+ public void unsetStyles(GdlVisibleObject widget){
+ for (Pair<String, String> oldNameValue : this.cssPreviousNameAndValues) {
+ DOM.setStyleAttribute(widget.getElement(), oldNameValue.getFirst(), oldNameValue.getSecond());
+ }
+ }
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/FocusStyleHandler.java
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/FocusStyleHandler.java Wed Jul 6 07:19:57 2011 (r567)
@@ -0,0 +1,29 @@
+package us.isidor.gdl.anaToMia.Widgets.environment;
+
+import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+import us.isidor.gdl.anaToMia.Widgets.environment.CssStyleHandler;
+import com.google.gwt.event.dom.client.BlurEvent;
+import com.google.gwt.event.dom.client.BlurHandler;
+import com.google.gwt.event.dom.client.FocusEvent;
+import com.google.gwt.event.dom.client.FocusHandler;
+
+public class FocusStyleHandler extends CssStyleHandler implements FocusHandler, BlurHandler{
+ // this class is used to set the style of focused elements
+ public FocusStyleHandler() {
+ super();
+ }
+
+
+ @Override
+ public void onFocus(FocusEvent event) {
+ GdlVisibleObject widget = (GdlVisibleObject)event.getSource();
+ super.setStyles(widget);;
+ }
+
+
+ @Override
+ public void onBlur(BlurEvent event) {
+ GdlVisibleObject widget = (GdlVisibleObject)event.getSource();
+ super.unsetStyles(widget);
+ }
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/HoverStyleHandler.java
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/HoverStyleHandler.java Wed Jul 6 07:19:57 2011 (r567)
@@ -0,0 +1,28 @@
+package us.isidor.gdl.anaToMia.Widgets.environment;
+
+import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+
+import com.google.gwt.event.dom.client.MouseOutEvent;
+import com.google.gwt.event.dom.client.MouseOutHandler;
+import com.google.gwt.event.dom.client.MouseOverEvent;
+import com.google.gwt.event.dom.client.MouseOverHandler;
+
+public class HoverStyleHandler extends CssStyleHandler implements MouseOverHandler, MouseOutHandler{
+ public HoverStyleHandler() {
+ super();
+ }
+
+
+ @Override
+ public void onMouseOut(MouseOutEvent event) {
+ GdlVisibleObject widget = (GdlVisibleObject)event.getSource();
+ super.unsetStyles(widget);
+ }
+
+
+ @Override
+ public void onMouseOver(MouseOverEvent event) {
+ GdlVisibleObject widget = (GdlVisibleObject)event.getSource();
+ super.setStyles(widget);
+ }
+}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Wed Jul 6 05:16:54 2011 (r566)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Wed Jul 6 07:19:57 2011 (r567)
@@ -2,7 +2,10 @@
import java.util.ArrayList;
import com.google.gwt.dom.client.Style.FontStyle;
+import com.google.gwt.dom.client.Style.Overflow;
+import com.google.gwt.dom.client.Style.VerticalAlign;
import com.google.gwt.event.dom.client.BlurHandler;
+import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.dom.client.FocusHandler;
import com.google.gwt.event.dom.client.KeyPressEvent;
import com.google.gwt.event.dom.client.KeyPressHandler;
@@ -609,62 +612,87 @@
}
+ public void setVerticalAlign(Widget widget, VerticalAlign value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null){
+ this.setCssProperty((TextArea) widget, styleClass, "verticalAlign", value.getCssName());
+ super.setCssProperty(styleClass, "verticalAlign", value.getCssName());
+ }
+ }
+
+
+ public void setOverflow(Widget widget, Overflow value, String styleClass)throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "overflow", value.getCssName());
+ }
+
+
public void setGdlStyle(Widget widget) throws InvalidGdlSchemaException, ExecutionException {
+ this.setReadonly(this.getReadonly());
+ this.setResize(this.getResize());
+ this.setTextType(this.getTextType());
+ this.setRows(this.getRows());
+ this.setCols(this.getCols());
+ this.setContentOrientation(widget, this.getContentOrientation());
+
String[] styleClasses = new String[]{null, GdlPsis.Scope.gdlActive, GdlPsis.Scope.gdlFocus, GdlPsis.Scope.gdlHover};
for (String styleClass : styleClasses) {
+ this.setOverflow(widget, this.getOverflow(styleClass), styleClass);
+
+ this.setVerticalAlign(widget, this.getVerticalAlign(styleClass), styleClass);
+
this.setMargin(widget, this.getMargin(styleClass), styleClass);
this.setMarginTop(widget, this.getMarginTop(styleClass), styleClass);
this.setMarginRight(widget, this.getMarginRight(styleClass), styleClass);
this.setMarginBottom(widget, this.getMarginBottom(styleClass), styleClass);
this.setMarginLeft(widget, this.getMarginLeft(styleClass), styleClass);
+
+ this.setBorderColor(widget, this.getBorderColor(styleClass), styleClass);
+ this.setBorderTopColor(widget, this.getBorderTopColor(styleClass), styleClass);
+ this.setBorderRightColor(widget, this.getBorderRightColor(styleClass), styleClass);
+ this.setBorderBottomColor(widget, this.getBorderBottomColor(styleClass), styleClass);
+ this.setBorderLeftColor(widget, this.getBorderLeftColor(styleClass), styleClass);
+
+ this.setBorderStyle(widget, this.getBorderStyle(styleClass), styleClass);
+ this.setBorderTopStyle(widget, this.getBorderTopStyle(styleClass), styleClass);
+ this.setBorderRightStyle(widget, this.getBorderRightStyle(styleClass), styleClass);
+ this.setBorderBottomStyle(widget, this.getBorderBottomStyle(styleClass), styleClass);
+ this.setBorderLeftStyle(widget, this.getBorderLeftStyle(styleClass), styleClass);
+
+ this.setBorderWidth(widget, this.getBorderWidth(styleClass), styleClass);
+ this.setBorderTopWidth(widget, this.getBorderTopWidth(styleClass), styleClass);
+ this.setBorderRightWidth(widget, this.getBorderRightWidth(styleClass), styleClass);
+ this.setBorderBottomWidth(widget, this.getBorderBottomWidth(styleClass), styleClass);
+ this.setBorderLeftWidth(widget, this.getBorderLeftWidth(styleClass), styleClass);
+
+ this.setBorderRadius(widget, this.getBorderRadius(styleClass), styleClass);
+ this.setBorderTopRightRadius(widget, this.getBorderTopRightRadius(styleClass), styleClass);
+ this.setBorderBottomRightRadius(widget, this.getBorderBottomRightRadius(styleClass), styleClass);
+ this.setBorderBottomLeftRadius(widget, this.getBorderBottomLeftRadius(styleClass), styleClass);
+ this.setBorderTopLeftRadius(widget, this.getBorderTopLeftRadius(styleClass), styleClass);
+
+ this.setCursor(widget, this.getCursor(styleClass), styleClass);
+
+ this.setWidth(widget, this.getWidth(styleClass), styleClass);
+ this.setMaxWidth(widget, this.getMaxWidth(styleClass), styleClass);
+ this.setMinWidth(widget, this.getMinWidth(styleClass), styleClass);
+
+ this.setHeight(widget, this.getHeight(styleClass), styleClass);
+ this.setMaxHeight(widget, this.getMaxHeight(styleClass), styleClass);
+ this.setMinHeight(widget, this.getMinHeight(styleClass), styleClass);
+
+ this.setBackgroundColor(widget, this.getBackgroundColor(styleClass), styleClass);
+ this.setColor(widget, this.getColor(styleClass), styleClass);
+
+ this.setDirection(widget, this.getDirection(styleClass), styleClass);
+ this.setTextAlign(widget, this.getTextAlign(styleClass), styleClass);
+ this.setLineHeight(widget, this.getLineHeight(styleClass), styleClass);
+ this.setTextDecoration(widget, this.getTextDecoration(styleClass), styleClass);
+ this.setFontFamily(widget, this.getFontFamily(styleClass), styleClass);
+ this.setFontStyle(widget, this.getFontStyle(styleClass), styleClass);
+ this.setFontSize(widget, this.getFontSize(styleClass), styleClass);
+ this.setFontWeight(widget, this.getFontWeight(styleClass), styleClass);
+ this.setLetterSpacing(widget, this.getLetterSpacing(styleClass), styleClass);
+ this.setWordSpacing(widget, this.getWordSpacing(styleClass), styleClass);
}
-
- // TODO: implement
- // border-color
- // border-top-color
- // border-right-color
- // border-bottom-color
- // border-left-color
- // border-style
- // border-top-style
- // border-right-style
- // border-bottom-style
- // border-left-style
- // border-width
- // border-top-width
- // border-right-width
- // border-bottom-width
- // border-left-width
- // border-radius
- // border-top-right-radius
- // border-top-bottom-radius
- // border-bottom-left-radius
- // border-top-left-radius
- // cursor
- // width
- // max-widht
- // min-width
- // height
- // max-height
- // min-height
- // content-orientation
- // background-color
- // direction
- // text-align
- // line-height
- // text-decoration
- // color
- // font-family
- // font-style
- // font-size
- // font-weight
- // letter-spacing
- // word-spacing
- // text-type
- // readonly
- // rows
- // cols
- // resize
}
@@ -753,6 +781,17 @@
}
+ // registers a passed click handler to each text element of this item
+ @Override
+ public MultipleHandlerRegistration addClickHandler(ClickHandler handler) {
+ MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
+ for (TextArea item : this.textElements) {
+ regs.addHandlerRegistration(item.addClickHandler(handler));
+ }
+ return regs;
+ }
+
+
// returns the results of all text area elements
@Override
public ArrayList<String> getStringValue() {
@@ -798,4 +837,5 @@
return this.realValue;
}
}
+
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.java Wed Jul 6 05:16:54 2011 (r566)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.java Wed Jul 6 07:19:57 2011 (r567)
@@ -1,7 +1,15 @@
package us.isidor.gdl.anaToMia.Widgets.views;
import com.google.gwt.core.client.JsArray;
+import com.google.gwt.dom.client.Style.Overflow;
+import com.google.gwt.dom.client.Style.VerticalAlign;
+import com.google.gwt.event.dom.client.BlurHandler;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.event.dom.client.FocusHandler;
+import com.google.gwt.event.dom.client.MouseDownHandler;
+import com.google.gwt.event.dom.client.MouseOutHandler;
+import com.google.gwt.event.dom.client.MouseOverHandler;
+import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
@@ -13,6 +21,7 @@
import us.isidor.gdl.anaToMia.Widgets.base.IGdlContainer;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+import us.isidor.gdl.anaToMia.Widgets.environment.MultipleHandlerRegistration;
import us.isidor.gdl.anaToMia.Widgets.values.ContentOrientationValue;
@@ -59,12 +68,78 @@
public abstract void deregisterButtonCallback(ClickHandler handler, String id);
+ @Override
+ public void setVerticalAlign(Widget widget, VerticalAlign value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ // TODO: implement
+ }
+
+
+ @Override
+ public void setOverflow(Widget widget, Overflow value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ // TODO: implement
+ }
+
public void setContentOrientation(Widget widget, ContentOrientationValue value){
// do nothing - since all content elements are positioned vie the GDL positioning concept
}
+ // registers a click handler to all sub-elements of this element
+ @Override
+ public MultipleHandlerRegistration addClickHandler(ClickHandler handler){
+ // TODO: implement
+ return null;
+ }
+
+
+ // registers a mouse-out handler to all sub-elements of this element
+ @Override
+ public MultipleHandlerRegistration addMouseOutHandler(MouseOutHandler handler){
+ // TODO: implement
+ return null;
+ }
+
+
+ // registers a mouse-over handler to all sub-elements of this element
+ @Override
+ public MultipleHandlerRegistration addMouseOverHandler(MouseOverHandler handler){
+ // TODO: implement
+ return null;
+ }
+
+
+ // registers a focus handler to all sub-elements of this element
+ @Override
+ public MultipleHandlerRegistration addFocusHandler(FocusHandler handler){
+ // TODO: implement
+ return null;
+ }
+
+
+ // registers a mouse-down handler to all sub-elements of this element
+ @Override
+ public MultipleHandlerRegistration addMouseDownHandler(MouseDownHandler handler){
+ // TODO: implement
+ return null;
+ }
+
+
+ // registers a mouse-up handler to all sub-elements of this element
+ @Override
+ public MultipleHandlerRegistration addMouseUpHandler(MouseUpHandler handler){
+ // TODO: implement
+ return null;
+ }
+
+
+ // registers a blur handler to all sub-elements of this element
+ @Override
+ public MultipleHandlerRegistration addBlurHandler(BlurHandler handler){
+ // TODO: implement
+ return null;
+ }
+
// TODO: implement addXYZhandler(handler, id);
1
0

[isidorus-cvs] r566 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base text views
by lgiessmann@common-lisp.net 06 Jul '11
by lgiessmann@common-lisp.net 06 Jul '11
06 Jul '11
Author: lgiessmann
Date: Wed Jul 6 05:16:54 2011
New Revision: 566
Log:
gdl-frontend: Widgets: fixed all methods in GdlText that sets Gdl Style properties => handling of null values
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Wed Jul 6 01:51:53 2011 (r565)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Wed Jul 6 05:16:54 2011 (r566)
@@ -59,9 +59,6 @@
protected ActiveStyleHandler activeStyleHandler = new ActiveStyleHandler();
protected FocusStyleHandler focusStyleHandler = new FocusStyleHandler();
protected HoverStyleHandler hoverStyleHandler = new HoverStyleHandler();
- protected boolean isActive = false;
- protected boolean isFocused = false;
- protected boolean isHovered = false;
// some constructors
@@ -1316,6 +1313,11 @@
public abstract void setBackgroundColor(Widget widget, ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ // sets the width, height and overflow property of this element depending on the amount
+ // of sub-elements
+ protected abstract void adjustSize();
+
+
// sets the overflow style property of this element by using the GWT DOM class
public void setOverflow(Overflow value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
if(value != null) this.setCssProperty(styleClass, "overflow", value.getCssName());
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Wed Jul 6 01:51:53 2011 (r565)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Wed Jul 6 05:16:54 2011 (r566)
@@ -1,9 +1,6 @@
package us.isidor.gdl.anaToMia.Widgets.text;
-
import java.util.ArrayList;
-
-import com.google.gwt.dom.client.Style.Float;
import com.google.gwt.dom.client.Style.FontStyle;
import com.google.gwt.event.dom.client.BlurHandler;
import com.google.gwt.event.dom.client.FocusHandler;
@@ -29,7 +26,6 @@
import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
import us.isidor.gdl.anaToMia.Widgets.values.ContentOrientationValue;
import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
@@ -49,12 +45,9 @@
protected ArrayList<TextArea> textElements = new ArrayList<TextArea>();
protected ArrayList<PasswordKeyPressHandler> passwordKeyPressHandler = null;
protected ArrayList<HandlerRegistration> passwordKeyPressRegistrations = null;
- protected ArrayList<Pair<TextArea, ActiveStyleHandler>> activeStyleHandler = new ArrayList<Pair<TextArea,ActiveStyleHandler>>();
- protected ArrayList<Pair<TextArea, FocusStyleHandler>> focusStyleHandler = new ArrayList<Pair<TextArea,FocusStyleHandler>>();
- protected ArrayList<Pair<TextArea, HoverStyleHandler>> hoverStyleHandler = new ArrayList<Pair<TextArea,HoverStyleHandler>>();
-
-
- // TODO: check ActiveHandler, FocusHandler and HoverHandler for bugs ==> click event!
+ // TODO: protected ArrayList<Pair<TextArea, ActiveStyleHandler>> activeStyleHandler = new ArrayList<Pair<TextArea,ActiveStyleHandler>>();
+ // TODO: protected ArrayList<Pair<TextArea, FocusStyleHandler>> focusStyleHandler = new ArrayList<Pair<TextArea,FocusStyleHandler>>();
+ // TODO: protected ArrayList<Pair<TextArea, HoverStyleHandler>> hoverStyleHandler = new ArrayList<Pair<TextArea,HoverStyleHandler>>();
// some constructors
@@ -64,10 +57,7 @@
public GdlText(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
- this();
- this.tmRepresentative = tmRepresentative;
- this.tm = this.tmRepresentative.getTopicMap();
- super.setId(this.getId());
+ super(tmRepresentative);
// TODO: create a text element for each TM-elem
this.createNewTextArea();
}
@@ -77,17 +67,19 @@
// and applies the styles on it
protected TextArea createNewTextArea() throws InvalidGdlSchemaException, ExecutionException {
TextArea elem = new TextArea();
- this.textElements.add(elem);
DOM.setElementAttribute(elem.getElement(), "id", this.getId() + "__GDL_" + this.textElements.size());
- super.mainPanel.add(elem);
- // TODO: reset the text area size on each text element
+ this.textElements.add(elem);
+ super.mainPanel.add(elem);
+ this.setGdlStyle((Widget)elem);
+ this.adjustSize();
return elem;
}
// removes the passed element and all its handlers from the outer element
protected void removeTextArea(TextArea elem){
- for (Pair<TextArea, ActiveStyleHandler> item : this.activeStyleHandler) {
+ // TODO: implement
+ /*for (Pair<TextArea, ActiveStyleHandler> item : this.activeStyleHandler) {
if(item.getFirst().equals(elem)){
this.activeStyleHandler.remove(item);
break;
@@ -105,11 +97,11 @@
break;
}
}
+ */
this.textElements.remove(elem);
elem.removeFromParent();
-
- // TODO: reset the text area size on each text element
+ this.adjustSize();
}
@@ -173,7 +165,7 @@
// If no gdl:cols occurrence is set, the default value is returned
public int getCols() throws InvalidGdlSchemaException {
Occurrence colsOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlCols);
-
+
if(colsOcc != null){
try{
int value = Integer.valueOf(colsOcc.getValue());
@@ -212,26 +204,31 @@
if(styleClass == null){
DOM.setStyleAttribute(elem.getElement(), cssProperty, cssValue);
} else if(styleClass.equals(GdlPsis.Scope.gdlActive)){
- for (Pair<TextArea, ActiveStyleHandler> item : this.activeStyleHandler) {
- if(item.getFirst().equals(elem)){
+ /* TODO: implement
+ if(item.getFirst().equals(elem)){
item.getSecond().addCssStyle(new Pair<String, String>(cssProperty, cssValue));
break;
}
}
+ */
} else if(styleClass.equals(GdlPsis.Scope.gdlFocus)){
+ /* TODO: implement
for (Pair<TextArea, FocusStyleHandler> item : this.focusStyleHandler) {
if(item.getFirst().equals(elem)){
item.getSecond().addCssStyle(new Pair<String, String>(cssProperty, cssValue));
break;
}
}
+ */
} else if (styleClass.equals(GdlPsis.Scope.gdlHover)){
+ /* TODO: implement
for (Pair<TextArea, HoverStyleHandler> item : this.hoverStyleHandler) {
if(item.getFirst().equals(elem)){
item.getSecond().addCssStyle(new Pair<String, String>(cssProperty, cssValue));
break;
}
}
+ */
} else {
String values = GdlPsis.Scope.gdlActive + ", " + GdlPsis.Scope.gdlFocus + ", " + GdlPsis.Scope.gdlHover;
throw new InvalidGdlSchemaException("GDL defines only the style classes " + values + ", but found " + styleClass);
@@ -243,9 +240,9 @@
// If gdl:readonly is set to true, this property is set to none, i.e. the passed value is ignored.
// IF gdl:readonly is set to false, this property is set to the passed argument.
public void setResize(ResizeValue value) throws InvalidGdlSchemaException, ExecutionException{
- if(getReadonly() == true){
+ if(value == null || getReadonly() == true){
for (TextArea elem : this.textElements) this.setCssProperty(elem, null, "resize", "none");
- } else {
+ } else{
for (TextArea elem : this.textElements) this.setCssProperty(elem, null, "resize", value.getCssValue());
}
@@ -262,7 +259,7 @@
// sets and registers or unsets and deregisters a PasswordKeyPressHandler
// on this element's text area item.
public void setTextType(TextTypeValue value){
- if(value == TextTypeValue.Password){
+ if(value != null && value == TextTypeValue.Password){
if(this.passwordKeyPressHandler == null) {
this.passwordKeyPressHandler = new ArrayList<PasswordKeyPressHandler>();
this.passwordKeyPressRegistrations = new ArrayList<HandlerRegistration>();
@@ -310,757 +307,383 @@
}
- /*
- // sets the background-color style property of this element's text items by using the GWT DOM class
- @Override
- public void setBackgroundColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "backgroundColor", value.getCssValue());
- }
-
-
- // sets the cursor style property of this element's text items by using the GWT DOM class
- @Override
- public void setCursor(CursorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "cursor", value.getCssValue());
- }
-
-
- // sets the border-color property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderColor", value.getCssValue());
- }
-
-
- // sets the border-top-color property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderTopColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderTopColor", value.getCssValue());
- }
-
-
- // sets the border-right-color property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderRightColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderRightColor", value.getCssValue());
- }
-
-
- // sets the border-bottom-color property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderBottomColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderBottomColor", value.getCssValue());
- }
-
-
- // sets the border-left-color property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderLeftColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderLeftColor", value.getCssValue());
- }
-
-
- // sets the border-style property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderStyle", value.getCssValue());
- }
-
-
- // sets the border-top-style property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderTopStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderTopStyle", value.getCssValue());
- }
-
-
- // sets the border-right-style property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderRightStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderRightStyle", value.getCssValue());
- }
-
-
- // sets the border-bottom-style property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderBottomStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderBottomStyle", value.getCssValue());
- }
-
-
- // sets the border-left-style property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderLeftStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderLeftStyle", value.getCssValue());
- }
-
-
- // sets the border-width property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderWidth", value.getCssValue());
- }
-
-
- // sets the border-top-width property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderTopWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderTopWidth", value.getCssValue());
- }
-
-
- // sets the border-right-width property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderRightWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderRightWidth", value.getCssValue());
- }
-
-
- // sets the border-bottom-width property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderBottomWidth", value.getCssValue());
- }
-
-
- // sets the border-left-width property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderLeftWidth", value.getCssValue());
- }
-
-
- // sets the border-radius property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderRadius", value.getCssValue());
- }
-
-
- // sets the border-top-right-radius property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderTopRightRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderTopRightRadius", value.getCssValue());
- }
-
-
- // sets the border-bottom-right-radius property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderBottomRightRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderBottomRightRadius", value.getCssValue());
- }
-
-
- // sets the border-bottom-left-radius property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderBottomLeftRadius", value.getCssValue());
- }
-
-
- // sets the border-top-left-radius property of this element's text items by using the GWT DOM class
- @Override
- public void setBorderTopLeftRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "boderTopLeftRadius", value.getCssValue());
- }
-
-
- // sets the margin property of this element's text items by using the GWT DOM class
- public void setMargin(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(elem, styleClass, "margin", value.getCssValue());
- }
-
-
- // sets the margin-top-color property of this element's text items by using the GWT DOM class
- public void setMarginTop(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(elem, styleClass, "marginTop", value.getCssValue());
- }
-
-
- // sets the margin-right-color property of this element's text items by using the GWT DOM class
- public void setMarginRight(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(elem, styleClass, "marginRight", value.getCssValue());
- }
-
-
- // sets the margin-bottom-color property of this element's text items by using the GWT DOM class
- public void setMarginBottom(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(elem, styleClass, "marginBottom", value.getCssValue());
- }
-
-
- // sets the margin-left-color property of this element's text items by using the GWT DOM class
- public void setMarginLeft(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(elem, styleClass, "marginLeft", value.getCssValue());
- }
-
-
- // sets the padding property of this element's text items by using the GWT DOM class
- public void setPadding(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(elem, styleClass, "padding", value.getCssValue());
- }
-
-
- // sets the padding-top property of this element's text items by using the GWT DOM class
- public void setPaddingTop(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(elem, styleClass, "paddingTop", value.getCssValue());
- }
-
-
- // sets the padding-right property of this element's text items by using the GWT DOM class
- public void setPaddingRight(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(elem, styleClass, "paddingRight", value.getCssValue());
- }
-
-
- // sets the padding-bottom property of this element's text items by using the GWT DOM class
- public void setPaddingBottom(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(elem, styleClass, "paddingBottom", value.getCssValue());
- }
-
-
- // sets the padding-left property of this element's text items by using the GWT DOM class
- public void setPaddingLeft(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(elem, styleClass, "paddingLeft", value.getCssValue());
- }
-
-
- // sets the background-color property of this element's text items by using the GWT DOM class
- public void setBackgroundColor(TextArea elem, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "backgroundColor", value.getCssValue());
- }
-
-
- // sets the cursor property of this element's text items by using the GWT DOM class
- public void setCursor(TextArea elem, CursorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "cursor", value.getCssValue());
- }
-
-
- // sets the color property of this element's text items by using the GWT DOM class
- public void setColor(TextArea elem, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "color", value.getCssValue());
- }
-
-
- // sets the border-color property of this element's text items by using the GWT DOM class
- public void setBorderColor(TextArea elem, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderColor", value.getCssValue());
- }
-
-
- // sets the border-top-color property of this element's text items by using the GWT DOM class
- public void setBorderTopColor(TextArea elem, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderTopColor", value.getCssValue());
- }
-
-
- // sets the border-right-color property of this element's text items by using the GWT DOM class
- public void setBorderRightColor(TextArea elem, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderRightColor", value.getCssValue());
- }
-
-
- // sets the border-bottom-color property of this element's text items by using the GWT DOM class
- public void setBorderBottomColor(TextArea elem, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderBottomColor", value.getCssValue());
- }
-
-
- // sets the border-left-color property of this element's text items by using the GWT DOM class
- public void setBorderLeftColor(TextArea elem, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderLeftColor", value.getCssValue());
- }
-
-
- // sets the border-style property of this element's text items by using the GWT DOM class
- public void setBorderStyle(TextArea elem, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderStyle", value.getCssValue());
- }
-
-
- // sets the border-top-style property of this element's text items by using the GWT DOM class
- public void setBorderTopStyle(TextArea elem, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderTopStyle", value.getCssValue());
- }
-
-
- // sets the border-right-style property of this element's text items by using the GWT DOM class
- public void setBorderRightStyle(TextArea elem, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderRightStyle", value.getCssValue());
- }
-
-
- // sets the border-bottom-style property of this element's text items by using the GWT DOM class
- public void setBorderBottomStyle(TextArea elem, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderBottomStyle", value.getCssValue());
- }
-
-
- // sets the border-left-style property of this element's text items by using the GWT DOM class
- public void setBorderLeftStyle(TextArea elem, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderLeftStyle", value.getCssValue());
- }
-
-
- // sets the border-width property of this element's text items by using the GWT DOM class
- public void setBorderWidth(TextArea elem, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderWidth", value.getCssValue());
- }
-
-
- // sets the border-top-width property of this element's text items by using the GWT DOM class
- public void setBorderTopWidth(TextArea elem, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderTopWidth", value.getCssValue());
- }
-
-
- // sets the border-right-width property of this element's text items by using the GWT DOM class
- public void setBorderRightWidth(TextArea elem, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderRightWidth", value.getCssValue());
- }
-
-
- // sets the border-bottom-width property of this element's text items by using the GWT DOM class
- public void setBorderBottomWidth(TextArea elem, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderBottomWidth", value.getCssValue());
- }
-
-
- // sets the border-left-width property of this element's text items by using the GWT DOM class
- public void setBorderLeftWidth(TextArea elem, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderLeftWidth", value.getCssValue());
- }
-
-
- // sets the border-radius property of this element's text items by using the GWT DOM class
- public void setBorderRadius(TextArea elem, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderRadius", value.getCssValue());
- }
-
-
- // sets the border-top-right-radius property of this element's text items by using the GWT DOM class
- public void setBorderTopRightRadius(TextArea elem, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderTopRightRadius", value.getCssValue());
- }
-
-
- // sets the border-bottom-right-radius property of this element's text items by using the GWT DOM class
- public void setBorderBottomRightRadius(TextArea elem, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderBottomRightRadius", value.getCssValue());
- }
-
-
- // sets the border-bottom-left-radius property of this element's text items by using the GWT DOM class
- public void setBorderBottomLeftRadius(TextArea elem, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderBottomLeftRadius", value.getCssValue());
- }
-
-
- // sets the border-top-left-radius property of this element's text items by using the GWT DOM class
- public void setBorderTopLeftRadius(TextArea elem, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "borderTopLeftRadius", value.getCssValue());
- }
-
-
- // sets the direction property of this element's text items by using the GWT DOM class
- public void setDirection(TextArea elem, DirectionValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "direction", value.getCssValue());
- }
-
-
- // sets the text-align property of this element's text items by using the GWT DOM class
- public void setTextAlign(TextArea elem, TextAlignValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "textAlign", value.getCssValue());
- }
-
-
- // sets the line-height property of this element's text items by using the GWT DOM class
- public void setLineHeight(TextArea elem, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "lineHeight", value.getCssValue());
- }
-
-
- // sets the text-decoration property of this element's text items by using the GWT DOM class
- public void setTextDecoration(TextArea elem, TextDecorationValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "textDecoration", value.getCssValue());
- }
-
-
- // sets the font-family property of this element's text items by using the GWT DOM class
- public void setFontFamily(TextArea elem, String value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "fontFamily", value);
- }
-
-
- // sets the font-style property of this element's text items by using the GWT DOM class
- public void setFontStyle(TextArea elem, FontStyle value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "fontStyle", value.getCssName());
- }
-
-
- // sets the font-size property of this element's text items by using the GWT DOM class
- public void setFontSize(TextArea elem, PositiveNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "fontSize", value.getCssValue());
- }
-
-
- // sets the font-weight property of this element's text items by using the GWT DOM class
- public void setFontWeight(TextArea elem, FontWeightValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "fontWeight", value.getCssValue());
- }
-
-
- // sets the letter-spacing property of this element's text items by using the GWT DOM class
- public void setLetterSpacing(TextArea elem, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "letterSpacing", value.getCssValue());
- }
-
-
- // sets the word-spacing property of this element's text items by using the GWT DOM class
- public void setWordSpacing(TextArea elem, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) this.setCssProperty(elem, styleClass, "wordSpacing", value.getCssValue());
- }
- */
-
-
-
@Override
public void setDirection(Widget widget, DirectionValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "direction", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "direction", value.getCssValue());
}
@Override
public void setTextAlign(Widget widget, TextAlignValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "textAlign", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "textAlign", value.getCssValue());
}
@Override
public void setLineHeight(Widget widget, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "lineHeight", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "lineHeight", value.getCssValue());
}
@Override
public void setTextDecoration(Widget widget, TextDecorationValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "textDecoration", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "textDecoration", value.getCssValue());
}
@Override
public void setColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "color", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "color", value.getCssValue());
}
@Override
public void setFontFamily(Widget widget, String value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "fontFamily", value);
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "fontFamily", value);
}
@Override
public void setFontStyle(Widget widget, FontStyle value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "fontStyle", value.getCssName());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "fontStyle", value.getCssName());
}
@Override
public void setFontSize(Widget widget, PositiveNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "fontSize", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "fontSize", value.getCssValue());
}
@Override
public void setFontWeight(Widget widget, FontWeightValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "fontWeight", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "fontWeight", value.getCssValue());
}
@Override
public void setLetterSpacing(Widget widget, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "letterSpacing", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "letterSpacing", value.getCssValue());
}
@Override
public void setWordSpacing(Widget widget, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "wordSpacing", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "wordSpacing", value.getCssValue());
}
@Override
public void setContentOrientation(Widget widget, ContentOrientationValue value) throws InvalidGdlSchemaException, ExecutionException {
String valueStr = "inline";
- if(value == ContentOrientationValue.Vertical) valueStr = "block";
+ if(value != null && value == ContentOrientationValue.Vertical) valueStr = "block";
this.setCssProperty((TextArea)widget, null, "display", valueStr);
}
@Override
public void setMargin(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "margin", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "margin", value.getCssValue());
}
@Override
public void setMarginTop(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "marginTop", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "marginTop", value.getCssValue());
}
@Override
public void setMarginRight(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "marginRight", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "marginRight", value.getCssValue());
}
@Override
public void setMarginBottom(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "marginBottom", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "marginBottom", value.getCssValue());
}
@Override
public void setMarginLeft(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "marginLeft", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "marginLeft", value.getCssValue());
}
@Override
public void setBorderColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderColor", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderColor", value.getCssValue());
}
@Override
public void setBorderTopColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderTopColor", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderTopColor", value.getCssValue());
}
@Override
public void setBorderRightColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderRightColor", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderRightColor", value.getCssValue());
}
@Override
public void setBorderBottomColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderBottomColor", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderBottomColor", value.getCssValue());
}
@Override
public void setBorderLeftColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderLeftColor", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderLeftColor", value.getCssValue());
}
@Override
public void setBorderStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderStyle", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderStyle", value.getCssValue());
}
@Override
public void setBorderTopStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderTopStyle", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderTopStyle", value.getCssValue());
}
@Override
public void setBorderRightStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderRightStyle", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderRightStyle", value.getCssValue());
}
@Override
public void setBorderBottomStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderBottomStyle", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderBottomStyle", value.getCssValue());
}
@Override
public void setBorderLeftStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderLeftStyle", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderLeftStyle", value.getCssValue());
}
@Override
public void setBorderWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderWidth", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderWidth", value.getCssValue());
}
@Override
public void setBorderTopWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderTopWidth", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderTopWidth", value.getCssValue());
}
@Override
public void setBorderRightWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderRightWidth", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderRightWidth", value.getCssValue());
}
@Override
public void setBorderBottomWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderBottomWidth", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderBottomWidth", value.getCssValue());
}
@Override
public void setBorderLeftWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderLeftWidth", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderLeftWidth", value.getCssValue());
}
@Override
public void setBorderRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderRadius", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderRadius", value.getCssValue());
}
@Override
public void setBorderTopRightRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderTopRightRadius", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderTopRightRadius", value.getCssValue());
}
@Override
public void setBorderBottomRightRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderBottomRightRadius", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderBottomRightRadius", value.getCssValue());
}
@Override
public void setBorderBottomLeftRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderBottomLeftRadius", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderBottomLeftRadius", value.getCssValue());
}
@Override
public void setBorderTopLeftRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "borderTopLeftRadius", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "borderTopLeftRadius", value.getCssValue());
}
@Override
public void setPadding(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "padding", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "padding", value.getCssValue());
}
@Override
public void setPaddingTop(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "paddingTop", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "paddingTop", value.getCssValue());
}
@Override
public void setPaddingRight(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "paddingRight", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "paddingRight", value.getCssValue());
}
@Override
public void setPaddingBottom(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "paddingBottom", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "paddingBottom", value.getCssValue());
}
@Override
public void setPaddingLeft(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "paddingLeft", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "paddingLeft", value.getCssValue());
}
@Override
public void setWidth(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "width", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "width", value.getCssValue());
}
@Override
public void setMinWidth(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "minWidth", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "minWidth", value.getCssValue());
}
@Override
public void setMaxWidth(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "maxWidth", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "maxWidth", value.getCssValue());
}
@Override
public void setHeight(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "height", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "height", value.getCssValue());
}
@Override
public void setMinHeight(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "minHeight", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "minHeight", value.getCssValue());
}
@Override
public void setMaxHeight(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "maxHeight", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "maxHeight", value.getCssValue());
}
@Override
public void setCursor(Widget widget, CursorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "cursor", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "cursor", value.getCssValue());
}
@Override
public void setBackgroundColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, styleClass, "backgroundColor", value.getCssValue());
+ if(value != null) this.setCssProperty((TextArea)widget, styleClass, "backgroundColor", value.getCssValue());
}
- // calls the super class's setGdlStyle and additionally calls local statements
- // to fulfill the style settings
+ public void setGdlStyle(Widget widget) throws InvalidGdlSchemaException, ExecutionException {
+ String[] styleClasses = new String[]{null, GdlPsis.Scope.gdlActive, GdlPsis.Scope.gdlFocus, GdlPsis.Scope.gdlHover};
+ for (String styleClass : styleClasses) {
+ this.setMargin(widget, this.getMargin(styleClass), styleClass);
+ this.setMarginTop(widget, this.getMarginTop(styleClass), styleClass);
+ this.setMarginRight(widget, this.getMarginRight(styleClass), styleClass);
+ this.setMarginBottom(widget, this.getMarginBottom(styleClass), styleClass);
+ this.setMarginLeft(widget, this.getMarginLeft(styleClass), styleClass);
+ }
+
+ // TODO: implement
+ // border-color
+ // border-top-color
+ // border-right-color
+ // border-bottom-color
+ // border-left-color
+ // border-style
+ // border-top-style
+ // border-right-style
+ // border-bottom-style
+ // border-left-style
+ // border-width
+ // border-top-width
+ // border-right-width
+ // border-bottom-width
+ // border-left-width
+ // border-radius
+ // border-top-right-radius
+ // border-top-bottom-radius
+ // border-bottom-left-radius
+ // border-top-left-radius
+ // cursor
+ // width
+ // max-widht
+ // min-width
+ // height
+ // max-height
+ // min-height
+ // content-orientation
+ // background-color
+ // direction
+ // text-align
+ // line-height
+ // text-decoration
+ // color
+ // font-family
+ // font-style
+ // font-size
+ // font-weight
+ // letter-spacing
+ // word-spacing
+ // text-type
+ // readonly
+ // rows
+ // cols
+ // resize
+ }
+
+
+ // calls the super applies the GdlStyle for eaver TextAre item of this instance
@Override
protected void setGdlStyle() throws InvalidGdlSchemaException, ExecutionException{
- // TODO: implement
-
- /*
-
- // create all handlers for elem
- ActiveStyleHandler asHandler = new ActiveStyleHandler();
- this.activeStyleHandler.add(new Pair<TextArea, GdlVisibleObject.ActiveStyleHandler>(elem, asHandler));
- FocusStyleHandler fsHandler = new FocusStyleHandler();
- this.focusStyleHandler.add(new Pair<TextArea, GdlVisibleObject.FocusStyleHandler>(elem, fsHandler));
- HoverStyleHandler hsHandler = new HoverStyleHandler();
- this.hoverStyleHandler.add(new Pair<TextArea, GdlVisibleObject.HoverStyleHandler>(elem, hsHandler));
-
-
- // all attributes for the actual text element
- this.setReadonly(this.getReadonly());
- this.setResize(this.getResize());
- this.setTextType(this.getTextType());
- this.setRows(this.getRows());
- this.setCols(this.getCols());
+ if(this.textElements != null){
+ for (TextArea item : this.textElements) {
+ this.setGdlStyle((Widget)item);
+ }
+ }
+ this.adjustSize();
+ }
-
- // register the corresponding handlers for each text element
- elem.addMouseDownHandler(asHandler);
- elem.addMouseUpHandler(asHandler);
- elem.addFocusHandler(fsHandler);
- elem.addBlurHandler(fsHandler);
- elem.addMouseOutHandler(hsHandler);
- elem.addMouseOverHandler(hsHandler);
- */
+
+ @Override
+ protected void adjustSize(){
+ // TODO: implement => width, height, overflow of the mainpanel
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java Wed Jul 6 01:51:53 2011 (r565)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java Wed Jul 6 05:16:54 2011 (r566)
@@ -373,4 +373,10 @@
// TODO Auto-generated method stub
}
+
+
+ @Override
+ protected void adjustSize() {
+ // ignore this method, since all instances of gdl:View have a static size
+ }
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java Wed Jul 6 01:51:53 2011 (r565)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java Wed Jul 6 05:16:54 2011 (r566)
@@ -409,4 +409,10 @@
// TODO Auto-generated method stub
}
+
+
+ @Override
+ protected void adjustSize() {
+ // ignore this method, since all instances of gdl:View have a static size
+ }
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java Wed Jul 6 01:51:53 2011 (r565)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java Wed Jul 6 05:16:54 2011 (r566)
@@ -411,4 +411,10 @@
// TODO Auto-generated method stub
}
+
+
+ @Override
+ protected void adjustSize() {
+ // ignore this method, since all instances of gdl:View have a static size
+ }
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java Wed Jul 6 01:51:53 2011 (r565)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java Wed Jul 6 05:16:54 2011 (r566)
@@ -412,4 +412,10 @@
// TODO Auto-generated method stub
}
+
+
+ @Override
+ protected void adjustSize() {
+ // ignore this method, since all instances of gdl:View have a static size
+ }
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java Wed Jul 6 01:51:53 2011 (r565)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java Wed Jul 6 05:16:54 2011 (r566)
@@ -414,4 +414,10 @@
// TODO Auto-generated method stub
}
+
+
+ @Override
+ protected void adjustSize() {
+ // ignore this method, since all instances of gdl:View have a static size
+ }
}
1
0

[isidorus-cvs] r565 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base text values views
by lgiessmann@common-lisp.net 06 Jul '11
by lgiessmann@common-lisp.net 06 Jul '11
06 Jul '11
Author: lgiessmann
Date: Wed Jul 6 01:51:53 2011
New Revision: 565
Log:
gdl-frontend: Widgets: added the property gdl:content-orientation
Added:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/ContentOrientationValue.java
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java Tue Jul 5 13:46:09 2011 (r564)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java Wed Jul 6 01:51:53 2011 (r565)
@@ -190,8 +190,7 @@
public final static String gdlUnitBorderBottomRightRadius = gdl + "unit-border-bottom-right-radius";
public final static String gdlUnitBoderBottomLeftRadius = gdl + "unit-border-bottom-left-radius";
public final static String gdlUnitBorderTopLeftRadius = gdl + "unit-border-top-left-radius";
- public final static String gdlContentFloat = gdl + "content-float";
- public final static String gdlContentClear = gdl + "content-clear";
+ public final static String gdlContentOrientation = gdl + "content-orientation";
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Tue Jul 5 13:46:09 2011 (r564)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Wed Jul 6 01:51:53 2011 (r565)
@@ -13,6 +13,7 @@
import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ContentOrientationValue;
import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
import com.google.gwt.core.client.JsArray;
@@ -211,28 +212,6 @@
}
- // returns a Float instance of a gdl:conetnt-float occurrence or the default value for
- // this property if no gdl:content-float occurrence is available
- public Float getContentFloat() throws InvalidGdlSchemaException {
- Occurrence floatOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlContentFloat);
-
- if(floatOcc != null){
- String value = floatOcc.getValue().toLowerCase();
- if(value.equals("none")){
- return Float.NONE;
- } else if (value.equals("left")){
- return Float.LEFT;
- } else if (value.equals("right")){
- return Float.RIGHT;
- } else {
- throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlContentFloat + " must be set to one of \"none\", \"left\" or \"right\", but is \"" + floatOcc.getValue() + "\"");
- }
- } else {
- return Float.NONE;
- }
- }
-
-
// returns a ClearValue instance of a gdl:clear occurrence or the default value for
// this property if no gdl:clear occurrence is available
public ClearValue getClear() throws InvalidGdlSchemaException {
@@ -250,23 +229,25 @@
}
- // returns a ClearValue instance of a gdl:content-clear occurrence or the default value for
- // this property if no gdl:content-clear occurrence is available
- public ClearValue getContentClear() throws InvalidGdlSchemaException {
- Occurrence clearOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlContentClear);
+ // returns a ContentOrientationValue instance of a gdl:content-orientation occurrence or the default value for
+ // this property if no gdl:content-orientation occurrence is available
+ public ContentOrientationValue getContentOrientation() throws InvalidGdlSchemaException {
+ Occurrence orientationOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlContentOrientation);
- if(clearOcc != null){
+ if(orientationOcc != null){
try{
- return ClearValue.valueOf(clearOcc.getValue().toUpperCase());
+ return ContentOrientationValue.valueOf(orientationOcc.getValue().toUpperCase());
}catch(IllegalArgumentException e){
- throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlContentClear + " must be set to one of \"none\", \"left\", \"right\" or \"both\", but is \"" + clearOcc.getValue() + "\"");
+ throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlContentOrientation + " must be set to one of \"horizontal\" or \"vertical\", but is \"" + orientationOcc.getValue() + "\"");
}
} else {
- return ClearValue.NONE;
+ return ContentOrientationValue.Vertical;
}
}
+
+
-
+
// returns a VerticalAlign instance of a gdl:vertical-align occurrence
// or the default value for this property if no gdl:vertical-align occurrence
// is available. The styleClass attribute is used as scope for expressing
@@ -1166,7 +1147,7 @@
// sets the float style property of all sub elements by using the GWT DOM class
- public abstract void setContentFloat(Widget widget, Float value) throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setContentOrientation(Widget widget, ContentOrientationValue value) throws InvalidGdlSchemaException, ExecutionException;
// sets the clear style property of this element by using the GWT DOM class
@@ -1176,10 +1157,6 @@
}
}
-
- // sets the clear style property of all sub elements by using the GWT DOM class
- public abstract void setContentClear(Widget widget, ClearValue value) throws InvalidGdlSchemaException, ExecutionException;
-
// sets the vertical-align style property of this element by using the GWT DOM class
public void setVerticalAlign(VerticalAlign value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Tue Jul 5 13:46:09 2011 (r564)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Wed Jul 6 01:51:53 2011 (r565)
@@ -31,6 +31,7 @@
import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ContentOrientationValue;
import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
import us.isidor.gdl.anaToMia.Widgets.values.DirectionValue;
import us.isidor.gdl.anaToMia.Widgets.values.FontWeightValue;
@@ -791,14 +792,10 @@
@Override
- public void setContentFloat(Widget widget, Float value) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, null, "float", value.getCssName());
- }
-
-
- @Override
- public void setContentClear(Widget widget, ClearValue value) throws InvalidGdlSchemaException, ExecutionException {
- this.setCssProperty((TextArea)widget, null, "clear", value.getCssValue());
+ public void setContentOrientation(Widget widget, ContentOrientationValue value) throws InvalidGdlSchemaException, ExecutionException {
+ String valueStr = "inline";
+ if(value == ContentOrientationValue.Vertical) valueStr = "block";
+ this.setCssProperty((TextArea)widget, null, "display", valueStr);
}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/ContentOrientationValue.java
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/ContentOrientationValue.java Wed Jul 6 01:51:53 2011 (r565)
@@ -0,0 +1,13 @@
+package us.isidor.gdl.anaToMia.Widgets.values;
+
+public enum ContentOrientationValue implements CssValue{
+ Horizontal,
+ Vertical;
+
+ @Override
+ public String getCssValue() {
+ return this.toString().toLowerCase();
+ }
+
+
+}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java Tue Jul 5 13:46:09 2011 (r564)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java Wed Jul 6 01:51:53 2011 (r565)
@@ -17,6 +17,7 @@
import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ContentOrientationValue;
import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
@@ -71,18 +72,6 @@
// TODO Auto-generated method stub
}
-
- @Override
- public void setContentFloat(Widget widget, Float value) throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setContentClear(Widget widget, ClearValue value) throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
@Override
public void setMargin(Widget widget, NumUnitValue value, String styleClass)
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java Tue Jul 5 13:46:09 2011 (r564)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java Wed Jul 6 01:51:53 2011 (r565)
@@ -1,11 +1,7 @@
package us.isidor.gdl.anaToMia.Widgets.views;
-import com.google.gwt.dom.client.Style.Float;
-import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.Widget;
-
-import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
@@ -16,6 +12,7 @@
import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ContentOrientationValue;
import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
@@ -74,19 +71,6 @@
}
- @Override
- public void setContentFloat(Widget widget, Float value) throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setContentClear(Widget widget, ClearValue value) throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
@Override
public void setMargin(Widget widget, NumUnitValue value, String styleClass)
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java Tue Jul 5 13:46:09 2011 (r564)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java Wed Jul 6 01:51:53 2011 (r565)
@@ -74,21 +74,6 @@
}
-
- @Override
- public void setContentFloat(Widget widget, Float value) throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setContentClear(Widget widget, ClearValue value) throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
@Override
public void setMargin(Widget widget, NumUnitValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java Tue Jul 5 13:46:09 2011 (r564)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java Wed Jul 6 01:51:53 2011 (r565)
@@ -73,18 +73,6 @@
}
- @Override
- public void setContentFloat(Widget widget, Float value) throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setContentClear(Widget widget, ClearValue value) throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
@Override
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java Tue Jul 5 13:46:09 2011 (r564)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java Wed Jul 6 01:51:53 2011 (r565)
@@ -75,18 +75,6 @@
}
- @Override
- public void setContentFloat(Widget widget, Float value) throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setContentClear(Widget widget, ClearValue value) throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
@Override
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.java Tue Jul 5 13:46:09 2011 (r564)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.java Wed Jul 6 01:51:53 2011 (r565)
@@ -2,6 +2,7 @@
import com.google.gwt.core.client.JsArray;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Name;
@@ -12,6 +13,7 @@
import us.isidor.gdl.anaToMia.Widgets.base.IGdlContainer;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+import us.isidor.gdl.anaToMia.Widgets.values.ContentOrientationValue;
public abstract class GdlView extends GdlVisibleObject implements IGdlContainer {
@@ -56,6 +58,15 @@
public abstract void deregisterButtonCallback(ClickHandler handler, String id);
+
+
+ public void setContentOrientation(Widget widget, ContentOrientationValue value){
+ // do nothing - since all content elements are positioned vie the GDL positioning concept
+ }
+
+
+
+
// TODO: implement addXYZhandler(handler, id);
1
0

[isidorus-cvs] r564 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base text views
by lgiessmann@common-lisp.net 05 Jul '11
by lgiessmann@common-lisp.net 05 Jul '11
05 Jul '11
Author: lgiessmann
Date: Tue Jul 5 13:46:09 2011
New Revision: 564
Log:
gdl-frontend: Widgets: implemented all abstract methods in GdlText
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Tue Jul 5 13:16:42 2011 (r563)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Tue Jul 5 13:46:09 2011 (r564)
@@ -1166,7 +1166,7 @@
// sets the float style property of all sub elements by using the GWT DOM class
- public abstract void setContentFloat(Widget widget, Float value);
+ public abstract void setContentFloat(Widget widget, Float value) throws InvalidGdlSchemaException, ExecutionException;
// sets the clear style property of this element by using the GWT DOM class
@@ -1178,7 +1178,7 @@
// sets the clear style property of all sub elements by using the GWT DOM class
- public abstract void setContentClear(Widget widget, ClearValue value);
+ public abstract void setContentClear(Widget widget, ClearValue value) throws InvalidGdlSchemaException, ExecutionException;
// sets the vertical-align style property of this element by using the GWT DOM class
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Tue Jul 5 13:16:42 2011 (r563)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Tue Jul 5 13:46:09 2011 (r564)
@@ -5,7 +5,6 @@
import com.google.gwt.dom.client.Style.Float;
import com.google.gwt.dom.client.Style.FontStyle;
-import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.event.dom.client.BlurHandler;
import com.google.gwt.event.dom.client.FocusHandler;
import com.google.gwt.event.dom.client.KeyPressEvent;
@@ -16,16 +15,12 @@
import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.DOM;
-import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.TextArea;
import com.google.gwt.user.client.ui.Widget;
-
-import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMapsTypes;
import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
import us.isidor.gdl.anaToMia.Widgets.base.IGdlHasValue;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
@@ -33,7 +28,6 @@
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.values.AutoNumValue;
import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
@@ -731,451 +725,308 @@
@Override
- public void setDirection(Widget widget, DirectionValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setDirection(Widget widget, DirectionValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "direction", value.getCssValue());
}
@Override
- public void setTextAlign(Widget widget, TextAlignValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setTextAlign(Widget widget, TextAlignValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "textAlign", value.getCssValue());
}
@Override
- public void setLineHeight(Widget widget, NormalNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setLineHeight(Widget widget, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "lineHeight", value.getCssValue());
}
@Override
- public void setTextDecoration(Widget widget, TextDecorationValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setTextDecoration(Widget widget, TextDecorationValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "textDecoration", value.getCssValue());
}
@Override
- public void setColor(Widget widget, ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "color", value.getCssValue());
}
@Override
- public void setFontFamily(Widget widget, String value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setFontFamily(Widget widget, String value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "fontFamily", value);
}
@Override
- public void setFontStyle(Widget widget, FontStyle value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setFontStyle(Widget widget, FontStyle value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "fontStyle", value.getCssName());
}
@Override
- public void setFontSize(Widget widget, PositiveNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setFontSize(Widget widget, PositiveNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "fontSize", value.getCssValue());
}
@Override
- public void setFontWeight(Widget widget, FontWeightValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setFontWeight(Widget widget, FontWeightValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "fontWeight", value.getCssValue());
}
@Override
- public void setLetterSpacing(Widget widget, NormalNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setLetterSpacing(Widget widget, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "letterSpacing", value.getCssValue());
}
@Override
- public void setWordSpacing(Widget widget, NormalNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setWordSpacing(Widget widget, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "wordSpacing", value.getCssValue());
}
@Override
- public void setContentFloat(Widget widget, Float value) {
- // TODO Auto-generated method stub
-
+ public void setContentFloat(Widget widget, Float value) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, null, "float", value.getCssName());
}
@Override
- public void setContentClear(Widget widget, ClearValue value) {
- // TODO Auto-generated method stub
-
+ public void setContentClear(Widget widget, ClearValue value) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, null, "clear", value.getCssValue());
}
@Override
- public void setMargin(Widget widget, NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setMargin(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "margin", value.getCssValue());
}
@Override
- public void setMarginTop(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setMarginTop(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "marginTop", value.getCssValue());
}
@Override
- public void setMarginRight(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setMarginRight(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "marginRight", value.getCssValue());
}
@Override
- public void setMarginBottom(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setMarginBottom(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "marginBottom", value.getCssValue());
}
@Override
- public void setMarginLeft(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setMarginLeft(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "marginLeft", value.getCssValue());
}
@Override
- public void setBorderColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderColor", value.getCssValue());
}
@Override
- public void setBorderTopColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderTopColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderTopColor", value.getCssValue());
}
@Override
- public void setBorderRightColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderRightColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderRightColor", value.getCssValue());
}
@Override
- public void setBorderBottomColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderBottomColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderBottomColor", value.getCssValue());
}
@Override
- public void setBorderLeftColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderLeftColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderLeftColor", value.getCssValue());
}
@Override
- public void setBorderStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderStyle", value.getCssValue());
}
@Override
- public void setBorderTopStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderTopStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderTopStyle", value.getCssValue());
}
@Override
- public void setBorderRightStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderRightStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderRightStyle", value.getCssValue());
}
@Override
- public void setBorderBottomStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderBottomStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderBottomStyle", value.getCssValue());
}
@Override
- public void setBorderLeftStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderLeftStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderLeftStyle", value.getCssValue());
}
@Override
- public void setBorderWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderWidth", value.getCssValue());
}
@Override
- public void setBorderTopWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderTopWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderTopWidth", value.getCssValue());
}
@Override
- public void setBorderRightWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderRightWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderRightWidth", value.getCssValue());
}
@Override
- public void setBorderBottomWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderBottomWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderBottomWidth", value.getCssValue());
}
@Override
- public void setBorderLeftWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderLeftWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderLeftWidth", value.getCssValue());
}
@Override
- public void setBorderRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderRadius", value.getCssValue());
}
@Override
- public void setBorderTopRightRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderTopRightRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderTopRightRadius", value.getCssValue());
}
@Override
- public void setBorderBottomRightRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderBottomRightRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderBottomRightRadius", value.getCssValue());
}
@Override
- public void setBorderBottomLeftRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderBottomLeftRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderBottomLeftRadius", value.getCssValue());
}
@Override
- public void setBorderTopLeftRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBorderTopLeftRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "borderTopLeftRadius", value.getCssValue());
}
@Override
- public void setPadding(Widget widget, NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setPadding(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "padding", value.getCssValue());
}
@Override
- public void setPaddingTop(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setPaddingTop(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "paddingTop", value.getCssValue());
}
@Override
- public void setPaddingRight(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setPaddingRight(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "paddingRight", value.getCssValue());
}
@Override
- public void setPaddingBottom(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setPaddingBottom(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "paddingBottom", value.getCssValue());
}
@Override
- public void setPaddingLeft(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setPaddingLeft(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "paddingLeft", value.getCssValue());
}
@Override
- public void setWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setWidth(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "width", value.getCssValue());
}
@Override
- public void setMinWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setMinWidth(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "minWidth", value.getCssValue());
}
@Override
- public void setMaxWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setMaxWidth(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "maxWidth", value.getCssValue());
}
@Override
- public void setHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setHeight(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "height", value.getCssValue());
}
@Override
- public void setMinHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setMinHeight(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "minHeight", value.getCssValue());
}
@Override
- public void setMaxHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setMaxHeight(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "maxHeight", value.getCssValue());
}
@Override
- public void setCursor(Widget widget, CursorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setCursor(Widget widget, CursorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "cursor", value.getCssValue());
}
@Override
- public void setBackgroundColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
+ public void setBackgroundColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ this.setCssProperty((TextArea)widget, styleClass, "backgroundColor", value.getCssValue());
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java Tue Jul 5 13:16:42 2011 (r563)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java Tue Jul 5 13:46:09 2011 (r564)
@@ -73,13 +73,13 @@
}
@Override
- public void setContentFloat(Widget widget, Float value) {
+ public void setContentFloat(Widget widget, Float value) throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setContentClear(Widget widget, ClearValue value) {
+ public void setContentClear(Widget widget, ClearValue value) throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java Tue Jul 5 13:16:42 2011 (r563)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java Tue Jul 5 13:46:09 2011 (r564)
@@ -75,14 +75,14 @@
@Override
- public void setContentFloat(Widget widget, Float value) {
+ public void setContentFloat(Widget widget, Float value) throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setContentClear(Widget widget, ClearValue value) {
+ public void setContentClear(Widget widget, ClearValue value) throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java Tue Jul 5 13:16:42 2011 (r563)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java Tue Jul 5 13:46:09 2011 (r564)
@@ -76,14 +76,14 @@
@Override
- public void setContentFloat(Widget widget, Float value) {
+ public void setContentFloat(Widget widget, Float value) throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setContentClear(Widget widget, ClearValue value) {
+ public void setContentClear(Widget widget, ClearValue value) throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java Tue Jul 5 13:16:42 2011 (r563)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java Tue Jul 5 13:46:09 2011 (r564)
@@ -74,14 +74,14 @@
@Override
- public void setContentFloat(Widget widget, Float value) {
+ public void setContentFloat(Widget widget, Float value) throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setContentClear(Widget widget, ClearValue value) {
+ public void setContentClear(Widget widget, ClearValue value) throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java Tue Jul 5 13:16:42 2011 (r563)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java Tue Jul 5 13:46:09 2011 (r564)
@@ -76,14 +76,14 @@
@Override
- public void setContentFloat(Widget widget, Float value) {
+ public void setContentFloat(Widget widget, Float value) throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setContentClear(Widget widget, ClearValue value) {
+ public void setContentClear(Widget widget, ClearValue value) throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
}
1
0

[isidorus-cvs] r563 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base text views
by lgiessmann@common-lisp.net 05 Jul '11
by lgiessmann@common-lisp.net 05 Jul '11
05 Jul '11
Author: lgiessmann
Date: Tue Jul 5 13:16:42 2011
New Revision: 563
Log:
gdl-frontend: Widgets: fixed the behavior for gdl:overflow
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Tue Jul 5 12:47:32 2011 (r562)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Tue Jul 5 13:16:42 2011 (r563)
@@ -48,6 +48,7 @@
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.Composite;
+import com.google.gwt.user.client.ui.Widget;
public abstract class GdlVisibleObject extends Composite implements GdlDescriptor, HasClickHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasFocusHandlers, HasMouseDownHandlers, HasMouseUpHandlers, HasBlurHandlers, HasScrollHandlers{
@@ -1165,7 +1166,7 @@
// sets the float style property of all sub elements by using the GWT DOM class
- public abstract void setContentFloat(Float value);
+ public abstract void setContentFloat(Widget widget, Float value);
// sets the clear style property of this element by using the GWT DOM class
@@ -1177,7 +1178,7 @@
// sets the clear style property of all sub elements by using the GWT DOM class
- public abstract void setContentClear(ClearValue value);
+ public abstract void setContentClear(Widget widget, ClearValue value);
// sets the vertical-align style property of this element by using the GWT DOM class
@@ -1187,159 +1188,161 @@
// sets the margin style property of this element by using the GWT DOM class
- public abstract void setMargin(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setMargin(Widget widget, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the margin-top style property of this element by using the GWT DOM class
- public abstract void setMarginTop(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setMarginTop(Widget widget, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the margin-right style property of this element by using the GWT DOM class
- public abstract void setMarginRight(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setMarginRight(Widget widget, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the margin-bottom style property of this element by using the GWT DOM class
- public abstract void setMarginBottom(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setMarginBottom(Widget widget, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the margin-left style property of this element by using the GWT DOM class
- public abstract void setMarginLeft(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setMarginLeft(Widget widget, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-color style property of this element by using the GWT DOM class
- public abstract void setBorderColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderColor(Widget widget, ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-top-color style property of this element by using the GWT DOM class
- public abstract void setBorderTopColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderTopColor(Widget widget, ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-right-color style property of this element by using the GWT DOM class
- public abstract void setBorderRightColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderRightColor(Widget widget, ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-bottom-color style property of this element by using the GWT DOM class
- public abstract void setBorderBottomColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderBottomColor(Widget widget, ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-left-color style property of this element by using the GWT DOM class
- public abstract void setBorderLeftColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderLeftColor(Widget widget, ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-style style property of this element by using the GWT DOM class
- public abstract void setBorderStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderStyle(Widget widget, BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-top-style style property of this element by using the GWT DOM class
- public abstract void setBorderTopStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderTopStyle(Widget widget, BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-right-style style property of this element by using the GWT DOM class
- public abstract void setBorderRightStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderRightStyle(Widget widget, BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-bottom-style style property of this element by using the GWT DOM class
- public abstract void setBorderBottomStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderBottomStyle(Widget widget, BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-left-style style property of this element by using the GWT DOM class
- public abstract void setBorderLeftStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderLeftStyle(Widget widget, BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-width style property of this element by using the GWT DOM class
- public abstract void setBorderWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderWidth(Widget widget, AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-width style property of this element by using the GWT DOM class
- public abstract void setBorderTopWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderTopWidth(Widget widget, AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-width style property of this element by using the GWT DOM class
- public abstract void setBorderRightWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderRightWidth(Widget widget, AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-width style property of this element by using the GWT DOM class
- public abstract void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderBottomWidth(Widget widget, AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-width style property of this element by using the GWT DOM class
- public abstract void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderLeftWidth(Widget widget, AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-radius style property of this element by using the GWT DOM class
- public abstract void setBorderRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderRadius(Widget widget, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-top-right-radius style property of this element by using the GWT DOM class
- public abstract void setBorderTopRightRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderTopRightRadius(Widget widget, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-bottom-right-radius style property of this element by using the GWT DOM class
- public abstract void setBorderBottomRightRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderBottomRightRadius(Widget widget, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-bottom-left-radius style property of this element by using the GWT DOM class
- public abstract void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderBottomLeftRadius(Widget widget, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-top-left-radius style property of this element by using the GWT DOM class
- public abstract void setBorderTopLeftRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBorderTopLeftRadius(Widget widget, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the padding style property of this element by using the GWT DOM class
- public abstract void setPadding(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setPadding(Widget widget, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the padding-top style property of this element by using the GWT DOM class
- public abstract void setPaddingTop(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setPaddingTop(Widget widget, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the padding-right style property of this element by using the GWT DOM class
- public abstract void setPaddingRight(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setPaddingRight(Widget widget, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the padding-bottom style property of this element by using the GWT DOM class
- public abstract void setPaddingBottom(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setPaddingBottom(Widget widget, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the padding-left style property of this element by using the GWT DOM class
- public abstract void setPaddingLeft(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setPaddingLeft(Widget widget, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the width style property of this element by using the GWT DOM class
- public abstract void setWidth(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setWidth(Widget widget, AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the min-width style property of this element by using the GWT DOM class
- public abstract void setMinWidth(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setMinWidth(Widget widget, AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the max-width style property of this element by using the GWT DOM class
- public abstract void setMaxWidth(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setMaxWidth(Widget widget, AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the height style property of this element by using the GWT DOM class
- public abstract void setHeight(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setHeight(Widget widget, AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the min-height style property of this element by using the GWT DOM class
- public abstract void setMinHeight(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setMinHeight(Widget widget, AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the max-height style property of this element by using the GWT DOM class
- public abstract void setMaxHeight(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setMaxHeight(Widget widget, AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the cursor style property of this element by using the GWT DOM class
- public abstract void setCursor(CursorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setCursor(Widget widget, CursorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the background-color style property of this element by using the GWT DOM class
- public abstract void setBackgroundColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setBackgroundColor(Widget widget, ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the overflow style property of this element by using the GWT DOM class
- public abstract void setOverflow(Overflow value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+ public void setOverflow(Overflow value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "overflow", value.getCssName());
+ }
// sets the passed css style porperty to the passed css value.
@@ -1372,44 +1375,6 @@
String[] styleClasses = new String[]{null, GdlPsis.Scope.gdlActive, GdlPsis.Scope.gdlFocus, GdlPsis.Scope.gdlHover};
for (String styleClass : styleClasses) {
this.setVerticalAlign(this.getVerticalAlign(styleClass), styleClass);
- this.setMargin(this.getMargin(styleClass), styleClass);
- this.setMarginTop(this.getMarginTop(styleClass), styleClass);
- this.setMarginRight(this.getMarginRight(styleClass), styleClass);
- this.setMarginBottom(this.getMarginBottom(styleClass), styleClass);
- this.setMarginLeft(this.getMarginLeft(styleClass), styleClass);
- this.setBorderColor(this.getBorderColor(styleClass), styleClass);
- this.setBorderTopColor(this.getBorderTopColor(styleClass), styleClass);
- this.setBorderRightColor(this.getBorderRightColor(styleClass), styleClass);
- this.setBorderBottomColor(this.getBorderBottomColor(styleClass), styleClass);
- this.setBorderLeftColor(this.getBorderLeftColor(styleClass), styleClass);
- this.setBorderStyle(this.getBorderStyle(styleClass), styleClass);
- this.setBorderTopStyle(this.getBorderTopStyle(styleClass), styleClass);
- this.setBorderRightStyle(this.getBorderRightStyle(styleClass), styleClass);
- this.setBorderBottomStyle(this.getBorderBottomStyle(styleClass), styleClass);
- this.setBorderLeftStyle(this.getBorderLeftStyle(styleClass), styleClass);
- this.setBorderWidth(this.getBorderWidth(styleClass), styleClass);
- this.setBorderTopWidth(this.getBorderTopWidth(styleClass), styleClass);
- this.setBorderRightWidth(this.getBorderRightWidth(styleClass), styleClass);
- this.setBorderBottomWidth(this.getBorderBottomWidth(styleClass), styleClass);
- this.setBorderLeftWidth(this.getBorderLeftWidth(styleClass), styleClass);
- this.setBorderRadius(this.getBorderRadius(styleClass), styleClass);
- this.setBorderTopRightRadius(this.getBorderTopRightRadius(styleClass), styleClass);
- this.setBorderBottomRightRadius(this.getBorderBottomRightRadius(styleClass), styleClass);
- this.setBorderBottomLeftRadius(this.getBorderBottomLeftRadius(styleClass), styleClass);
- this.setBorderTopLeftRadius(this.getBorderTopLeftRadius(styleClass), styleClass);
- this.setPadding(this.getPadding(styleClass), styleClass);
- this.setPaddingTop(this.getPaddingTop(styleClass), styleClass);
- this.setPaddingRight(this.getPaddingRight(styleClass), styleClass);
- this.setPaddingBottom(this.getPaddingBottom(styleClass), styleClass);
- this.setPaddingLeft(this.getPaddingLeft(styleClass), styleClass);
- this.setWidth(this.getWidth(styleClass), styleClass);
- this.setMinWidth(this.getMinWidth(styleClass), styleClass);
- this.setMaxWidth(this.getMaxWidth(styleClass), styleClass);
- this.setHeight(this.getHeight(styleClass), styleClass);
- this.setMinHeight(this.getMinHeight(styleClass), styleClass);
- this.setMaxHeight(this.getMaxHeight(styleClass), styleClass);
- this.setCursor(this.getCursor(styleClass), styleClass);
- this.setBackgroundColor(this.getBackgroundColor(styleClass), styleClass);
this.setOverflow(this.getOverflow(styleClass), styleClass);
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Tue Jul 5 12:47:32 2011 (r562)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Tue Jul 5 13:16:42 2011 (r563)
@@ -18,6 +18,8 @@
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.TextArea;
+import com.google.gwt.user.client.ui.Widget;
+
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
@@ -726,166 +728,46 @@
}
*/
- // calls the super class's setGdlStyle and additionally calls local statements
- // to fulfill the style settings
- @Override
- protected void setGdlStyle() throws InvalidGdlSchemaException, ExecutionException{
- // TODO: implement
-
- /*
-
- // create all handlers for elem
- ActiveStyleHandler asHandler = new ActiveStyleHandler();
- this.activeStyleHandler.add(new Pair<TextArea, GdlVisibleObject.ActiveStyleHandler>(elem, asHandler));
- FocusStyleHandler fsHandler = new FocusStyleHandler();
- this.focusStyleHandler.add(new Pair<TextArea, GdlVisibleObject.FocusStyleHandler>(elem, fsHandler));
- HoverStyleHandler hsHandler = new HoverStyleHandler();
- this.hoverStyleHandler.add(new Pair<TextArea, GdlVisibleObject.HoverStyleHandler>(elem, hsHandler));
-
-
- // all attributes for the actual text element
- this.setReadonly(this.getReadonly());
- this.setResize(this.getResize());
- this.setTextType(this.getTextType());
- this.setRows(this.getRows());
- this.setCols(this.getCols());
-
-
-
- // register the corresponding handlers for each text element
- elem.addMouseDownHandler(asHandler);
- elem.addMouseUpHandler(asHandler);
- elem.addFocusHandler(fsHandler);
- elem.addBlurHandler(fsHandler);
- elem.addMouseOutHandler(hsHandler);
- elem.addMouseOverHandler(hsHandler);
- */
- }
-
-
- // registers a passed mouse down handler to each text element of this item
- @Override
- public MultipleHandlerRegistration addMouseDownHandler(MouseDownHandler handler){
- MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
- for (TextArea item : this.textElements) {
- regs.addHandlerRegistration(item.addMouseDownHandler(handler));
- }
- return regs;
- }
-
- // registers a passed mouse up handler to each text element of this item
- @Override
- public MultipleHandlerRegistration addMouseUpHandler(MouseUpHandler handler){
- MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
- for (TextArea item : this.textElements) {
- regs.addHandlerRegistration(item.addMouseUpHandler(handler));
- }
- return regs;
- }
-
- // registers a passed focus handler to each text element of this item
@Override
- public MultipleHandlerRegistration addFocusHandler(FocusHandler handler){
- MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
- for (TextArea item : this.textElements) {
- regs.addHandlerRegistration(item.addFocusHandler(handler));
- }
- return regs;
+ public void setDirection(Widget widget, DirectionValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
+ // TODO Auto-generated method stub
+
}
-
- // registers a passed blur handler to each text element of this item
- @Override
- public MultipleHandlerRegistration addBlurHandler(BlurHandler handler){
- MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
- for (TextArea item : this.textElements) {
- regs.addHandlerRegistration(item.addBlurHandler(handler));
- }
- return regs;
- }
-
- // registers a passed mouse out handler to each text element of this item
@Override
- public MultipleHandlerRegistration addMouseOutHandler(MouseOutHandler handler){
- MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
- for (TextArea item : this.textElements) {
- regs.addHandlerRegistration(item.addMouseOutHandler(handler));
- }
- return regs;
- }
-
-
- // registers a passed mouse over handler to each text element of this item
- @Override
- public MultipleHandlerRegistration addMouseOverHandler(MouseOverHandler handler){
- MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
- for (TextArea item : this.textElements) {
- regs.addHandlerRegistration(item.addMouseOverHandler(handler));
- }
- return regs;
- }
-
-
- // returns the results of all text area elements
- @Override
- public ArrayList<String> getStringValue() {
- ArrayList<String> results = new ArrayList<String>();
- for (TextArea item : this.textElements) {
- results.add(item.getValue());
- }
+ public void setTextAlign(Widget widget, TextAlignValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
+ // TODO Auto-generated method stub
- return results;
}
-
+
@Override
- public ArrayList<Pair<TopicMapsTypes, Object>> getTmValue() {
+ public void setLineHeight(Widget widget, NormalNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
- return null;
- }
-
-
- @Override
- public boolean validate(){
- // TODO: implement
- return false;
- }
-
-
- // this class catches all keypress events and transforms the visible
- // characters to *, whereas the actual characters are collected and requestable
- // via the function getValue.
- protected class PasswordKeyPressHandler implements KeyPressHandler {
- String realValue = "";
-
- @Override
- public void onKeyPress(KeyPressEvent event) {
- TextArea elem = (TextArea) event.getSource();
- elem.cancelKey();
- elem.setText(elem.getText() + "*");
- realValue += (char)event.getCharCode() + "";
- }
-
- public String getValue(){
- return this.realValue;
- }
}
@Override
- public void setDirection(DirectionValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setTextDecoration(Widget widget, TextDecorationValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setTextAlign(TextAlignValue value, String styleClass)
+ public void setColor(Widget widget, ColorValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -893,7 +775,7 @@
@Override
- public void setLineHeight(NormalNumUnitValue value, String styleClass)
+ public void setFontFamily(Widget widget, String value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -901,7 +783,7 @@
@Override
- public void setTextDecoration(TextDecorationValue value, String styleClass)
+ public void setFontStyle(Widget widget, FontStyle value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -909,55 +791,57 @@
@Override
- public void setColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setFontSize(Widget widget, PositiveNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setFontFamily(String value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setFontWeight(Widget widget, FontWeightValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setFontStyle(FontStyle value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setLetterSpacing(Widget widget, NormalNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setFontSize(PositiveNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setWordSpacing(Widget widget, NormalNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setFontWeight(FontWeightValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setContentFloat(Widget widget, Float value) {
// TODO Auto-generated method stub
}
@Override
- public void setLetterSpacing(NormalNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setContentClear(Widget widget, ClearValue value) {
// TODO Auto-generated method stub
}
@Override
- public void setWordSpacing(NormalNumUnitValue value, String styleClass)
+ public void setMargin(Widget widget, NumUnitValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -965,197 +849,223 @@
@Override
- public void setContentFloat(Float value) {
+ public void setMarginTop(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setContentClear(ClearValue value) {
+ public void setMarginRight(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMargin(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginBottom(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginTop(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginLeft(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginRight(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginBottom(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginLeft(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopRightRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomRightRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomLeftRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopRightRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopLeftRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomRightRadius(NumUnitValue value, String styleClass)
+ public void setPadding(Widget widget, NumUnitValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -1163,87 +1073,97 @@
@Override
- public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingTop(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopLeftRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingRight(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPadding(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingBottom(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingTop(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingLeft(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingRight(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingBottom(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMinWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingLeft(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMaxWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMinWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMinHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMaxWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMaxHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setHeight(AutoNumUnitValue value, String styleClass)
+ public void setCursor(Widget widget, CursorValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -1251,41 +1171,160 @@
@Override
- public void setMinHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBackgroundColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
-
+
+ // calls the super class's setGdlStyle and additionally calls local statements
+ // to fulfill the style settings
@Override
- public void setMaxHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
+ protected void setGdlStyle() throws InvalidGdlSchemaException, ExecutionException{
+ // TODO: implement
+
+ /*
+
+ // create all handlers for elem
+ ActiveStyleHandler asHandler = new ActiveStyleHandler();
+ this.activeStyleHandler.add(new Pair<TextArea, GdlVisibleObject.ActiveStyleHandler>(elem, asHandler));
+ FocusStyleHandler fsHandler = new FocusStyleHandler();
+ this.focusStyleHandler.add(new Pair<TextArea, GdlVisibleObject.FocusStyleHandler>(elem, fsHandler));
+ HoverStyleHandler hsHandler = new HoverStyleHandler();
+ this.hoverStyleHandler.add(new Pair<TextArea, GdlVisibleObject.HoverStyleHandler>(elem, hsHandler));
+
+ // all attributes for the actual text element
+ this.setReadonly(this.getReadonly());
+ this.setResize(this.getResize());
+ this.setTextType(this.getTextType());
+ this.setRows(this.getRows());
+ this.setCols(this.getCols());
+
+
+
+ // register the corresponding handlers for each text element
+ elem.addMouseDownHandler(asHandler);
+ elem.addMouseUpHandler(asHandler);
+ elem.addFocusHandler(fsHandler);
+ elem.addBlurHandler(fsHandler);
+ elem.addMouseOutHandler(hsHandler);
+ elem.addMouseOverHandler(hsHandler);
+ */
}
-
-
+
+
+ // registers a passed mouse down handler to each text element of this item
@Override
- public void setCursor(CursorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
+ public MultipleHandlerRegistration addMouseDownHandler(MouseDownHandler handler){
+ MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
+ for (TextArea item : this.textElements) {
+ regs.addHandlerRegistration(item.addMouseDownHandler(handler));
+ }
+ return regs;
+ }
+
+
+ // registers a passed mouse up handler to each text element of this item
+ @Override
+ public MultipleHandlerRegistration addMouseUpHandler(MouseUpHandler handler){
+ MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
+ for (TextArea item : this.textElements) {
+ regs.addHandlerRegistration(item.addMouseUpHandler(handler));
+ }
+ return regs;
+ }
+
+
+ // registers a passed focus handler to each text element of this item
+ @Override
+ public MultipleHandlerRegistration addFocusHandler(FocusHandler handler){
+ MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
+ for (TextArea item : this.textElements) {
+ regs.addHandlerRegistration(item.addFocusHandler(handler));
+ }
+ return regs;
}
+
+ // registers a passed blur handler to each text element of this item
+ @Override
+ public MultipleHandlerRegistration addBlurHandler(BlurHandler handler){
+ MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
+ for (TextArea item : this.textElements) {
+ regs.addHandlerRegistration(item.addBlurHandler(handler));
+ }
+ return regs;
+ }
+
+ // registers a passed mouse out handler to each text element of this item
@Override
- public void setBackgroundColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
+ public MultipleHandlerRegistration addMouseOutHandler(MouseOutHandler handler){
+ MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
+ for (TextArea item : this.textElements) {
+ regs.addHandlerRegistration(item.addMouseOutHandler(handler));
+ }
+ return regs;
+ }
+
+
+ // registers a passed mouse over handler to each text element of this item
+ @Override
+ public MultipleHandlerRegistration addMouseOverHandler(MouseOverHandler handler){
+ MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
+ for (TextArea item : this.textElements) {
+ regs.addHandlerRegistration(item.addMouseOverHandler(handler));
+ }
+ return regs;
+ }
+
+
+ // returns the results of all text area elements
+ @Override
+ public ArrayList<String> getStringValue() {
+ ArrayList<String> results = new ArrayList<String>();
+ for (TextArea item : this.textElements) {
+ results.add(item.getValue());
+ }
+ return results;
}
-
+
@Override
- public void setOverflow(Overflow value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public ArrayList<Pair<TopicMapsTypes, Object>> getTmValue() {
// TODO Auto-generated method stub
+ return null;
+ }
+
+
+ @Override
+ public boolean validate(){
+ // TODO: implement
+ return false;
+ }
+
+
+ // this class catches all keypress events and transforms the visible
+ // characters to *, whereas the actual characters are collected and requestable
+ // via the function getValue.
+ protected class PasswordKeyPressHandler implements KeyPressHandler {
+ String realValue = "";
+
+ @Override
+ public void onKeyPress(KeyPressEvent event) {
+ TextArea elem = (TextArea) event.getSource();
+ elem.cancelKey();
+ elem.setText(elem.getText() + "*");
+ realValue += (char)event.getCharCode() + "";
+ }
+
+ public String getValue(){
+ return this.realValue;
+ }
}
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java Tue Jul 5 12:47:32 2011 (r562)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java Tue Jul 5 13:16:42 2011 (r563)
@@ -2,6 +2,8 @@
import com.google.gwt.dom.client.Style.FontStyle;
+import com.google.gwt.user.client.ui.Widget;
+
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
@@ -279,68 +281,45 @@
// sets the direction style property of this element by using the GWT DOM class
- public abstract void setDirection(DirectionValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setDirection(Widget widget, DirectionValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the text-align style property of this element by using the GWT DOM class
- public abstract void setTextAlign(TextAlignValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setTextAlign(Widget widget, TextAlignValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the line-height style property of this element by using the GWT DOM class
- public abstract void setLineHeight(NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setLineHeight(Widget widget, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the text-decoration style property of this element by using the GWT DOM class
- public abstract void setTextDecoration(TextDecorationValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setTextDecoration(Widget widget, TextDecorationValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the color style property of this element by using the GWT DOM class
- public abstract void setColor(ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the font-family style property of this element by using the GWT DOM class
- public abstract void setFontFamily(String value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setFontFamily(Widget widget, String value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the font-style style property of this element by using the GWT DOM class
- public abstract void setFontStyle(FontStyle value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setFontStyle(Widget widget, FontStyle value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the font-size style property of this element by using the GWT DOM class
- public abstract void setFontSize(PositiveNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setFontSize(Widget widget, PositiveNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the font-weight style property of this element by using the GWT DOM class
- public abstract void setFontWeight(FontWeightValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setFontWeight(Widget widget, FontWeightValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the letter-spacing style property of this element by using the GWT DOM class
- public abstract void setLetterSpacing(NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
+ public abstract void setLetterSpacing(Widget widget, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the word-spacing style property of this element by using the GWT DOM class
- public abstract void setWordSpacing(NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
-
-
- // calls the super class's setGdlStyle and additionally calls local statements
- // to fulfill the style settings
- @Override
- protected void setGdlStyle() throws InvalidGdlSchemaException, ExecutionException{
- super.setGdlStyle();
-
- String[] styleClasses = new String[]{null, GdlPsis.Scope.gdlActive, GdlPsis.Scope.gdlFocus, GdlPsis.Scope.gdlHover};
- for (String styleClass : styleClasses) {
- this.setDirection(this.getDirection(styleClass), styleClass);
- this.setTextAlign(this.getTextAlign(styleClass), styleClass);
- this.setLineHeight(this.getLineHeight(styleClass), styleClass);
- this.setTextDecoration(this.getTextDecoration(styleClass), styleClass);
- this.setColor(this.getColor(styleClass), styleClass);
- this.setFontFamily(this.getFontFamily(styleClass), styleClass);
- this.setFontStyle(this.getFontStyle(styleClass), styleClass);
- this.setFontSize(this.getFontSize(styleClass), styleClass);
- this.setFontWeight(this.getFontWeight(styleClass), styleClass);
- this.setLetterSpacing(this.getLetterSpacing(styleClass), styleClass);
- this.setWordSpacing(this.getWordSpacing(styleClass), styleClass);
- }
- }
+ public abstract void setWordSpacing(Widget widget, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java Tue Jul 5 12:47:32 2011 (r562)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java Tue Jul 5 13:16:42 2011 (r563)
@@ -3,6 +3,7 @@
import com.google.gwt.dom.client.Style.Float;
import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Association;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
@@ -72,286 +73,314 @@
}
@Override
- public void setContentFloat(Float value) {
+ public void setContentFloat(Widget widget, Float value) {
// TODO Auto-generated method stub
}
@Override
- public void setContentClear(ClearValue value) {
+ public void setContentClear(Widget widget, ClearValue value) {
// TODO Auto-generated method stub
}
@Override
- public void setMargin(NumUnitValue value, String styleClass)
+ public void setMargin(Widget widget, NumUnitValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginTop(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginTop(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginRight(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginRight(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginBottom(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginBottom(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginLeft(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginLeft(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopRightRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopRightRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomRightRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomRightRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopLeftRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomLeftRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPadding(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopLeftRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingTop(NumUnitValue value, String styleClass)
+ public void setPadding(Widget widget, NumUnitValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingRight(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingTop(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingBottom(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingRight(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingLeft(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingBottom(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingLeft(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMinWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMaxWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMinWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMaxWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMinHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMaxHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMinHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setCursor(CursorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMaxHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBackgroundColor(ColorValue value, String styleClass)
+ public void setCursor(Widget widget, CursorValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setOverflow(Overflow value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBackgroundColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java Tue Jul 5 12:47:32 2011 (r562)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java Tue Jul 5 13:16:42 2011 (r563)
@@ -3,6 +3,7 @@
import com.google.gwt.dom.client.Style.Float;
import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
@@ -74,21 +75,21 @@
@Override
- public void setContentFloat(Float value) {
+ public void setContentFloat(Widget widget, Float value) {
// TODO Auto-generated method stub
}
@Override
- public void setContentClear(ClearValue value) {
+ public void setContentClear(Widget widget, ClearValue value) {
// TODO Auto-generated method stub
}
@Override
- public void setMargin(NumUnitValue value, String styleClass)
+ public void setMargin(Widget widget, NumUnitValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -96,199 +97,223 @@
@Override
- public void setMarginTop(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginTop(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginRight(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginRight(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginBottom(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginBottom(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginLeft(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginLeft(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopRightRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopRightRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomRightRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomRightRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomLeftRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopLeftRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopLeftRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPadding(NumUnitValue value, String styleClass)
+ public void setPadding(Widget widget, NumUnitValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -296,95 +321,97 @@
@Override
- public void setPaddingTop(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingTop(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingRight(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingRight(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingBottom(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingBottom(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingLeft(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingLeft(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMinWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMinWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMaxWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMaxWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMinHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMinHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMaxHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setCursor(CursorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMaxHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBackgroundColor(ColorValue value, String styleClass)
+ public void setCursor(Widget widget, CursorValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -392,10 +419,10 @@
@Override
- public void setOverflow(Overflow value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBackgroundColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
-
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java Tue Jul 5 12:47:32 2011 (r562)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java Tue Jul 5 13:16:42 2011 (r563)
@@ -3,6 +3,7 @@
import com.google.gwt.dom.client.Style.Float;
import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Association;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
@@ -75,21 +76,21 @@
@Override
- public void setContentFloat(Float value) {
+ public void setContentFloat(Widget widget, Float value) {
// TODO Auto-generated method stub
}
@Override
- public void setContentClear(ClearValue value) {
+ public void setContentClear(Widget widget, ClearValue value) {
// TODO Auto-generated method stub
}
@Override
- public void setMargin(NumUnitValue value, String styleClass)
+ public void setMargin(Widget widget, NumUnitValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -97,207 +98,223 @@
@Override
- public void setMarginTop(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginTop(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginRight(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginRight(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginBottom(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginBottom(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginLeft(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginLeft(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopRightRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomRightRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopRightRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomRightRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopLeftRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomLeftRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPadding(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopLeftRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingTop(NumUnitValue value, String styleClass)
+ public void setPadding(Widget widget, NumUnitValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -305,87 +322,97 @@
@Override
- public void setPaddingRight(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingTop(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingBottom(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingRight(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingLeft(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingBottom(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingLeft(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMinWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMaxWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMinWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMaxWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMinHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMaxHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMinHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setCursor(CursorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMaxHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBackgroundColor(ColorValue value, String styleClass)
+ public void setCursor(Widget widget, CursorValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -393,8 +420,9 @@
@Override
- public void setOverflow(Overflow value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBackgroundColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java Tue Jul 5 12:47:32 2011 (r562)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java Tue Jul 5 13:16:42 2011 (r563)
@@ -3,6 +3,7 @@
import com.google.gwt.dom.client.Style.Float;
import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
@@ -73,21 +74,21 @@
@Override
- public void setContentFloat(Float value) {
+ public void setContentFloat(Widget widget, Float value) {
// TODO Auto-generated method stub
}
@Override
- public void setContentClear(ClearValue value) {
+ public void setContentClear(Widget widget, ClearValue value) {
// TODO Auto-generated method stub
}
@Override
- public void setMargin(NumUnitValue value, String styleClass)
+ public void setMargin(Widget widget, NumUnitValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -95,199 +96,223 @@
@Override
- public void setMarginTop(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginTop(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginRight(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginRight(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginBottom(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginBottom(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginLeft(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginLeft(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopRightRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopRightRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomRightRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomRightRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomLeftRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopLeftRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopLeftRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPadding(NumUnitValue value, String styleClass)
+ public void setPadding(Widget widget, NumUnitValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -295,95 +320,97 @@
@Override
- public void setPaddingTop(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingTop(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingRight(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingRight(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingBottom(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingBottom(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingLeft(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingLeft(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMinWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMinWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMaxWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMaxWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMinHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMinHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMaxHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setCursor(CursorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMaxHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBackgroundColor(ColorValue value, String styleClass)
+ public void setCursor(Widget widget, CursorValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -391,10 +418,10 @@
@Override
- public void setOverflow(Overflow value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBackgroundColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
-
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java Tue Jul 5 12:47:32 2011 (r562)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java Tue Jul 5 13:16:42 2011 (r563)
@@ -3,6 +3,7 @@
import com.google.gwt.dom.client.Style.Float;
import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
@@ -75,21 +76,21 @@
@Override
- public void setContentFloat(Float value) {
+ public void setContentFloat(Widget widget, Float value) {
// TODO Auto-generated method stub
}
@Override
- public void setContentClear(ClearValue value) {
+ public void setContentClear(Widget widget, ClearValue value) {
// TODO Auto-generated method stub
}
@Override
- public void setMargin(NumUnitValue value, String styleClass)
+ public void setMargin(Widget widget, NumUnitValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -97,207 +98,223 @@
@Override
- public void setMarginTop(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginTop(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginRight(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginRight(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginBottom(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginBottom(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMarginLeft(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMarginLeft(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftColor(ColorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftStyle(BorderStyleValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftStyle(Widget widget, BorderStyleValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRightWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRightWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderLeftWidth(Widget widget, AbsoluteNumValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopRightRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomRightRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopRightRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomRightRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBorderTopLeftRadius(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderBottomLeftRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPadding(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBorderTopLeftRadius(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingTop(NumUnitValue value, String styleClass)
+ public void setPadding(Widget widget, NumUnitValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -305,87 +322,97 @@
@Override
- public void setPaddingRight(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingTop(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingBottom(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingRight(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setPaddingLeft(NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingBottom(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setPaddingLeft(Widget widget, NumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMinWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMaxWidth(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMinWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMaxWidth(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMinHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setMaxHeight(AutoNumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMinHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setCursor(CursorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setMaxHeight(Widget widget, AutoNumUnitValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
@Override
- public void setBackgroundColor(ColorValue value, String styleClass)
+ public void setCursor(Widget widget, CursorValue value, String styleClass)
throws InvalidGdlSchemaException, ExecutionException {
// TODO Auto-generated method stub
@@ -393,8 +420,9 @@
@Override
- public void setOverflow(Overflow value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
+ public void setBackgroundColor(Widget widget, ColorValue value,
+ String styleClass) throws InvalidGdlSchemaException,
+ ExecutionException {
// TODO Auto-generated method stub
}
1
0

[isidorus-cvs] r562 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base text views
by lgiessmann@common-lisp.net 05 Jul '11
by lgiessmann@common-lisp.net 05 Jul '11
05 Jul '11
Author: lgiessmann
Date: Tue Jul 5 12:47:32 2011
New Revision: 562
Log:
gdl-frontend: Widgets: changed the behavior of setter methods for GDL attributes of GdlVisibleObject and GdlTextObject
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java Tue Jul 5 12:20:05 2011 (r561)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java Tue Jul 5 12:47:32 2011 (r562)
@@ -190,6 +190,8 @@
public final static String gdlUnitBorderBottomRightRadius = gdl + "unit-border-bottom-right-radius";
public final static String gdlUnitBoderBottomLeftRadius = gdl + "unit-border-bottom-left-radius";
public final static String gdlUnitBorderTopLeftRadius = gdl + "unit-border-top-left-radius";
+ public final static String gdlContentFloat = gdl + "content-float";
+ public final static String gdlContentClear = gdl + "content-clear";
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Tue Jul 5 12:20:05 2011 (r561)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Tue Jul 5 12:47:32 2011 (r562)
@@ -208,18 +208,57 @@
return Float.NONE;
}
}
+
+
+ // returns a Float instance of a gdl:conetnt-float occurrence or the default value for
+ // this property if no gdl:content-float occurrence is available
+ public Float getContentFloat() throws InvalidGdlSchemaException {
+ Occurrence floatOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlContentFloat);
+
+ if(floatOcc != null){
+ String value = floatOcc.getValue().toLowerCase();
+ if(value.equals("none")){
+ return Float.NONE;
+ } else if (value.equals("left")){
+ return Float.LEFT;
+ } else if (value.equals("right")){
+ return Float.RIGHT;
+ } else {
+ throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlContentFloat + " must be set to one of \"none\", \"left\" or \"right\", but is \"" + floatOcc.getValue() + "\"");
+ }
+ } else {
+ return Float.NONE;
+ }
+ }
// returns a ClearValue instance of a gdl:clear occurrence or the default value for
// this property if no gdl:clear occurrence is available
public ClearValue getClear() throws InvalidGdlSchemaException {
- Occurrence clearOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlFloat);
+ Occurrence clearOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlClear);
if(clearOcc != null){
try{
return ClearValue.valueOf(clearOcc.getValue().toUpperCase());
}catch(IllegalArgumentException e){
- throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlFloat + " must be set to one of \"none\", \"left\", \"right\" or \"both\", but is \"" + clearOcc.getValue() + "\"");
+ throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlClear + " must be set to one of \"none\", \"left\", \"right\" or \"both\", but is \"" + clearOcc.getValue() + "\"");
+ }
+ } else {
+ return ClearValue.NONE;
+ }
+ }
+
+
+ // returns a ClearValue instance of a gdl:content-clear occurrence or the default value for
+ // this property if no gdl:content-clear occurrence is available
+ public ClearValue getContentClear() throws InvalidGdlSchemaException {
+ Occurrence clearOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlContentClear);
+
+ if(clearOcc != null){
+ try{
+ return ClearValue.valueOf(clearOcc.getValue().toUpperCase());
+ }catch(IllegalArgumentException e){
+ throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlContentClear + " must be set to one of \"none\", \"left\", \"right\" or \"both\", but is \"" + clearOcc.getValue() + "\"");
}
} else {
return ClearValue.NONE;
@@ -1092,7 +1131,7 @@
}
}
-
+
// sets the id property of this element by using the GWT DOM class
public void setId(String id){
if(id != null){
@@ -1123,6 +1162,10 @@
DOM.setStyleAttribute(this.getElement(), "float", value.getCssName());
}
}
+
+
+ // sets the float style property of all sub elements by using the GWT DOM class
+ public abstract void setContentFloat(Float value);
// sets the clear style property of this element by using the GWT DOM class
@@ -1131,6 +1174,10 @@
DOM.setStyleAttribute(this.getElement(), "clear", value.getCssValue());
}
}
+
+
+ // sets the clear style property of all sub elements by using the GWT DOM class
+ public abstract void setContentClear(ClearValue value);
// sets the vertical-align style property of this element by using the GWT DOM class
@@ -1140,237 +1187,159 @@
// sets the margin style property of this element by using the GWT DOM class
- public void setMargin(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "margin", value.getCssValue());
- }
+ public abstract void setMargin(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the margin-top style property of this element by using the GWT DOM class
- public void setMarginTop(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "marginTop", value.getCssValue());
- }
+ public abstract void setMarginTop(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the margin-right style property of this element by using the GWT DOM class
- public void setMarginRight(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "marginRight", value.getCssValue());
- }
+ public abstract void setMarginRight(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the margin-bottom style property of this element by using the GWT DOM class
- public void setMarginBottom(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "marginBottom", value.getCssValue());
- }
+ public abstract void setMarginBottom(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the margin-left style property of this element by using the GWT DOM class
- public void setMarginLeft(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "marginLeft", value.getCssValue());
- }
+ public abstract void setMarginLeft(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-color style property of this element by using the GWT DOM class
- public void setBorderColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderColor", value.getCssValue());
- }
+ public abstract void setBorderColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-top-color style property of this element by using the GWT DOM class
- public void setBorderTopColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderTopColor", value.getCssValue());
- }
+ public abstract void setBorderTopColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-right-color style property of this element by using the GWT DOM class
- public void setBorderRightColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderRightColor", value.getCssValue());
- }
+ public abstract void setBorderRightColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-bottom-color style property of this element by using the GWT DOM class
- public void setBorderBottomColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderBottomColor", value.getCssValue());
- }
+ public abstract void setBorderBottomColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-left-color style property of this element by using the GWT DOM class
- public void setBorderLeftColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderLeftColor", value.getCssValue());
- }
+ public abstract void setBorderLeftColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-style style property of this element by using the GWT DOM class
- public void setBorderStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderStyle", value.getCssValue());
- }
+ public abstract void setBorderStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-top-style style property of this element by using the GWT DOM class
- public void setBorderTopStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderTopStyle", value.getCssValue());
- }
+ public abstract void setBorderTopStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-right-style style property of this element by using the GWT DOM class
- public void setBorderRightStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderRightStyle", value.getCssValue());
- }
+ public abstract void setBorderRightStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-bottom-style style property of this element by using the GWT DOM class
- public void setBorderBottomStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderBottomStyle", value.getCssValue());
- }
+ public abstract void setBorderBottomStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-left-style style property of this element by using the GWT DOM class
- public void setBorderLeftStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderLeftStyle", value.getCssValue());
- }
+ public abstract void setBorderLeftStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-width style property of this element by using the GWT DOM class
- public void setBorderWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderWidth", value.getCssValue());
- }
+ public abstract void setBorderWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-width style property of this element by using the GWT DOM class
- public void setBorderTopWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderTopWidth", value.getCssValue());
- }
-
+ public abstract void setBorderTopWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+
// sets the border-width style property of this element by using the GWT DOM class
- public void setBorderRightWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderRightWidth", value.getCssValue());
- }
-
+ public abstract void setBorderRightWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
+
// sets the border-width style property of this element by using the GWT DOM class
- public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderBottomWidth", value.getCssValue());
- }
+ public abstract void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-width style property of this element by using the GWT DOM class
- public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderLeftWidth", value.getCssValue());
- }
+ public abstract void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-radius style property of this element by using the GWT DOM class
- public void setBorderRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderRadius", value.getCssValue());
- }
+ public abstract void setBorderRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-top-right-radius style property of this element by using the GWT DOM class
- public void setBorderTopRightRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderTopRightRadius", value.getCssValue());
- }
+ public abstract void setBorderTopRightRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-bottom-right-radius style property of this element by using the GWT DOM class
- public void setBorderBottomRightRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderBottomRightRadius", value.getCssValue());
- }
+ public abstract void setBorderBottomRightRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-bottom-left-radius style property of this element by using the GWT DOM class
- public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderBottomLeftRadius", value.getCssValue());
- }
+ public abstract void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the border-top-left-radius style property of this element by using the GWT DOM class
- public void setBorderTopLeftRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "borderTopLeftRadius", value.getCssValue());
- }
+ public abstract void setBorderTopLeftRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the padding style property of this element by using the GWT DOM class
- public void setPadding(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "padding", value.getCssValue());
- }
+ public abstract void setPadding(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the padding-top style property of this element by using the GWT DOM class
- public void setPaddingTop(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "paddingTop", value.getCssValue());
- }
+ public abstract void setPaddingTop(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the padding-right style property of this element by using the GWT DOM class
- public void setPaddingRight(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "paddingRight", value.getCssValue());
- }
+ public abstract void setPaddingRight(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the padding-bottom style property of this element by using the GWT DOM class
- public void setPaddingBottom(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "paddingBottom", value.getCssValue());
- }
+ public abstract void setPaddingBottom(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the padding-left style property of this element by using the GWT DOM class
- public void setPaddingLeft(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "paddingLeft", value.getCssValue());
- }
+ public abstract void setPaddingLeft(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the width style property of this element by using the GWT DOM class
- public void setWidth(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "width", value.getCssValue());
- }
+ public abstract void setWidth(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the min-width style property of this element by using the GWT DOM class
- public void setMinWidth(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "minWidth", value.getCssValue());
- }
+ public abstract void setMinWidth(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the max-width style property of this element by using the GWT DOM class
- public void setMaxWidth(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "maxHeight", value.getCssValue());
- }
+ public abstract void setMaxWidth(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the height style property of this element by using the GWT DOM class
- public void setHeight(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "height", value.getCssValue());
- }
+ public abstract void setHeight(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the min-height style property of this element by using the GWT DOM class
- public void setMinHeight(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "minHeight", value.getCssValue());
- }
+ public abstract void setMinHeight(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the max-height style property of this element by using the GWT DOM class
- public void setMaxHeight(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "maxHeight", value.getCssValue());
- }
+ public abstract void setMaxHeight(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the cursor style property of this element by using the GWT DOM class
- public void setCursor(CursorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "cursor", value.getCssValue());
- }
+ public abstract void setCursor(CursorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the background-color style property of this element by using the GWT DOM class
- public void setBackgroundColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "backgroundColor", value.getCssValue());
- }
+ public abstract void setBackgroundColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the overflow style property of this element by using the GWT DOM class
- public void setOverflow(Overflow value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(styleClass, "overflow", value.getCssName());
- }
+ public abstract void setOverflow(Overflow value, String styleClass)throws InvalidGdlSchemaException, ExecutionException;
// sets the passed css style porperty to the passed css value.
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Tue Jul 5 12:20:05 2011 (r561)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Tue Jul 5 12:47:32 2011 (r562)
@@ -2,7 +2,10 @@
import java.util.ArrayList;
+
+import com.google.gwt.dom.client.Style.Float;
import com.google.gwt.dom.client.Style.FontStyle;
+import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.event.dom.client.BlurHandler;
import com.google.gwt.event.dom.client.FocusHandler;
import com.google.gwt.event.dom.client.KeyPressEvent;
@@ -30,6 +33,7 @@
import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
import us.isidor.gdl.anaToMia.Widgets.values.AutoNumValue;
import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
import us.isidor.gdl.anaToMia.Widgets.values.DirectionValue;
@@ -78,9 +82,7 @@
TextArea elem = new TextArea();
this.textElements.add(elem);
DOM.setElementAttribute(elem.getElement(), "id", this.getId() + "__GDL_" + this.textElements.size());
- super.mainPanel.add(elem);
- this.setContentGdlStyle(elem);
-
+ super.mainPanel.add(elem);
// TODO: reset the text area size on each text element
return elem;
}
@@ -285,23 +287,6 @@
}
- public void setWidth(TextArea elem, AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) this.setCssProperty(elem, styleClass, "width", value.getCssValue());
- }
-
-
- @Override
- public void setWidth(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- // TODO: implement
-
- }
-
-
- public void setHeight(TextArea elem, AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
- // TODO: implement
- }
-
-
// sets the rows property if gdl:width is not set
public void setRows(int value) throws InvalidGdlSchemaException, ExecutionException {
if(value < 0) throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlRows + " must be set to a positive integer, but is \"" + value + "\"");
@@ -328,6 +313,7 @@
}
+ /*
// sets the background-color style property of this element's text items by using the GWT DOM class
@Override
public void setBackgroundColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
@@ -738,10 +724,16 @@
public void setWordSpacing(TextArea elem, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null) this.setCssProperty(elem, styleClass, "wordSpacing", value.getCssValue());
}
+ */
-
- // sets the GDL style of the passed content element, i.e. the TextArea element
- protected void setContentGdlStyle(TextArea elem) throws InvalidGdlSchemaException, ExecutionException{
+ // calls the super class's setGdlStyle and additionally calls local statements
+ // to fulfill the style settings
+ @Override
+ protected void setGdlStyle() throws InvalidGdlSchemaException, ExecutionException{
+ // TODO: implement
+
+ /*
+
// create all handlers for elem
ActiveStyleHandler asHandler = new ActiveStyleHandler();
this.activeStyleHandler.add(new Pair<TextArea, GdlVisibleObject.ActiveStyleHandler>(elem, asHandler));
@@ -758,57 +750,7 @@
this.setRows(this.getRows());
this.setCols(this.getCols());
- String[] styleClasses = new String[]{null, GdlPsis.Scope.gdlActive, GdlPsis.Scope.gdlFocus, GdlPsis.Scope.gdlHover};
- for (String styleClass : styleClasses) {
- // visible object styles
- this.setBackgroundColor(elem, this.getBackgroundColor(styleClass), styleClass);
- this.setCursor(elem, this.getCursor(styleClass), styleClass);
- this.setColor(elem, this.getColor(styleClass), styleClass);
- this.setBorderColor(elem, this.getBorderColor(styleClass), styleClass);
- this.setBorderTopColor(elem, this.getBorderTopColor(styleClass), styleClass);
- this.setBorderRightColor(elem, this.getBorderRightColor(styleClass), styleClass);
- this.setBorderBottomColor(elem, this.getBorderBottomColor(styleClass), styleClass);
- this.setBorderLeftColor(elem, this.getBorderLeftColor(styleClass), styleClass);
- this.setBorderStyle(elem, this.getBorderStyle(styleClass), styleClass);
- this.setBorderTopStyle(elem, this.getBorderTopStyle(styleClass), styleClass);
- this.setBorderRightStyle(elem, this.getBorderRightStyle(styleClass), styleClass);
- this.setBorderBottomStyle(elem, this.getBorderBottomStyle(styleClass), styleClass);
- this.setBorderLeftStyle(elem, this.getBorderLeftStyle(styleClass), styleClass);
- this.setBorderWidth(elem, this.getBorderWidth(styleClass), styleClass);
- this.setBorderTopWidth(elem, this.getBorderTopWidth(styleClass), styleClass);
- this.setBorderRightWidth(elem, this.getBorderRightWidth(styleClass), styleClass);
- this.setBorderBottomWidth(elem, this.getBorderBottomWidth(styleClass), styleClass);
- this.setBorderLeftWidth(elem, this.getBorderLeftWidth(styleClass), styleClass);
- this.setBorderRadius(elem, this.getBorderRadius(styleClass), styleClass);
- this.setBorderTopRightRadius(elem, this.getBorderTopRightRadius(styleClass), styleClass);
- this.setBorderBottomRightRadius(elem, this.getBorderBottomRightRadius(styleClass), styleClass);
- this.setBorderBottomLeftRadius(elem, this.getBorderBottomLeftRadius(styleClass), styleClass);
- this.setBorderTopLeftRadius(elem, this.getBorderTopLeftRadius(styleClass), styleClass);
- this.setMargin(elem, this.getMargin(styleClass), styleClass);
- this.setMarginTop(elem, this.getMarginTop(styleClass), styleClass);
- this.setMarginRight(elem, this.getMarginRight(styleClass), styleClass);
- this.setMarginBottom(elem, this.getMarginBottom(styleClass), styleClass);
- this.setMarginLeft(elem, this.getMarginLeft(styleClass), styleClass);
- this.setPadding(elem, this.getPadding(styleClass), styleClass);
- this.setPaddingTop(elem, this.getPaddingTop(styleClass), styleClass);
- this.setPaddingRight(elem, this.getPaddingRight(styleClass), styleClass);
- this.setPaddingBottom(elem, this.getPaddingBottom(styleClass), styleClass);
- this.setPaddingLeft(elem, this.getPaddingLeft(styleClass), styleClass);
- this.setWidth(elem, this.getWidth(styleClass), styleClass);
- this.setHeight(elem, this.getHeight(styleClass), styleClass);
-
- // text object styles
- this.setDirection(elem, this.getDirection(styleClass), styleClass);
- this.setTextAlign(elem, this.getTextAlign(styleClass), styleClass);
- this.setLineHeight(elem, this.getLineHeight(styleClass), styleClass);
- this.setTextDecoration(elem, this.getTextDecoration(styleClass), styleClass);
- this.setFontFamily(elem, this.getFontFamily(styleClass), styleClass);
- this.setFontStyle(elem, this.getFontStyle(styleClass), styleClass);
- this.setFontSize(elem, this.getFontSize(styleClass), styleClass);
- this.setFontWeight(elem, this.getFontWeight(styleClass), styleClass);
- this.setLetterSpacing(elem, this.getLetterSpacing(styleClass), styleClass);
- this.setWordSpacing(elem, this.getWordSpacing(styleClass), styleClass);
- }
+
// register the corresponding handlers for each text element
elem.addMouseDownHandler(asHandler);
@@ -817,30 +759,7 @@
elem.addBlurHandler(fsHandler);
elem.addMouseOutHandler(hsHandler);
elem.addMouseOverHandler(hsHandler);
- }
-
-
- // calls the super class's setGdlStyle and additionally calls local statements
- // to fulfill the style settings
- @Override
- protected void setGdlStyle() throws InvalidGdlSchemaException, ExecutionException{
- // the outer/container element
- super.setDisplay(super.getDisplay());
- super.setZindex(super.getZindex());
- super.setFloat(super.getFloat());
- super.setClear(super.getClear());
-
- String[] styleClasses = new String[]{null, GdlPsis.Scope.gdlActive, GdlPsis.Scope.gdlFocus, GdlPsis.Scope.gdlHover};
- for (String styleClass : styleClasses) {
- super.setVerticalAlign(super.getVerticalAlign(styleClass), styleClass);
- super.setOverflow(super.getOverflow(styleClass), styleClass);
- super.setWidth(super.getWidth(styleClass), styleClass);
- super.setMinWidth(super.getMinWidth(styleClass), styleClass);
- super.setMaxWidth(super.getMaxWidth(styleClass), styleClass);
- super.setHeight(super.getHeight(styleClass), styleClass);
- super.setMinHeight(super.getMinHeight(styleClass), styleClass);
- super.setMaxHeight(super.getMaxHeight(styleClass), styleClass);
- }
+ */
}
@@ -955,4 +874,418 @@
return this.realValue;
}
}
+
+
+ @Override
+ public void setDirection(DirectionValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setTextAlign(TextAlignValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setLineHeight(NormalNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setTextDecoration(TextDecorationValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setFontFamily(String value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setFontStyle(FontStyle value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setFontSize(PositiveNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setFontWeight(FontWeightValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setLetterSpacing(NormalNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setWordSpacing(NormalNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setContentFloat(Float value) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setContentClear(ClearValue value) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMargin(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginTop(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginRight(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginBottom(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginLeft(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRightColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderLeftColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRightStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderLeftStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRightWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopRightRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomRightRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopLeftRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPadding(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingTop(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingRight(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingBottom(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingLeft(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMinWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMaxWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMinHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMaxHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setCursor(CursorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBackgroundColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setOverflow(Overflow value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java Tue Jul 5 12:20:05 2011 (r561)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java Tue Jul 5 12:47:32 2011 (r562)
@@ -279,69 +279,47 @@
// sets the direction style property of this element by using the GWT DOM class
- public void setDirection(DirectionValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) super.setCssProperty(styleClass, "direction", value.getCssValue());
- }
+ public abstract void setDirection(DirectionValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the text-align style property of this element by using the GWT DOM class
- public void setTextAlign(TextAlignValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) super.setCssProperty(styleClass, "textAlign", value.getCssValue());
- }
+ public abstract void setTextAlign(TextAlignValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the line-height style property of this element by using the GWT DOM class
- public void setLineHeight(NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) super.setCssProperty(styleClass, "lineHeight", value.getCssValue());
- }
+ public abstract void setLineHeight(NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the text-decoration style property of this element by using the GWT DOM class
- public void setTextDecoration(TextDecorationValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) super.setCssProperty(styleClass, "textDecoration", value.getCssValue());
- }
+ public abstract void setTextDecoration(TextDecorationValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the color style property of this element by using the GWT DOM class
- public void setColor(ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) super.setCssProperty(styleClass, "color", value.getCssValue());
- }
+ public abstract void setColor(ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the font-family style property of this element by using the GWT DOM class
- public void setFontFamily(String value, String styleClass) throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) super.setCssProperty(styleClass, "fontFamily", value);
- }
+ public abstract void setFontFamily(String value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the font-style style property of this element by using the GWT DOM class
- public void setFontStyle(FontStyle value, String styleClass) throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) super.setCssProperty(styleClass, "fontStyle", value.getCssName());
- }
+ public abstract void setFontStyle(FontStyle value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the font-size style property of this element by using the GWT DOM class
- public void setFontSize(PositiveNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) super.setCssProperty(styleClass, "fontSize", value.getCssValue());
- }
+ public abstract void setFontSize(PositiveNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the font-weight style property of this element by using the GWT DOM class
- public void setFontWeight(FontWeightValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) super.setCssProperty(styleClass, "fontWeight", value.getCssValue());
- }
+ public abstract void setFontWeight(FontWeightValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the letter-spacing style property of this element by using the GWT DOM class
- public void setLetterSpacing(NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) super.setCssProperty(styleClass, "letterSpacing", value.getCssValue());
- }
+ public abstract void setLetterSpacing(NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// sets the word-spacing style property of this element by using the GWT DOM class
- public void setWordSpacing(NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException{
- if(value != null) super.setCssProperty(styleClass, "wordSpacing", value.getCssValue());
- }
+ public abstract void setWordSpacing(NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException;
// calls the super class's setGdlStyle and additionally calls local statements
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java Tue Jul 5 12:20:05 2011 (r561)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java Tue Jul 5 12:47:32 2011 (r562)
@@ -1,5 +1,7 @@
package us.isidor.gdl.anaToMia.Widgets.views;
+import com.google.gwt.dom.client.Style.Float;
+import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.event.dom.client.ClickHandler;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Association;
@@ -9,6 +11,13 @@
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
+import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
+import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
public class GdlCreatorAssociationView extends GdlAssociationView {
@@ -61,4 +70,289 @@
// TODO Auto-generated method stub
}
+
+ @Override
+ public void setContentFloat(Float value) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setContentClear(ClearValue value) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setMargin(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setMarginTop(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setMarginRight(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setMarginBottom(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setMarginLeft(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderTopColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderRightColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderBottomColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderLeftColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderTopStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderRightStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderBottomStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderLeftStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderTopWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderRightWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderTopRightRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderBottomRightRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBorderTopLeftRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setPadding(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setPaddingTop(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setPaddingRight(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setPaddingBottom(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setPaddingLeft(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setMinWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setMaxWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setMinHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setMaxHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setCursor(CursorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBackgroundColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setOverflow(Overflow value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java Tue Jul 5 12:20:05 2011 (r561)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java Tue Jul 5 12:47:32 2011 (r562)
@@ -1,5 +1,7 @@
package us.isidor.gdl.anaToMia.Widgets.views;
+import com.google.gwt.dom.client.Style.Float;
+import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.event.dom.client.ClickHandler;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
@@ -8,6 +10,13 @@
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
+import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
+import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
public class GdlDefaultCreatorTopicView extends GdlDefaultTopicView{
@@ -62,5 +71,331 @@
// TODO Auto-generated method stub
}
+
+
+ @Override
+ public void setContentFloat(Float value) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setContentClear(ClearValue value) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMargin(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginTop(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginRight(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginBottom(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginLeft(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRightColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderLeftColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRightStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderLeftStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRightWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopRightRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomRightRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopLeftRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPadding(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingTop(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingRight(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingBottom(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingLeft(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMinWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMaxWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMinHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMaxHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setCursor(CursorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBackgroundColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setOverflow(Overflow value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java Tue Jul 5 12:20:05 2011 (r561)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java Tue Jul 5 12:47:32 2011 (r562)
@@ -1,5 +1,7 @@
package us.isidor.gdl.anaToMia.Widgets.views;
+import com.google.gwt.dom.client.Style.Float;
+import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.event.dom.client.ClickHandler;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Association;
@@ -9,6 +11,13 @@
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
+import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
+import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
public class GdlEditorAssociationView extends GdlAssociationView {
@@ -63,4 +72,330 @@
// TODO Auto-generated method stub
}
+
+
+ @Override
+ public void setContentFloat(Float value) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setContentClear(ClearValue value) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMargin(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginTop(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginRight(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginBottom(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginLeft(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRightColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderLeftColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRightStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderLeftStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRightWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopRightRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomRightRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopLeftRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPadding(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingTop(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingRight(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingBottom(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingLeft(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMinWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMaxWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMinHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMaxHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setCursor(CursorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBackgroundColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setOverflow(Overflow value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java Tue Jul 5 12:20:05 2011 (r561)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java Tue Jul 5 12:47:32 2011 (r562)
@@ -1,5 +1,7 @@
package us.isidor.gdl.anaToMia.Widgets.views;
+import com.google.gwt.dom.client.Style.Float;
+import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.event.dom.client.ClickHandler;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
@@ -8,6 +10,13 @@
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
+import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
+import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
public class GdlSpecialCreatorTopicView extends GdlSpecialTopicView{
// TODO: implement
@@ -61,5 +70,331 @@
// TODO Auto-generated method stub
}
+
+
+ @Override
+ public void setContentFloat(Float value) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setContentClear(ClearValue value) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMargin(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginTop(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginRight(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginBottom(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginLeft(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRightColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderLeftColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRightStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderLeftStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRightWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopRightRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomRightRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopLeftRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPadding(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingTop(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingRight(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingBottom(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingLeft(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMinWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMaxWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMinHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMaxHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setCursor(CursorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBackgroundColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setOverflow(Overflow value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java Tue Jul 5 12:20:05 2011 (r561)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java Tue Jul 5 12:47:32 2011 (r562)
@@ -1,5 +1,7 @@
package us.isidor.gdl.anaToMia.Widgets.views;
+import com.google.gwt.dom.client.Style.Float;
+import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.event.dom.client.ClickHandler;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
@@ -8,6 +10,13 @@
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
+import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
+import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
public class GdlSpecialEditorTopicView extends GdlSpecialTopicView{
@@ -63,4 +72,330 @@
// TODO Auto-generated method stub
}
+
+
+ @Override
+ public void setContentFloat(Float value) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setContentClear(ClearValue value) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMargin(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginTop(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginRight(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginBottom(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMarginLeft(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRightColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderLeftColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRightStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderLeftStyle(BorderStyleValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRightWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopRightRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomRightRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBorderTopLeftRadius(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPadding(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingTop(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingRight(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingBottom(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setPaddingLeft(NumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMinWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMaxWidth(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMinHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setMaxHeight(AutoNumUnitValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setCursor(CursorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setBackgroundColor(ColorValue value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+ @Override
+ public void setOverflow(Overflow value, String styleClass)
+ throws InvalidGdlSchemaException, ExecutionException {
+ // TODO Auto-generated method stub
+
+ }
}
1
0

[isidorus-cvs] r561 - in branches/gdl-frontend/src/anaToMia/GDL_TmEngine: .gwt src/us/isidor/gdl/anaToMia/TmEngine/jtmsBasedEngine
by lgiessmann@common-lisp.net 05 Jul '11
by lgiessmann@common-lisp.net 05 Jul '11
05 Jul '11
Author: lgiessmann
Date: Tue Jul 5 12:20:05 2011
New Revision: 561
Log:
Modified:
branches/gdl-frontend/src/anaToMia/GDL_TmEngine/.gwt/.gwt-log
branches/gdl-frontend/src/anaToMia/GDL_TmEngine/src/us/isidor/gdl/anaToMia/TmEngine/jtmsBasedEngine/JtmsTmEngine.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_TmEngine/.gwt/.gwt-log
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_TmEngine/.gwt/.gwt-log Tue Jul 5 09:41:31 2011 (r560)
+++ branches/gdl-frontend/src/anaToMia/GDL_TmEngine/.gwt/.gwt-log Tue Jul 5 12:20:05 2011 (r561)
@@ -15304,3 +15304,981 @@
Translatable source found in...
Removing invalidated units
Finding entry point classes
+Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/User.gwt.xml
+Loading inherited module 'com.google.gwt.canvas.Canvas'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/canvas/Canvas.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.canvas.dom.DOM'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/canvas/dom/DOM.gwt.xml
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/dom/DOM.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/Core.gwt.xml
+ Loading inherited module 'com.google.gwt.dev.jjs.intrinsic.Intrinsic'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-dev.jar!/com/google/gwt/dev/jjs/intrinsic/Intrinsic.gwt.xml
+ Loading inherited module 'com.google.gwt.lang.LongLib'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-dev.jar!/com/google/gwt/lang/LongLib.gwt.xml
+ Loading inherited module 'com.google.gwt.emul.Emulation'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/emul/Emulation.gwt.xml
+ Loading inherited module 'com.google.gwt.logging.LogImpl'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/logging/LogImpl.gwt.xml
+ Loading inherited module 'com.google.gwt.xhr.XMLHttpRequest'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/xhr/XMLHttpRequest.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.core.CompilerParameters'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/CompilerParameters.gwt.xml
+ Loading inherited module 'com.google.gwt.core.EmulateJsStack'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/EmulateJsStack.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.core.AsyncFragmentLoader'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/AsyncFragmentLoader.gwt.xml
+ Loading inherited module 'com.google.gwt.core.XSLinker'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/XSLinker.gwt.xml
+ Loading inherited module 'com.google.gwt.core.CrossSiteIframeLinker'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/CrossSiteIframeLinker.gwt.xml
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/UserAgent.gwt.xml
+ Loading inherited module 'com.google.gwt.emul.EmulationWithUserAgent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/emul/EmulationWithUserAgent.gwt.xml
+ Loading inherited module 'com.google.gwt.emul.Emulation'
+ Module 'com.google.gwt.emul.Emulation' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.core.CoreWithUserAgent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/CoreWithUserAgent.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.text.Text'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/text/Text.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.event.Event'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/Event.gwt.xml
+ Loading inherited module 'com.google.gwt.event.EventBase'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/EventBase.gwt.xml
+ Loading inherited module 'com.google.web.bindery.event.Event'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/web/bindery/event/Event.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.event.dom.DomEvent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/dom/DomEvent.gwt.xml
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module 'com.google.gwt.dom.DOM' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.event.EventBase'
+ Module 'com.google.gwt.event.EventBase' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.event.dom.TouchEvent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/dom/TouchEvent.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.event.logical.LogicalEvent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/logical/LogicalEvent.gwt.xml
+ Loading inherited module 'com.google.gwt.event.EventBase'
+ Module 'com.google.gwt.event.EventBase' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.animation.Animation'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/animation/Animation.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.editor.Editor'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/editor/Editor.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'javax.validation.Validation'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/javax/validation/Validation.gwt.xml
+Loading inherited module 'com.google.gwt.resources.Resources'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/resources/Resources.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module 'com.google.gwt.dom.DOM' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.http.HTTP'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/http/HTTP.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.xhr.XMLHttpRequest'
+ Module 'com.google.gwt.xhr.XMLHttpRequest' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.jsonp.Jsonp'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/jsonp/Jsonp.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.layout.Layout'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/layout/Layout.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module 'com.google.gwt.dom.DOM' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.animation.Animation'
+ Module 'com.google.gwt.animation.Animation' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.media.Media'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/media/Media.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.media.dom.DOM'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/media/dom/DOM.gwt.xml
+Loading inherited module 'com.google.gwt.touch.Touch'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/touch/Touch.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.uibinder.UiBinder'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/uibinder/UiBinder.gwt.xml
+ Loading inherited module 'com.google.gwt.resources.Resources'
+ Module 'com.google.gwt.resources.Resources' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.AsyncProxy'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/AsyncProxy.gwt.xml
+Loading inherited module 'com.google.gwt.user.RemoteService'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/RemoteService.gwt.xml
+ Loading inherited module 'com.google.gwt.http.HTTP'
+ Module 'com.google.gwt.http.HTTP' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.DocumentRoot'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/DocumentRoot.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.DOM'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/DOM.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module 'com.google.gwt.dom.DOM' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Window'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Window.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.HTTPRequest'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/HTTPRequest.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.xhr.XMLHttpRequest'
+ Module 'com.google.gwt.xhr.XMLHttpRequest' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.History'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/History.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.i18n.I18N'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/i18n/I18N.gwt.xml
+ Loading inherited module 'com.google.gwt.regexp.RegExp'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/regexp/RegExp.gwt.xml
+ Loading inherited module 'com.google.gwt.safehtml.SafeHtml'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/safehtml/SafeHtml.gwt.xml
+ Loading inherited module 'com.google.gwt.regexp.RegExp'
+ Module 'com.google.gwt.regexp.RegExp' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Popup'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Popup.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Form'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Form.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.TextBox'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/TextBox.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Focus'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Focus.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.ImageBundle'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/ImageBundle.gwt.xml
+ Loading inherited module 'com.google.gwt.user.ClippedImage'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/ClippedImage.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.ClippedImage'
+ Module 'com.google.gwt.user.ClippedImage' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.RichText'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/RichText.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.SplitPanel'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/SplitPanel.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.CaptionPanel'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/CaptionPanel.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Window'
+ Module 'com.google.gwt.user.Window' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Tree'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Tree.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Hyperlink'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Hyperlink.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.FileUpload'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/FileUpload.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.ResizeLayoutPanel'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/ResizeLayoutPanel.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.ScrollPanel'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/ScrollPanel.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.datepicker.DatePicker'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/datepicker/DatePicker.gwt.xml
+Loading inherited module 'com.google.gwt.user.cellview.CellView'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/cellview/CellView.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.cell.Cell'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/cell/Cell.gwt.xml
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module 'com.google.gwt.dom.DOM' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.safehtml.SafeHtml'
+ Module 'com.google.gwt.safehtml.SafeHtml' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.text.Text'
+ Module 'com.google.gwt.text.Text' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.editor.Editor'
+ Module 'com.google.gwt.editor.Editor' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.view.View'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/view/View.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.safecss.SafeCss'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/safecss/SafeCss.gwt.xml
+Loading inherited module 'com.google.gwt.safehtml.SafeHtml'
+ Module 'com.google.gwt.safehtml.SafeHtml' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.storage.Storage'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/storage/Storage.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Public resources found in...
+ [WARN] Error processing classpath URL 'file:/C:/Program Files/eclipse/plugins/com.google.gdt.eclipse.designer.hosted.2_2_2.3.2.r36x201106161421/gwt-dev-designtime.jar'
+java.net.URISyntaxException: Illegal character in path at index 16: file:/C:/Program Files/eclipse/plugins/com.google.gdt.eclipse.designer.hosted.2_2_2.3.2.r36x201106161421/gwt-dev-designtime.jar
+ at java.net.URI$Parser.fail(Unknown Source)
+ at java.net.URI$Parser.checkChars(Unknown Source)
+ at java.net.URI$Parser.parseHierarchical(Unknown Source)
+ at java.net.URI$Parser.parse(Unknown Source)
+ at java.net.URI.<init>(Unknown Source)
+ at java.net.URL.toURI(Unknown Source)
+ at com.google.gwt.dev.resource.impl.ResourceOracleImpl.addAllClassPathEntries(ResourceOracleImpl.java:314)
+ at com.google.gwt.dev.resource.impl.ResourceOracleImpl.getAllClassPathEntries(ResourceOracleImpl.java:352)
+ at com.google.gwt.dev.resource.impl.ResourceOracleImpl.<init>(ResourceOracleImpl.java:392)
+ at com.google.gwt.dev.resource.impl.ResourceOracleImpl.<init>(ResourceOracleImpl.java:382)
+ at com.google.gwt.dev.cfg.ModuleDef.normalize(ModuleDef.java:484)
+ at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:315)
+ at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:151)
+ at com.google.gwt.dev.shell.designtime.HostedModeSupportImpl.loadModule(HostedModeSupportImpl.java:85)
+ at com.google.gwt.dev.shell.designtime.HostedModeSupportImpl.createModuleSpaceHost(HostedModeSupportImpl.java:64)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+ at java.lang.reflect.Method.invoke(Unknown Source)
+ at org.eclipse.wb.internal.core.utils.reflect.ReflectionUtils.invokeMethod(ReflectionUtils.java:836)
+ at com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupport.createModuleSpaceHost(HostedModeSupport.java:336)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+ at java.lang.reflect.Method.invoke(Unknown Source)
+ at org.eclipse.wb.internal.core.utils.reflect.ReflectionUtils.invokeMethod(ReflectionUtils.java:836)
+ at com.google.gdt.eclipse.designer.WarmUpSupport.warmUpHostedMode(WarmUpSupport.java:111)
+ at com.google.gdt.eclipse.designer.WarmUpSupport.warmUpHostedMode(WarmUpSupport.java:89)
+ at com.google.gdt.eclipse.designer.WarmUpSupport.doWarmUp(WarmUpSupport.java:70)
+ at com.google.gdt.eclipse.designer.Activator.earlyStartup(Activator.java:176)
+ at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
+ at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:73)
+ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
+ at org.eclipse.ui.internal.Workbench$59.run(Workbench.java:2409)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+Translatable source found in...
+Removing invalidated units
+Finding entry point classes
+Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/User.gwt.xml
+Loading inherited module 'com.google.gwt.canvas.Canvas'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/canvas/Canvas.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.canvas.dom.DOM'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/canvas/dom/DOM.gwt.xml
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/dom/DOM.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/Core.gwt.xml
+ Loading inherited module 'com.google.gwt.dev.jjs.intrinsic.Intrinsic'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-dev.jar!/com/google/gwt/dev/jjs/intrinsic/Intrinsic.gwt.xml
+ Loading inherited module 'com.google.gwt.lang.LongLib'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-dev.jar!/com/google/gwt/lang/LongLib.gwt.xml
+ Loading inherited module 'com.google.gwt.emul.Emulation'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/emul/Emulation.gwt.xml
+ Loading inherited module 'com.google.gwt.logging.LogImpl'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/logging/LogImpl.gwt.xml
+ Loading inherited module 'com.google.gwt.xhr.XMLHttpRequest'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/xhr/XMLHttpRequest.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.core.CompilerParameters'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/CompilerParameters.gwt.xml
+ Loading inherited module 'com.google.gwt.core.EmulateJsStack'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/EmulateJsStack.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.core.AsyncFragmentLoader'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/AsyncFragmentLoader.gwt.xml
+ Loading inherited module 'com.google.gwt.core.XSLinker'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/XSLinker.gwt.xml
+ Loading inherited module 'com.google.gwt.core.CrossSiteIframeLinker'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/CrossSiteIframeLinker.gwt.xml
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/UserAgent.gwt.xml
+ Loading inherited module 'com.google.gwt.emul.EmulationWithUserAgent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/emul/EmulationWithUserAgent.gwt.xml
+ Loading inherited module 'com.google.gwt.emul.Emulation'
+ Module 'com.google.gwt.emul.Emulation' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.core.CoreWithUserAgent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/CoreWithUserAgent.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.text.Text'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/text/Text.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.event.Event'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/Event.gwt.xml
+ Loading inherited module 'com.google.gwt.event.EventBase'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/EventBase.gwt.xml
+ Loading inherited module 'com.google.web.bindery.event.Event'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/web/bindery/event/Event.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.event.dom.DomEvent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/dom/DomEvent.gwt.xml
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module 'com.google.gwt.dom.DOM' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.event.EventBase'
+ Module 'com.google.gwt.event.EventBase' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.event.dom.TouchEvent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/dom/TouchEvent.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.event.logical.LogicalEvent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/logical/LogicalEvent.gwt.xml
+ Loading inherited module 'com.google.gwt.event.EventBase'
+ Module 'com.google.gwt.event.EventBase' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.animation.Animation'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/animation/Animation.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.editor.Editor'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/editor/Editor.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'javax.validation.Validation'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/javax/validation/Validation.gwt.xml
+Loading inherited module 'com.google.gwt.resources.Resources'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/resources/Resources.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module 'com.google.gwt.dom.DOM' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.http.HTTP'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/http/HTTP.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.xhr.XMLHttpRequest'
+ Module 'com.google.gwt.xhr.XMLHttpRequest' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.jsonp.Jsonp'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/jsonp/Jsonp.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.layout.Layout'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/layout/Layout.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module 'com.google.gwt.dom.DOM' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.animation.Animation'
+ Module 'com.google.gwt.animation.Animation' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.media.Media'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/media/Media.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.media.dom.DOM'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/media/dom/DOM.gwt.xml
+Loading inherited module 'com.google.gwt.touch.Touch'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/touch/Touch.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.uibinder.UiBinder'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/uibinder/UiBinder.gwt.xml
+ Loading inherited module 'com.google.gwt.resources.Resources'
+ Module 'com.google.gwt.resources.Resources' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.AsyncProxy'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/AsyncProxy.gwt.xml
+Loading inherited module 'com.google.gwt.user.RemoteService'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/RemoteService.gwt.xml
+ Loading inherited module 'com.google.gwt.http.HTTP'
+ Module 'com.google.gwt.http.HTTP' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.DocumentRoot'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/DocumentRoot.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.DOM'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/DOM.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module 'com.google.gwt.dom.DOM' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Window'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Window.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.HTTPRequest'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/HTTPRequest.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.xhr.XMLHttpRequest'
+ Module 'com.google.gwt.xhr.XMLHttpRequest' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.History'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/History.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.i18n.I18N'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/i18n/I18N.gwt.xml
+ Loading inherited module 'com.google.gwt.regexp.RegExp'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/regexp/RegExp.gwt.xml
+ Loading inherited module 'com.google.gwt.safehtml.SafeHtml'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/safehtml/SafeHtml.gwt.xml
+ Loading inherited module 'com.google.gwt.regexp.RegExp'
+ Module 'com.google.gwt.regexp.RegExp' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Popup'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Popup.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Form'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Form.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.TextBox'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/TextBox.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Focus'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Focus.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.ImageBundle'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/ImageBundle.gwt.xml
+ Loading inherited module 'com.google.gwt.user.ClippedImage'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/ClippedImage.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.ClippedImage'
+ Module 'com.google.gwt.user.ClippedImage' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.RichText'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/RichText.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.SplitPanel'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/SplitPanel.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.CaptionPanel'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/CaptionPanel.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Window'
+ Module 'com.google.gwt.user.Window' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Tree'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Tree.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Hyperlink'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Hyperlink.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.FileUpload'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/FileUpload.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.ResizeLayoutPanel'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/ResizeLayoutPanel.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.ScrollPanel'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/ScrollPanel.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.datepicker.DatePicker'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/datepicker/DatePicker.gwt.xml
+Loading inherited module 'com.google.gwt.user.cellview.CellView'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/cellview/CellView.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.cell.Cell'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/cell/Cell.gwt.xml
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module 'com.google.gwt.dom.DOM' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.safehtml.SafeHtml'
+ Module 'com.google.gwt.safehtml.SafeHtml' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.text.Text'
+ Module 'com.google.gwt.text.Text' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.editor.Editor'
+ Module 'com.google.gwt.editor.Editor' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.view.View'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/view/View.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.safecss.SafeCss'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/safecss/SafeCss.gwt.xml
+Loading inherited module 'com.google.gwt.safehtml.SafeHtml'
+ Module 'com.google.gwt.safehtml.SafeHtml' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.storage.Storage'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/storage/Storage.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Public resources found in...
+ [WARN] Error processing classpath URL 'file:/C:/Program Files/eclipse/plugins/com.google.gdt.eclipse.designer.hosted.2_2_2.3.2.r36x201106161421/gwt-dev-designtime.jar'
+java.net.URISyntaxException: Illegal character in path at index 16: file:/C:/Program Files/eclipse/plugins/com.google.gdt.eclipse.designer.hosted.2_2_2.3.2.r36x201106161421/gwt-dev-designtime.jar
+ at java.net.URI$Parser.fail(Unknown Source)
+ at java.net.URI$Parser.checkChars(Unknown Source)
+ at java.net.URI$Parser.parseHierarchical(Unknown Source)
+ at java.net.URI$Parser.parse(Unknown Source)
+ at java.net.URI.<init>(Unknown Source)
+ at java.net.URL.toURI(Unknown Source)
+ at com.google.gwt.dev.resource.impl.ResourceOracleImpl.addAllClassPathEntries(ResourceOracleImpl.java:314)
+ at com.google.gwt.dev.resource.impl.ResourceOracleImpl.getAllClassPathEntries(ResourceOracleImpl.java:352)
+ at com.google.gwt.dev.resource.impl.ResourceOracleImpl.<init>(ResourceOracleImpl.java:392)
+ at com.google.gwt.dev.resource.impl.ResourceOracleImpl.<init>(ResourceOracleImpl.java:382)
+ at com.google.gwt.dev.cfg.ModuleDef.normalize(ModuleDef.java:484)
+ at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:315)
+ at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:151)
+ at com.google.gwt.dev.shell.designtime.HostedModeSupportImpl.loadModule(HostedModeSupportImpl.java:85)
+ at com.google.gwt.dev.shell.designtime.HostedModeSupportImpl.createModuleSpaceHost(HostedModeSupportImpl.java:64)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+ at java.lang.reflect.Method.invoke(Unknown Source)
+ at org.eclipse.wb.internal.core.utils.reflect.ReflectionUtils.invokeMethod(ReflectionUtils.java:836)
+ at com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupport.createModuleSpaceHost(HostedModeSupport.java:336)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+ at java.lang.reflect.Method.invoke(Unknown Source)
+ at org.eclipse.wb.internal.core.utils.reflect.ReflectionUtils.invokeMethod(ReflectionUtils.java:836)
+ at com.google.gdt.eclipse.designer.WarmUpSupport.warmUpHostedMode(WarmUpSupport.java:111)
+ at com.google.gdt.eclipse.designer.WarmUpSupport.warmUpHostedMode(WarmUpSupport.java:90)
+ at com.google.gdt.eclipse.designer.WarmUpSupport.doWarmUp(WarmUpSupport.java:70)
+ at com.google.gdt.eclipse.designer.Activator.earlyStartup(Activator.java:176)
+ at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
+ at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:73)
+ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
+ at org.eclipse.ui.internal.Workbench$59.run(Workbench.java:2409)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+Translatable source found in...
+Removing invalidated units
+Finding entry point classes
+Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/User.gwt.xml
+Loading inherited module 'com.google.gwt.canvas.Canvas'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/canvas/Canvas.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.canvas.dom.DOM'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/canvas/dom/DOM.gwt.xml
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/dom/DOM.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/Core.gwt.xml
+ Loading inherited module 'com.google.gwt.dev.jjs.intrinsic.Intrinsic'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-dev.jar!/com/google/gwt/dev/jjs/intrinsic/Intrinsic.gwt.xml
+ Loading inherited module 'com.google.gwt.lang.LongLib'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-dev.jar!/com/google/gwt/lang/LongLib.gwt.xml
+ Loading inherited module 'com.google.gwt.emul.Emulation'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/emul/Emulation.gwt.xml
+ Loading inherited module 'com.google.gwt.logging.LogImpl'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/logging/LogImpl.gwt.xml
+ Loading inherited module 'com.google.gwt.xhr.XMLHttpRequest'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/xhr/XMLHttpRequest.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.core.CompilerParameters'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/CompilerParameters.gwt.xml
+ Loading inherited module 'com.google.gwt.core.EmulateJsStack'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/EmulateJsStack.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.core.AsyncFragmentLoader'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/AsyncFragmentLoader.gwt.xml
+ Loading inherited module 'com.google.gwt.core.XSLinker'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/XSLinker.gwt.xml
+ Loading inherited module 'com.google.gwt.core.CrossSiteIframeLinker'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/CrossSiteIframeLinker.gwt.xml
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/UserAgent.gwt.xml
+ Loading inherited module 'com.google.gwt.emul.EmulationWithUserAgent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/emul/EmulationWithUserAgent.gwt.xml
+ Loading inherited module 'com.google.gwt.emul.Emulation'
+ Module 'com.google.gwt.emul.Emulation' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.core.CoreWithUserAgent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/core/CoreWithUserAgent.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.text.Text'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/text/Text.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.event.Event'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/Event.gwt.xml
+ Loading inherited module 'com.google.gwt.event.EventBase'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/EventBase.gwt.xml
+ Loading inherited module 'com.google.web.bindery.event.Event'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/web/bindery/event/Event.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.event.dom.DomEvent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/dom/DomEvent.gwt.xml
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module 'com.google.gwt.dom.DOM' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.event.EventBase'
+ Module 'com.google.gwt.event.EventBase' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.event.dom.TouchEvent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/dom/TouchEvent.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.event.logical.LogicalEvent'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/logical/LogicalEvent.gwt.xml
+ Loading inherited module 'com.google.gwt.event.EventBase'
+ Module 'com.google.gwt.event.EventBase' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.animation.Animation'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/animation/Animation.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.editor.Editor'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/editor/Editor.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'javax.validation.Validation'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/javax/validation/Validation.gwt.xml
+Loading inherited module 'com.google.gwt.resources.Resources'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/resources/Resources.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module 'com.google.gwt.dom.DOM' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.http.HTTP'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/http/HTTP.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.xhr.XMLHttpRequest'
+ Module 'com.google.gwt.xhr.XMLHttpRequest' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.jsonp.Jsonp'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/jsonp/Jsonp.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.layout.Layout'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/layout/Layout.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module 'com.google.gwt.dom.DOM' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.animation.Animation'
+ Module 'com.google.gwt.animation.Animation' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.media.Media'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/media/Media.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.media.dom.DOM'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/media/dom/DOM.gwt.xml
+Loading inherited module 'com.google.gwt.touch.Touch'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/touch/Touch.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.uibinder.UiBinder'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/uibinder/UiBinder.gwt.xml
+ Loading inherited module 'com.google.gwt.resources.Resources'
+ Module 'com.google.gwt.resources.Resources' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.AsyncProxy'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/AsyncProxy.gwt.xml
+Loading inherited module 'com.google.gwt.user.RemoteService'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/RemoteService.gwt.xml
+ Loading inherited module 'com.google.gwt.http.HTTP'
+ Module 'com.google.gwt.http.HTTP' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.DocumentRoot'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/DocumentRoot.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.DOM'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/DOM.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module 'com.google.gwt.dom.DOM' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Window'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Window.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.HTTPRequest'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/HTTPRequest.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.xhr.XMLHttpRequest'
+ Module 'com.google.gwt.xhr.XMLHttpRequest' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.History'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/History.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.i18n.I18N'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/i18n/I18N.gwt.xml
+ Loading inherited module 'com.google.gwt.regexp.RegExp'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/regexp/RegExp.gwt.xml
+ Loading inherited module 'com.google.gwt.safehtml.SafeHtml'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/safehtml/SafeHtml.gwt.xml
+ Loading inherited module 'com.google.gwt.regexp.RegExp'
+ Module 'com.google.gwt.regexp.RegExp' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Popup'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Popup.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Form'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Form.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.TextBox'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/TextBox.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Focus'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Focus.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.ImageBundle'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/ImageBundle.gwt.xml
+ Loading inherited module 'com.google.gwt.user.ClippedImage'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/ClippedImage.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.ClippedImage'
+ Module 'com.google.gwt.user.ClippedImage' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.RichText'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/RichText.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.SplitPanel'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/SplitPanel.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.CaptionPanel'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/CaptionPanel.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Window'
+ Module 'com.google.gwt.user.Window' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Tree'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Tree.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.Hyperlink'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/Hyperlink.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.FileUpload'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/FileUpload.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.ResizeLayoutPanel'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/ResizeLayoutPanel.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.ScrollPanel'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/ScrollPanel.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.user.datepicker.DatePicker'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/datepicker/DatePicker.gwt.xml
+Loading inherited module 'com.google.gwt.user.cellview.CellView'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/cellview/CellView.gwt.xml
+ Loading inherited module 'com.google.gwt.user.User'
+ Module 'com.google.gwt.user.User' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.cell.Cell'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/cell/Cell.gwt.xml
+ Loading inherited module 'com.google.gwt.dom.DOM'
+ Module 'com.google.gwt.dom.DOM' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.safehtml.SafeHtml'
+ Module 'com.google.gwt.safehtml.SafeHtml' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.text.Text'
+ Module 'com.google.gwt.text.Text' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.editor.Editor'
+ Module 'com.google.gwt.editor.Editor' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.view.View'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/view/View.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.safecss.SafeCss'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/safecss/SafeCss.gwt.xml
+Loading inherited module 'com.google.gwt.safehtml.SafeHtml'
+ Module 'com.google.gwt.safehtml.SafeHtml' has already been loaded and will be skipped
+Loading inherited module 'com.google.gwt.storage.Storage'
+ Module location: jar:file:/C:/Program%20Files/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/gwt-user.jar!/com/google/gwt/storage/Storage.gwt.xml
+ Loading inherited module 'com.google.gwt.core.Core'
+ Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
+ Loading inherited module 'com.google.gwt.user.UserAgent'
+ Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
+Public resources found in...
+ [WARN] Error processing classpath URL 'file:/C:/Program Files/eclipse/plugins/com.google.gdt.eclipse.designer.hosted.2_2_2.3.2.r36x201106161421/gwt-dev-designtime.jar'
+java.net.URISyntaxException: Illegal character in path at index 16: file:/C:/Program Files/eclipse/plugins/com.google.gdt.eclipse.designer.hosted.2_2_2.3.2.r36x201106161421/gwt-dev-designtime.jar
+ at java.net.URI$Parser.fail(Unknown Source)
+ at java.net.URI$Parser.checkChars(Unknown Source)
+ at java.net.URI$Parser.parseHierarchical(Unknown Source)
+ at java.net.URI$Parser.parse(Unknown Source)
+ at java.net.URI.<init>(Unknown Source)
+ at java.net.URL.toURI(Unknown Source)
+ at com.google.gwt.dev.resource.impl.ResourceOracleImpl.addAllClassPathEntries(ResourceOracleImpl.java:314)
+ at com.google.gwt.dev.resource.impl.ResourceOracleImpl.getAllClassPathEntries(ResourceOracleImpl.java:352)
+ at com.google.gwt.dev.resource.impl.ResourceOracleImpl.<init>(ResourceOracleImpl.java:392)
+ at com.google.gwt.dev.resource.impl.ResourceOracleImpl.<init>(ResourceOracleImpl.java:382)
+ at com.google.gwt.dev.cfg.ModuleDef.normalize(ModuleDef.java:484)
+ at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:315)
+ at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:151)
+ at com.google.gwt.dev.shell.designtime.HostedModeSupportImpl.loadModule(HostedModeSupportImpl.java:85)
+ at com.google.gwt.dev.shell.designtime.HostedModeSupportImpl.createModuleSpaceHost(HostedModeSupportImpl.java:64)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+ at java.lang.reflect.Method.invoke(Unknown Source)
+ at org.eclipse.wb.internal.core.utils.reflect.ReflectionUtils.invokeMethod(ReflectionUtils.java:836)
+ at com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupport.createModuleSpaceHost(HostedModeSupport.java:336)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+ at java.lang.reflect.Method.invoke(Unknown Source)
+ at org.eclipse.wb.internal.core.utils.reflect.ReflectionUtils.invokeMethod(ReflectionUtils.java:836)
+ at com.google.gdt.eclipse.designer.WarmUpSupport.warmUpHostedMode(WarmUpSupport.java:111)
+ at com.google.gdt.eclipse.designer.WarmUpSupport.warmUpHostedMode(WarmUpSupport.java:91)
+ at com.google.gdt.eclipse.designer.WarmUpSupport.doWarmUp(WarmUpSupport.java:70)
+ at com.google.gdt.eclipse.designer.Activator.earlyStartup(Activator.java:176)
+ at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
+ at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:73)
+ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
+ at org.eclipse.ui.internal.Workbench$59.run(Workbench.java:2409)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+Translatable source found in...
+Removing invalidated units
+Finding entry point classes
Modified: branches/gdl-frontend/src/anaToMia/GDL_TmEngine/src/us/isidor/gdl/anaToMia/TmEngine/jtmsBasedEngine/JtmsTmEngine.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_TmEngine/src/us/isidor/gdl/anaToMia/TmEngine/jtmsBasedEngine/JtmsTmEngine.java Tue Jul 5 09:41:31 2011 (r560)
+++ branches/gdl-frontend/src/anaToMia/GDL_TmEngine/src/us/isidor/gdl/anaToMia/TmEngine/jtmsBasedEngine/JtmsTmEngine.java Tue Jul 5 12:20:05 2011 (r561)
@@ -8,8 +8,6 @@
import com.google.gwt.json.client.JSONParser;
import com.google.gwt.json.client.JSONString;
import com.google.gwt.json.client.JSONValue;
-import com.google.gwt.user.client.Window;
-
import us.isidor.gdl.anaToMia.TopicMaps.TmEngineModel.ExporterException;
import us.isidor.gdl.anaToMia.TopicMaps.TmEngineModel.FormatException;
import us.isidor.gdl.anaToMia.TopicMaps.TmEngineModel.MissingReference;
1
0

[isidorus-cvs] r560 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base environment text values
by lgiessmann@common-lisp.net 05 Jul '11
by lgiessmann@common-lisp.net 05 Jul '11
05 Jul '11
Author: lgiessmann
Date: Tue Jul 5 09:41:31 2011
New Revision: 560
Log:
gdl-frontend: Widgets: added diverse methods to GdlText
Added:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/MultipleHandlerRegistration.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/ResizeValue.java
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/IGdlHasValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Mon Jul 4 23:59:48 2011 (r559)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Tue Jul 5 09:41:31 2011 (r560)
@@ -1087,7 +1087,7 @@
}else if(value.equals("SCROLL")){
return Overflow.SCROLL;
}else {
- throw new InvalidGdlSchemaException("cursor must be set to one of visible, hidden or scroll, but is " + overflowOcc.getValue());
+ throw new InvalidGdlSchemaException("overflow must be set to one of visible, hidden or scroll, but is " + overflowOcc.getValue());
}
}
}
@@ -1516,6 +1516,9 @@
private ArrayList<Pair<String, String>> cssNameAndValues = new ArrayList<Pair<String,String>>();
private ArrayList<Pair<String, String>> cssPreviousNameAndValues = new ArrayList<Pair<String,String>>();
+
+ public CssStyleHandler() {}
+
// adds a CSS name value pair
public void addCssStyle(Pair<String, String> cssNameAndValue) {
@@ -1550,7 +1553,11 @@
// this class is used to set the style of focused elements
protected class FocusStyleHandler extends CssStyleHandler implements FocusHandler, BlurHandler{
-
+ public FocusStyleHandler() {
+ super();
+ }
+
+
@Override
public void onFocus(FocusEvent event) {
super.setStyles();
@@ -1566,12 +1573,17 @@
// this class is used to set the style of hovered elements
protected class HoverStyleHandler extends CssStyleHandler implements MouseOverHandler, MouseOutHandler {
-
+ public HoverStyleHandler() {
+ super();
+ }
+
+
@Override
public void onMouseOut(MouseOutEvent event) {
super.unsetStyles();
}
+
@Override
public void onMouseOver(MouseOverEvent event) {
super.setStyles();
@@ -1581,6 +1593,9 @@
// this class is used to set the style of active elements
protected class ActiveStyleHandler extends CssStyleHandler implements MouseDownHandler, MouseUpHandler {
+ public ActiveStyleHandler() {
+ super();
+ }
@Override
@@ -1588,6 +1603,7 @@
super.unsetStyles();
}
+
@Override
public void onMouseDown(MouseDownEvent event) {
super.setStyles();
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/IGdlHasValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/IGdlHasValue.java Mon Jul 4 23:59:48 2011 (r559)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/IGdlHasValue.java Tue Jul 5 09:41:31 2011 (r560)
@@ -1,11 +1,14 @@
package us.isidor.gdl.anaToMia.Widgets.base;
+import java.util.ArrayList;
+
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMapsTypes;
+import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
public interface IGdlHasValue {
- public String getStringValue();
- public Construct getTmValue();
- public TopicMapsTypes getTmType(); // null if it is a String value
+ public ArrayList<String> getStringValue();
+ public ArrayList<Pair<TopicMapsTypes, Object>> getTmValue(); // TopicMapsTypes is null if the acual value is a string
+ public boolean validate();
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Mon Jul 4 23:59:48 2011 (r559)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Tue Jul 5 09:41:31 2011 (r560)
@@ -4,6 +4,7 @@
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.Widgets.isidorus.LoadSchemaCallback;
+import us.isidor.gdl.anaToMia.Widgets.text.GdlText;
import us.isidor.gdl.anaToMia.Widgets.text.GdlTextObject;
import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
import com.google.gwt.core.client.EntryPoint;
@@ -76,6 +77,9 @@
Topic gdlHover = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.Scope.gdlHover));
Topic gdlActive = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.Scope.gdlActive));
Topic gdlFocus = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.Scope.gdlFocus));
+ Topic gdlReadonly = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlReadonly));
+ Topic gdlResize = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlResize));
+ Topic gdlOverflow = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlOverflow));
tmpRepresentative.createOccurrence(gdlBackgroundColor, "red", null);
@@ -94,19 +98,22 @@
tmpRepresentative.createOccurrence(gdlBorderBottomColor, "rgb(100%, 100%, 0%)", null);
tmpRepresentative.createOccurrence(gdlBorderStyle, "dashed", null);
tmpRepresentative.createOccurrence(gdlBorderWidth, "5px", null);
- Occurrence bgcHover = tmpRepresentative.createOccurrence(gdlBackgroundColor, "green", null);
- bgcHover.addTheme(gdlHover);
- Occurrence bgcActive = tmpRepresentative.createOccurrence(gdlBackgroundColor, "purple", null);
- bgcActive.addTheme(gdlActive);
- Occurrence bgcFocus = tmpRepresentative.createOccurrence(gdlBackgroundColor, "silver", null);
- bgcFocus.addTheme(gdlFocus);
+ tmpRepresentative.createOccurrence(gdlReadonly, "false", null);
+ tmpRepresentative.createOccurrence(gdlResize, "both", null);
+ tmpRepresentative.createOccurrence(gdlOverflow, "hidden", null);
tmpRepresentative.createOccurrence(gdlFontSize, "15pt", null);
- Occurrence fsHover = tmpRepresentative.createOccurrence(gdlFontSize, "25pt", null);
- fsHover.addTheme(gdlHover);
+ //Occurrence bgcHover = tmpRepresentative.createOccurrence(gdlBackgroundColor, "green", null);
+ //bgcHover.addTheme(gdlHover);
+ //Occurrence bgcActive = tmpRepresentative.createOccurrence(gdlBackgroundColor, "purple", null);
+ //bgcActive.addTheme(gdlActive);
+ //Occurrence bgcFocus = tmpRepresentative.createOccurrence(gdlBackgroundColor, "silver", null);
+ //bgcFocus.addTheme(gdlFocus);
+ //Occurrence fsHover = tmpRepresentative.createOccurrence(gdlFontSize, "25pt", null);
+ //fsHover.addTheme(gdlHover);
- GdlTextObject tmp = new GdlTextObject(tmpRepresentative){};
+ GdlText tmp = new GdlText(tmpRepresentative){};
this.mainPanel.add(tmp);
}catch(Exception e){
e.printStackTrace();
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/MultipleHandlerRegistration.java
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/MultipleHandlerRegistration.java Tue Jul 5 09:41:31 2011 (r560)
@@ -0,0 +1,23 @@
+package us.isidor.gdl.anaToMia.Widgets.environment;
+
+import java.util.ArrayList;
+
+import com.google.gwt.event.shared.HandlerRegistration;
+
+public class MultipleHandlerRegistration implements HandlerRegistration {
+ private ArrayList<HandlerRegistration> registrations = new ArrayList<HandlerRegistration>();
+
+
+ @Override
+ public void removeHandler() {
+ for (HandlerRegistration reg : this.registrations) {
+ reg.removeHandler();
+ }
+ }
+
+
+ public void addHandlerRegistration(HandlerRegistration registration){
+ this.registrations.add(registration);
+ }
+
+}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Mon Jul 4 23:59:48 2011 (r559)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Tue Jul 5 09:41:31 2011 (r560)
@@ -1,31 +1,118 @@
package us.isidor.gdl.anaToMia.Widgets.text;
-import com.google.gwt.dom.client.Style.Display;
+import java.util.ArrayList;
+import com.google.gwt.dom.client.Style.FontStyle;
+import com.google.gwt.event.dom.client.BlurHandler;
+import com.google.gwt.event.dom.client.FocusHandler;
+import com.google.gwt.event.dom.client.KeyPressEvent;
+import com.google.gwt.event.dom.client.KeyPressHandler;
+import com.google.gwt.event.dom.client.MouseDownHandler;
+import com.google.gwt.event.dom.client.MouseOutHandler;
+import com.google.gwt.event.dom.client.MouseOverHandler;
+import com.google.gwt.event.dom.client.MouseUpHandler;
+import com.google.gwt.event.shared.HandlerRegistration;
+import com.google.gwt.user.client.DOM;
+import com.google.gwt.user.client.Window;
+import com.google.gwt.user.client.ui.TextArea;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMapsTypes;
import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
+import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
import us.isidor.gdl.anaToMia.Widgets.base.IGdlHasValue;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+import us.isidor.gdl.anaToMia.Widgets.environment.MultipleHandlerRegistration;
+import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
+import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
+import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.values.AutoNumValue;
+import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
+import us.isidor.gdl.anaToMia.Widgets.values.DirectionValue;
+import us.isidor.gdl.anaToMia.Widgets.values.FontWeightValue;
+import us.isidor.gdl.anaToMia.Widgets.values.NormalNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.values.PositiveNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.values.ResizeValue;
+import us.isidor.gdl.anaToMia.Widgets.values.TextAlignValue;
+import us.isidor.gdl.anaToMia.Widgets.values.TextDecorationValue;
import us.isidor.gdl.anaToMia.Widgets.values.TextTypeValue;
-public class GdlText extends GdlTextObject implements IGdlHasValue{
+
+public class GdlText extends GdlTextObject implements IGdlHasValue{
+ protected ArrayList<TextArea> textElements = new ArrayList<TextArea>();
+ protected ArrayList<PasswordKeyPressHandler> passwordKeyPressHandler = null;
+ protected ArrayList<HandlerRegistration> passwordKeyPressRegistrations = null;
+ protected ArrayList<Pair<TextArea, ActiveStyleHandler>> activeStyleHandler = new ArrayList<Pair<TextArea,ActiveStyleHandler>>();
+ protected ArrayList<Pair<TextArea, FocusStyleHandler>> focusStyleHandler = new ArrayList<Pair<TextArea,FocusStyleHandler>>();
+ protected ArrayList<Pair<TextArea, HoverStyleHandler>> hoverStyleHandler = new ArrayList<Pair<TextArea,HoverStyleHandler>>();
+
+
+ // TODO: check ActiveHandler, FocusHandler and HoverHandler for bugs ==> click event!
+
// some constructors
- protected GdlText(){
+ protected GdlText() throws InvalidGdlSchemaException, ExecutionException {
super();
}
public GdlText(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
- super(tmRepresentative);
+ this();
+ this.tmRepresentative = tmRepresentative;
+ this.tm = this.tmRepresentative.getTopicMap();
+ super.setId(this.getId());
+ // TODO: create a text element for each TM-elem
+ this.createNewTextArea();
}
+ // creates a new TextArea item, adds it to the textElements array,
+ // and applies the styles on it
+ protected TextArea createNewTextArea() throws InvalidGdlSchemaException, ExecutionException {
+ TextArea elem = new TextArea();
+ this.textElements.add(elem);
+ DOM.setElementAttribute(elem.getElement(), "id", this.getId() + "__GDL_" + this.textElements.size());
+ super.mainPanel.add(elem);
+ this.setContentGdlStyle(elem);
+
+ // TODO: reset the text area size on each text element
+ return elem;
+ }
+
+
+ // removes the passed element and all its handlers from the outer element
+ protected void removeTextArea(TextArea elem){
+ for (Pair<TextArea, ActiveStyleHandler> item : this.activeStyleHandler) {
+ if(item.getFirst().equals(elem)){
+ this.activeStyleHandler.remove(item);
+ break;
+ }
+ }
+ for (Pair<TextArea, FocusStyleHandler> item : this.focusStyleHandler) {
+ if(item.getFirst().equals(elem)){
+ this.focusStyleHandler.remove(item);
+ break;
+ }
+ }
+ for (Pair<TextArea, HoverStyleHandler> item : this.hoverStyleHandler) {
+ if(item.getFirst().equals(elem)){
+ this.hoverStyleHandler.remove(item);
+ break;
+ }
+ }
+
+ this.textElements.remove(elem);
+ elem.removeFromParent();
+
+ // TODO: reset the text area size on each text element
+ }
+
// returns a TextType instance of a gdl:text-type occurrence.
// If no gdl:text-type occurrence is set, the default value is returned
@@ -46,7 +133,7 @@
// returns a boolean instance of a gdl:readonly occurrence.
// If no gdl:readonly occurrence is set, the default value is returned
- public boolean getReadnonly() throws InvalidGdlSchemaException {
+ public boolean getReadonly() throws InvalidGdlSchemaException {
Occurrence readOnlyOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlReadonly);
if(readOnlyOcc != null){
@@ -64,7 +151,6 @@
}
-
// returns a boolean instance of a gdl:rows occurrence.
// If no gdl:rows occurrence is set, the default value is returned
public int getRows() throws InvalidGdlSchemaException {
@@ -105,56 +191,768 @@
// returns a boolean instance of a gdl:resize occurrence.
// If no gdl:resize occurrence is set, the default value is returned
- public boolean getResize() throws InvalidGdlSchemaException {
+ public ResizeValue getResize() throws InvalidGdlSchemaException {
Occurrence resizeOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlResize);
if(resizeOcc != null){
- String boolStr = resizeOcc.getValue().toUpperCase();
- if(boolStr.equals("TRUE")){
- return true;
- } else if(boolStr.equals("FALSE")) {
- return false;
- } else {
- throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlResize + " must be set to one of \"true\" or \"false\", but is \"" + resizeOcc.getValue() + "\"");
+ try{
+ return ResizeValue.valueOf(resizeOcc.getValue().toUpperCase());
+ }catch(IllegalArgumentException e){
+ throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlResize + " must be set to one of \"both\", \"vertical\", \"horizontal\" or \"none\", but is \"" + resizeOcc.getValue() + "\"");
}
} else {
- return false;
+ return ResizeValue.NONE;
+ }
+ }
+
+
+ // sets a given css property and css value of this element's text area element
+ private void setCssProperty(TextArea elem, String styleClass, String cssProperty, String cssValue)throws InvalidGdlSchemaException, ExecutionException{
+ if(cssValue == null || cssProperty == null) return;
+
+ if(styleClass == null){
+ DOM.setStyleAttribute(elem.getElement(), cssProperty, cssValue);
+ } else if(styleClass.equals(GdlPsis.Scope.gdlActive)){
+ for (Pair<TextArea, ActiveStyleHandler> item : this.activeStyleHandler) {
+ if(item.getFirst().equals(elem)){
+ item.getSecond().addCssStyle(new Pair<String, String>(cssProperty, cssValue));
+ break;
+ }
+ }
+ } else if(styleClass.equals(GdlPsis.Scope.gdlFocus)){
+ for (Pair<TextArea, FocusStyleHandler> item : this.focusStyleHandler) {
+ if(item.getFirst().equals(elem)){
+ item.getSecond().addCssStyle(new Pair<String, String>(cssProperty, cssValue));
+ break;
+ }
+ }
+ } else if (styleClass.equals(GdlPsis.Scope.gdlHover)){
+ for (Pair<TextArea, HoverStyleHandler> item : this.hoverStyleHandler) {
+ if(item.getFirst().equals(elem)){
+ item.getSecond().addCssStyle(new Pair<String, String>(cssProperty, cssValue));
+ break;
+ }
+ }
+ } else {
+ String values = GdlPsis.Scope.gdlActive + ", " + GdlPsis.Scope.gdlFocus + ", " + GdlPsis.Scope.gdlHover;
+ throw new InvalidGdlSchemaException("GDL defines only the style classes " + values + ", but found " + styleClass);
+ }
+ }
+
+
+ // sets the resize style property.
+ // If gdl:readonly is set to true, this property is set to none, i.e. the passed value is ignored.
+ // IF gdl:readonly is set to false, this property is set to the passed argument.
+ public void setResize(ResizeValue value) throws InvalidGdlSchemaException, ExecutionException{
+ if(getReadonly() == true){
+ for (TextArea elem : this.textElements) this.setCssProperty(elem, null, "resize", "none");
+ } else {
+ for (TextArea elem : this.textElements) this.setCssProperty(elem, null, "resize", value.getCssValue());
+ }
+
+ // TODO: if resize == true => set width/height of the outer/container element after the resize operation
+ }
+
+
+ // sets the readonly property of this element's text are element
+ public void setReadonly(boolean value){
+ for (TextArea item : this.textElements) item.setReadOnly(value);
+ }
+
+
+ // sets and registers or unsets and deregisters a PasswordKeyPressHandler
+ // on this element's text area item.
+ public void setTextType(TextTypeValue value){
+ if(value == TextTypeValue.Password){
+ if(this.passwordKeyPressHandler == null) {
+ this.passwordKeyPressHandler = new ArrayList<PasswordKeyPressHandler>();
+ this.passwordKeyPressRegistrations = new ArrayList<HandlerRegistration>();
+
+ for (TextArea item : this.textElements) {
+ PasswordKeyPressHandler handler = new PasswordKeyPressHandler();
+ this.passwordKeyPressRegistrations.add(item.addKeyPressHandler(handler));
+ }
+ }
+ }else {
+ if(this.passwordKeyPressRegistrations != null){
+ for (HandlerRegistration reg : this.passwordKeyPressRegistrations) {
+ reg.removeHandler();
+ }
+ this.passwordKeyPressHandler = null;
+ this.passwordKeyPressRegistrations = null;
+ }
}
}
+ public void setWidth(TextArea elem, AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(elem, styleClass, "width", value.getCssValue());
+ }
+
+
+ @Override
+ public void setWidth(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ // TODO: implement
+
+ }
+
+
+ public void setHeight(TextArea elem, AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ // TODO: implement
+ }
+
+
+ // sets the rows property if gdl:width is not set
+ public void setRows(int value) throws InvalidGdlSchemaException, ExecutionException {
+ if(value < 0) throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlRows + " must be set to a positive integer, but is \"" + value + "\"");
+ Occurrence heightOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlHeight);
+
+ // rows is only treated if height is not set
+ if(heightOcc == null) this.setRows(value);
+
+ // set the outer element (the panel to the correct size if it is not set
+ //TODO: super.setHeight(new AutoNumUnitValue(this.textElement.getOffsetHeight() + "px"), null);
+ }
+
+
+ // sets the cols property if gdl:height is not set
+ public void setCols(int value) throws InvalidGdlSchemaException, ExecutionException {
+ if(value < 0) throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlRows + " must be set to a positive integer, but is \"" + value + "\"");
+ Occurrence widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlWidth);
+
+ // cols is only treated if width is not set
+ if(widthOcc == null) this.setCols(value);
+
+ // set the outer element (the panel to the correct size if it is not set
+ //TODO: super.setWidth(new AutoNumUnitValue(this.textElement.getOffsetWidth() + "px"), null);
+ }
+
+
+ // sets the background-color style property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBackgroundColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "backgroundColor", value.getCssValue());
+ }
+
+
+ // sets the cursor style property of this element's text items by using the GWT DOM class
+ @Override
+ public void setCursor(CursorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "cursor", value.getCssValue());
+ }
+
+
+ // sets the border-color property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderColor", value.getCssValue());
+ }
+
+
+ // sets the border-top-color property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderTopColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderTopColor", value.getCssValue());
+ }
+
+
+ // sets the border-right-color property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderRightColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderRightColor", value.getCssValue());
+ }
+
+
+ // sets the border-bottom-color property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderBottomColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderBottomColor", value.getCssValue());
+ }
+
+
+ // sets the border-left-color property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderLeftColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderLeftColor", value.getCssValue());
+ }
+
+
+ // sets the border-style property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderStyle", value.getCssValue());
+ }
+
+
+ // sets the border-top-style property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderTopStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderTopStyle", value.getCssValue());
+ }
+
+
+ // sets the border-right-style property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderRightStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderRightStyle", value.getCssValue());
+ }
+
+
+ // sets the border-bottom-style property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderBottomStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderBottomStyle", value.getCssValue());
+ }
+
+
+ // sets the border-left-style property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderLeftStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderLeftStyle", value.getCssValue());
+ }
+
+
+ // sets the border-width property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderWidth", value.getCssValue());
+ }
+
+
+ // sets the border-top-width property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderTopWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderTopWidth", value.getCssValue());
+ }
+
+
+ // sets the border-right-width property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderRightWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderRightWidth", value.getCssValue());
+ }
+
+
+ // sets the border-bottom-width property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderBottomWidth", value.getCssValue());
+ }
+
+
+ // sets the border-left-width property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderLeftWidth", value.getCssValue());
+ }
+
+
+ // sets the border-radius property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderRadius", value.getCssValue());
+ }
+
+
+ // sets the border-top-right-radius property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderTopRightRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderTopRightRadius", value.getCssValue());
+ }
+
+
+ // sets the border-bottom-right-radius property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderBottomRightRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderBottomRightRadius", value.getCssValue());
+ }
+
+
+ // sets the border-bottom-left-radius property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderBottomLeftRadius", value.getCssValue());
+ }
+
+
+ // sets the border-top-left-radius property of this element's text items by using the GWT DOM class
+ @Override
+ public void setBorderTopLeftRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(styleClass, "boderTopLeftRadius", value.getCssValue());
+ }
+
+
+ // sets the margin property of this element's text items by using the GWT DOM class
+ public void setMargin(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(elem, styleClass, "margin", value.getCssValue());
+ }
+
+
+ // sets the margin-top-color property of this element's text items by using the GWT DOM class
+ public void setMarginTop(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(elem, styleClass, "marginTop", value.getCssValue());
+ }
+
+
+ // sets the margin-right-color property of this element's text items by using the GWT DOM class
+ public void setMarginRight(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(elem, styleClass, "marginRight", value.getCssValue());
+ }
+
+
+ // sets the margin-bottom-color property of this element's text items by using the GWT DOM class
+ public void setMarginBottom(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(elem, styleClass, "marginBottom", value.getCssValue());
+ }
+
+
+ // sets the margin-left-color property of this element's text items by using the GWT DOM class
+ public void setMarginLeft(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(elem, styleClass, "marginLeft", value.getCssValue());
+ }
+
+
+ // sets the padding property of this element's text items by using the GWT DOM class
+ public void setPadding(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(elem, styleClass, "padding", value.getCssValue());
+ }
+
+
+ // sets the padding-top property of this element's text items by using the GWT DOM class
+ public void setPaddingTop(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(elem, styleClass, "paddingTop", value.getCssValue());
+ }
+
+
+ // sets the padding-right property of this element's text items by using the GWT DOM class
+ public void setPaddingRight(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(elem, styleClass, "paddingRight", value.getCssValue());
+ }
+
+
+ // sets the padding-bottom property of this element's text items by using the GWT DOM class
+ public void setPaddingBottom(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(elem, styleClass, "paddingBottom", value.getCssValue());
+ }
+
+
+ // sets the padding-left property of this element's text items by using the GWT DOM class
+ public void setPaddingLeft(TextArea elem, NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+ if(value != null) this.setCssProperty(elem, styleClass, "paddingLeft", value.getCssValue());
+ }
+
+
+ // sets the background-color property of this element's text items by using the GWT DOM class
+ public void setBackgroundColor(TextArea elem, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "backgroundColor", value.getCssValue());
+ }
+
+
+ // sets the cursor property of this element's text items by using the GWT DOM class
+ public void setCursor(TextArea elem, CursorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "cursor", value.getCssValue());
+ }
+
+
+ // sets the color property of this element's text items by using the GWT DOM class
+ public void setColor(TextArea elem, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "color", value.getCssValue());
+ }
+
+
+ // sets the border-color property of this element's text items by using the GWT DOM class
+ public void setBorderColor(TextArea elem, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderColor", value.getCssValue());
+ }
+
+
+ // sets the border-top-color property of this element's text items by using the GWT DOM class
+ public void setBorderTopColor(TextArea elem, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderTopColor", value.getCssValue());
+ }
+
+
+ // sets the border-right-color property of this element's text items by using the GWT DOM class
+ public void setBorderRightColor(TextArea elem, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderRightColor", value.getCssValue());
+ }
+
+
+ // sets the border-bottom-color property of this element's text items by using the GWT DOM class
+ public void setBorderBottomColor(TextArea elem, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderBottomColor", value.getCssValue());
+ }
+
+
+ // sets the border-left-color property of this element's text items by using the GWT DOM class
+ public void setBorderLeftColor(TextArea elem, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderLeftColor", value.getCssValue());
+ }
+
+
+ // sets the border-style property of this element's text items by using the GWT DOM class
+ public void setBorderStyle(TextArea elem, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderStyle", value.getCssValue());
+ }
+
+
+ // sets the border-top-style property of this element's text items by using the GWT DOM class
+ public void setBorderTopStyle(TextArea elem, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderTopStyle", value.getCssValue());
+ }
+
+
+ // sets the border-right-style property of this element's text items by using the GWT DOM class
+ public void setBorderRightStyle(TextArea elem, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderRightStyle", value.getCssValue());
+ }
+
+
+ // sets the border-bottom-style property of this element's text items by using the GWT DOM class
+ public void setBorderBottomStyle(TextArea elem, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderBottomStyle", value.getCssValue());
+ }
+
+
+ // sets the border-left-style property of this element's text items by using the GWT DOM class
+ public void setBorderLeftStyle(TextArea elem, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderLeftStyle", value.getCssValue());
+ }
+
+
+ // sets the border-width property of this element's text items by using the GWT DOM class
+ public void setBorderWidth(TextArea elem, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderWidth", value.getCssValue());
+ }
+
+
+ // sets the border-top-width property of this element's text items by using the GWT DOM class
+ public void setBorderTopWidth(TextArea elem, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderTopWidth", value.getCssValue());
+ }
+
+
+ // sets the border-right-width property of this element's text items by using the GWT DOM class
+ public void setBorderRightWidth(TextArea elem, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderRightWidth", value.getCssValue());
+ }
+
+
+ // sets the border-bottom-width property of this element's text items by using the GWT DOM class
+ public void setBorderBottomWidth(TextArea elem, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderBottomWidth", value.getCssValue());
+ }
+
+
+ // sets the border-left-width property of this element's text items by using the GWT DOM class
+ public void setBorderLeftWidth(TextArea elem, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderLeftWidth", value.getCssValue());
+ }
+
+
+ // sets the border-radius property of this element's text items by using the GWT DOM class
+ public void setBorderRadius(TextArea elem, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderRadius", value.getCssValue());
+ }
+
+
+ // sets the border-top-right-radius property of this element's text items by using the GWT DOM class
+ public void setBorderTopRightRadius(TextArea elem, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderTopRightRadius", value.getCssValue());
+ }
+
+
+ // sets the border-bottom-right-radius property of this element's text items by using the GWT DOM class
+ public void setBorderBottomRightRadius(TextArea elem, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderBottomRightRadius", value.getCssValue());
+ }
+
+
+ // sets the border-bottom-left-radius property of this element's text items by using the GWT DOM class
+ public void setBorderBottomLeftRadius(TextArea elem, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderBottomLeftRadius", value.getCssValue());
+ }
+
+
+ // sets the border-top-left-radius property of this element's text items by using the GWT DOM class
+ public void setBorderTopLeftRadius(TextArea elem, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "borderTopLeftRadius", value.getCssValue());
+ }
+
+
+ // sets the direction property of this element's text items by using the GWT DOM class
+ public void setDirection(TextArea elem, DirectionValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "direction", value.getCssValue());
+ }
+
+
+ // sets the text-align property of this element's text items by using the GWT DOM class
+ public void setTextAlign(TextArea elem, TextAlignValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "textAlign", value.getCssValue());
+ }
+
+
+ // sets the line-height property of this element's text items by using the GWT DOM class
+ public void setLineHeight(TextArea elem, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "lineHeight", value.getCssValue());
+ }
+
+
+ // sets the text-decoration property of this element's text items by using the GWT DOM class
+ public void setTextDecoration(TextArea elem, TextDecorationValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "textDecoration", value.getCssValue());
+ }
+
+
+ // sets the font-family property of this element's text items by using the GWT DOM class
+ public void setFontFamily(TextArea elem, String value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "fontFamily", value);
+ }
+
+
+ // sets the font-style property of this element's text items by using the GWT DOM class
+ public void setFontStyle(TextArea elem, FontStyle value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "fontStyle", value.getCssName());
+ }
+
+
+ // sets the font-size property of this element's text items by using the GWT DOM class
+ public void setFontSize(TextArea elem, PositiveNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "fontSize", value.getCssValue());
+ }
+
+
+ // sets the font-weight property of this element's text items by using the GWT DOM class
+ public void setFontWeight(TextArea elem, FontWeightValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "fontWeight", value.getCssValue());
+ }
+
+
+ // sets the letter-spacing property of this element's text items by using the GWT DOM class
+ public void setLetterSpacing(TextArea elem, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "letterSpacing", value.getCssValue());
+ }
+
+
+ // sets the word-spacing property of this element's text items by using the GWT DOM class
+ public void setWordSpacing(TextArea elem, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ if(value != null) this.setCssProperty(elem, styleClass, "wordSpacing", value.getCssValue());
+ }
+
+
+ // sets the GDL style of the passed content element, i.e. the TextArea element
+ protected void setContentGdlStyle(TextArea elem) throws InvalidGdlSchemaException, ExecutionException{
+ // create all handlers for elem
+ ActiveStyleHandler asHandler = new ActiveStyleHandler();
+ this.activeStyleHandler.add(new Pair<TextArea, GdlVisibleObject.ActiveStyleHandler>(elem, asHandler));
+ FocusStyleHandler fsHandler = new FocusStyleHandler();
+ this.focusStyleHandler.add(new Pair<TextArea, GdlVisibleObject.FocusStyleHandler>(elem, fsHandler));
+ HoverStyleHandler hsHandler = new HoverStyleHandler();
+ this.hoverStyleHandler.add(new Pair<TextArea, GdlVisibleObject.HoverStyleHandler>(elem, hsHandler));
+
+
+ // all attributes for the actual text element
+ this.setReadonly(this.getReadonly());
+ this.setResize(this.getResize());
+ this.setTextType(this.getTextType());
+ this.setRows(this.getRows());
+ this.setCols(this.getCols());
+
+ String[] styleClasses = new String[]{null, GdlPsis.Scope.gdlActive, GdlPsis.Scope.gdlFocus, GdlPsis.Scope.gdlHover};
+ for (String styleClass : styleClasses) {
+ // visible object styles
+ this.setBackgroundColor(elem, this.getBackgroundColor(styleClass), styleClass);
+ this.setCursor(elem, this.getCursor(styleClass), styleClass);
+ this.setColor(elem, this.getColor(styleClass), styleClass);
+ this.setBorderColor(elem, this.getBorderColor(styleClass), styleClass);
+ this.setBorderTopColor(elem, this.getBorderTopColor(styleClass), styleClass);
+ this.setBorderRightColor(elem, this.getBorderRightColor(styleClass), styleClass);
+ this.setBorderBottomColor(elem, this.getBorderBottomColor(styleClass), styleClass);
+ this.setBorderLeftColor(elem, this.getBorderLeftColor(styleClass), styleClass);
+ this.setBorderStyle(elem, this.getBorderStyle(styleClass), styleClass);
+ this.setBorderTopStyle(elem, this.getBorderTopStyle(styleClass), styleClass);
+ this.setBorderRightStyle(elem, this.getBorderRightStyle(styleClass), styleClass);
+ this.setBorderBottomStyle(elem, this.getBorderBottomStyle(styleClass), styleClass);
+ this.setBorderLeftStyle(elem, this.getBorderLeftStyle(styleClass), styleClass);
+ this.setBorderWidth(elem, this.getBorderWidth(styleClass), styleClass);
+ this.setBorderTopWidth(elem, this.getBorderTopWidth(styleClass), styleClass);
+ this.setBorderRightWidth(elem, this.getBorderRightWidth(styleClass), styleClass);
+ this.setBorderBottomWidth(elem, this.getBorderBottomWidth(styleClass), styleClass);
+ this.setBorderLeftWidth(elem, this.getBorderLeftWidth(styleClass), styleClass);
+ this.setBorderRadius(elem, this.getBorderRadius(styleClass), styleClass);
+ this.setBorderTopRightRadius(elem, this.getBorderTopRightRadius(styleClass), styleClass);
+ this.setBorderBottomRightRadius(elem, this.getBorderBottomRightRadius(styleClass), styleClass);
+ this.setBorderBottomLeftRadius(elem, this.getBorderBottomLeftRadius(styleClass), styleClass);
+ this.setBorderTopLeftRadius(elem, this.getBorderTopLeftRadius(styleClass), styleClass);
+ this.setMargin(elem, this.getMargin(styleClass), styleClass);
+ this.setMarginTop(elem, this.getMarginTop(styleClass), styleClass);
+ this.setMarginRight(elem, this.getMarginRight(styleClass), styleClass);
+ this.setMarginBottom(elem, this.getMarginBottom(styleClass), styleClass);
+ this.setMarginLeft(elem, this.getMarginLeft(styleClass), styleClass);
+ this.setPadding(elem, this.getPadding(styleClass), styleClass);
+ this.setPaddingTop(elem, this.getPaddingTop(styleClass), styleClass);
+ this.setPaddingRight(elem, this.getPaddingRight(styleClass), styleClass);
+ this.setPaddingBottom(elem, this.getPaddingBottom(styleClass), styleClass);
+ this.setPaddingLeft(elem, this.getPaddingLeft(styleClass), styleClass);
+ this.setWidth(elem, this.getWidth(styleClass), styleClass);
+ this.setHeight(elem, this.getHeight(styleClass), styleClass);
+
+ // text object styles
+ this.setDirection(elem, this.getDirection(styleClass), styleClass);
+ this.setTextAlign(elem, this.getTextAlign(styleClass), styleClass);
+ this.setLineHeight(elem, this.getLineHeight(styleClass), styleClass);
+ this.setTextDecoration(elem, this.getTextDecoration(styleClass), styleClass);
+ this.setFontFamily(elem, this.getFontFamily(styleClass), styleClass);
+ this.setFontStyle(elem, this.getFontStyle(styleClass), styleClass);
+ this.setFontSize(elem, this.getFontSize(styleClass), styleClass);
+ this.setFontWeight(elem, this.getFontWeight(styleClass), styleClass);
+ this.setLetterSpacing(elem, this.getLetterSpacing(styleClass), styleClass);
+ this.setWordSpacing(elem, this.getWordSpacing(styleClass), styleClass);
+ }
+
+ // register the corresponding handlers for each text element
+ elem.addMouseDownHandler(asHandler);
+ elem.addMouseUpHandler(asHandler);
+ elem.addFocusHandler(fsHandler);
+ elem.addBlurHandler(fsHandler);
+ elem.addMouseOutHandler(hsHandler);
+ elem.addMouseOverHandler(hsHandler);
+ }
+
+
// calls the super class's setGdlStyle and additionally calls local statements
// to fulfill the style settings
@Override
protected void setGdlStyle() throws InvalidGdlSchemaException, ExecutionException{
- super.setGdlStyle();
-
- // TODO: implement
- // text-type
- // readonly
- // rows
- // calls
- // resize
-
+ // the outer/container element
+ super.setDisplay(super.getDisplay());
+ super.setZindex(super.getZindex());
+ super.setFloat(super.getFloat());
+ super.setClear(super.getClear());
+
+ String[] styleClasses = new String[]{null, GdlPsis.Scope.gdlActive, GdlPsis.Scope.gdlFocus, GdlPsis.Scope.gdlHover};
+ for (String styleClass : styleClasses) {
+ super.setVerticalAlign(super.getVerticalAlign(styleClass), styleClass);
+ super.setOverflow(super.getOverflow(styleClass), styleClass);
+ super.setWidth(super.getWidth(styleClass), styleClass);
+ super.setMinWidth(super.getMinWidth(styleClass), styleClass);
+ super.setMaxWidth(super.getMaxWidth(styleClass), styleClass);
+ super.setHeight(super.getHeight(styleClass), styleClass);
+ super.setMinHeight(super.getMinHeight(styleClass), styleClass);
+ super.setMaxHeight(super.getMaxHeight(styleClass), styleClass);
+ }
+ }
+
+
+ // registers a passed mouse down handler to each text element of this item
+ @Override
+ public MultipleHandlerRegistration addMouseDownHandler(MouseDownHandler handler){
+ MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
+ for (TextArea item : this.textElements) {
+ regs.addHandlerRegistration(item.addMouseDownHandler(handler));
+ }
+ return regs;
+ }
+
+
+ // registers a passed mouse up handler to each text element of this item
+ @Override
+ public MultipleHandlerRegistration addMouseUpHandler(MouseUpHandler handler){
+ MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
+ for (TextArea item : this.textElements) {
+ regs.addHandlerRegistration(item.addMouseUpHandler(handler));
+ }
+ return regs;
+ }
+
+
+ // registers a passed focus handler to each text element of this item
+ @Override
+ public MultipleHandlerRegistration addFocusHandler(FocusHandler handler){
+ MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
+ for (TextArea item : this.textElements) {
+ regs.addHandlerRegistration(item.addFocusHandler(handler));
+ }
+ return regs;
}
+ // registers a passed blur handler to each text element of this item
@Override
- public String getStringValue() {
- // TODO Auto-generated method stub
- return null;
+ public MultipleHandlerRegistration addBlurHandler(BlurHandler handler){
+ MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
+ for (TextArea item : this.textElements) {
+ regs.addHandlerRegistration(item.addBlurHandler(handler));
+ }
+ return regs;
}
+
+ // registers a passed mouse out handler to each text element of this item
@Override
- public Construct getTmValue() {
- // TODO Auto-generated method stub
- return null;
+ public MultipleHandlerRegistration addMouseOutHandler(MouseOutHandler handler){
+ MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
+ for (TextArea item : this.textElements) {
+ regs.addHandlerRegistration(item.addMouseOutHandler(handler));
+ }
+ return regs;
+ }
+
+
+ // registers a passed mouse over handler to each text element of this item
+ @Override
+ public MultipleHandlerRegistration addMouseOverHandler(MouseOverHandler handler){
+ MultipleHandlerRegistration regs = new MultipleHandlerRegistration();
+ for (TextArea item : this.textElements) {
+ regs.addHandlerRegistration(item.addMouseOverHandler(handler));
+ }
+ return regs;
+ }
+
+
+ // returns the results of all text area elements
+ @Override
+ public ArrayList<String> getStringValue() {
+ ArrayList<String> results = new ArrayList<String>();
+ for (TextArea item : this.textElements) {
+ results.add(item.getValue());
+ }
+
+ return results;
}
+
@Override
- public TopicMapsTypes getTmType() {
+ public ArrayList<Pair<TopicMapsTypes, Object>> getTmValue() {
// TODO Auto-generated method stub
return null;
}
-
+
+
+ @Override
+ public boolean validate(){
+ // TODO: implement
+ return false;
+ }
+
+
+ // this class catches all keypress events and transforms the visible
+ // characters to *, whereas the actual characters are collected and requestable
+ // via the function getValue.
+ protected class PasswordKeyPressHandler implements KeyPressHandler {
+ String realValue = "";
+
+ @Override
+ public void onKeyPress(KeyPressEvent event) {
+ TextArea elem = (TextArea) event.getSource();
+ elem.cancelKey();
+ elem.setText(elem.getText() + "*");
+ realValue += (char)event.getCharCode() + "";
+ }
+
+
+ public String getValue(){
+ return this.realValue;
+ }
+ }
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java Mon Jul 4 23:59:48 2011 (r559)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java Tue Jul 5 09:41:31 2011 (r560)
@@ -354,7 +354,7 @@
for (String styleClass : styleClasses) {
this.setDirection(this.getDirection(styleClass), styleClass);
this.setTextAlign(this.getTextAlign(styleClass), styleClass);
- this.setTextAlign(this.getTextAlign(styleClass), styleClass);
+ this.setLineHeight(this.getLineHeight(styleClass), styleClass);
this.setTextDecoration(this.getTextDecoration(styleClass), styleClass);
this.setColor(this.getColor(styleClass), styleClass);
this.setFontFamily(this.getFontFamily(styleClass), styleClass);
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/ResizeValue.java
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/ResizeValue.java Tue Jul 5 09:41:31 2011 (r560)
@@ -0,0 +1,15 @@
+package us.isidor.gdl.anaToMia.Widgets.values;
+
+public enum ResizeValue implements CssValue {
+ BOTH,
+ VERTICAL,
+ HORIZONTAL,
+ NONE;
+
+
+ @Override
+ public String getCssValue() {
+ return this.toString().toLowerCase();
+ }
+
+}
1
0