isidorus-cvs
Threads by month
- ----- 2025 -----
- 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
July 2011
- 1 participants
- 156 discussions

[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

[isidorus-cvs] r559 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base text values
by lgiessmann@common-lisp.net 05 Jul '11
by lgiessmann@common-lisp.net 05 Jul '11
05 Jul '11
Author: lgiessmann
Date: Mon Jul 4 23:59:48 2011
New Revision: 559
Log:
gdl-frontend: Widgets: added methods for reading all Topic Maps values define dby the GDL for objects of the type gdl:Text
Added:
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/text/GdlText.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/HtmlValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/TextTypeValue.java
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/text/GdlTextObject.java
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/IGdlHasValue.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/base/IGdlHasValue.java Mon Jul 4 23:59:48 2011 (r559)
@@ -0,0 +1,11 @@
+package us.isidor.gdl.anaToMia.Widgets.base;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMapsTypes;
+
+
+public interface IGdlHasValue {
+ public String getStringValue();
+ public Construct getTmValue();
+ public TopicMapsTypes getTmType(); // null if it is a String value
+}
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:22:00 2011 (r558)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Mon Jul 4 23:59:48 2011 (r559)
@@ -106,11 +106,7 @@
- GdlTextObject tmp = new GdlTextObject(tmpRepresentative){
- @Override
- public String getText() {
- return "tmp";
- }};
+ GdlTextObject tmp = new GdlTextObject(tmpRepresentative){};
this.mainPanel.add(tmp);
}catch(Exception e){
e.printStackTrace();
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.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/text/GdlText.java Mon Jul 4 23:59:48 2011 (r559)
@@ -0,0 +1,160 @@
+package us.isidor.gdl.anaToMia.Widgets.text;
+
+import com.google.gwt.dom.client.Style.Display;
+
+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.IGdlHasValue;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+import us.isidor.gdl.anaToMia.Widgets.values.TextTypeValue;
+
+public class GdlText extends GdlTextObject implements IGdlHasValue{
+
+
+ // some constructors
+ protected GdlText(){
+ super();
+ }
+
+
+ public GdlText(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
+ super(tmRepresentative);
+ }
+
+
+
+ // 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 {
+ Occurrence typeOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlTextType);
+
+ if(typeOcc != null){
+ try{
+ return TextTypeValue.valueOf(typeOcc.getValue().toUpperCase());
+ }catch(IllegalArgumentException e){
+ throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlTextType + " must be set to one of \"text\" or \"password\", but is \"" + typeOcc.getValue() + "\"");
+ }
+ } else {
+ return TextTypeValue.Text;
+ }
+ }
+
+
+ // 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 {
+ Occurrence readOnlyOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlReadonly);
+
+ if(readOnlyOcc != null){
+ String boolStr = readOnlyOcc.getValue().toUpperCase();
+ if(boolStr.equals("TRUE")){
+ return true;
+ } else if(boolStr.equals("FALSE")) {
+ return false;
+ } else {
+ throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlReadonly + " must be set to one of \"true\" or \"false\", but is \"" + readOnlyOcc.getValue() + "\"");
+ }
+ } else {
+ return true;
+ }
+ }
+
+
+
+ // 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 {
+ Occurrence rowsOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlRows);
+
+ if(rowsOcc != null){
+ try{
+ int value = Integer.valueOf(rowsOcc.getValue());
+ if(value < 0) throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlRows + " must be set to a positive integer, but is \"" + rowsOcc.getValue() + "\"");
+ else return value;
+ }catch(NumberFormatException e){
+ throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlRows + " must be set to a positive integer, but is \"" + rowsOcc.getValue() + "\"");
+ }
+ } else {
+ return 1;
+ }
+ }
+
+
+ // returns a boolean instance of a gdl:cols occurrence.
+ // 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());
+ if(value < 0) throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlCols + " must be set to a positive integer, but is \"" + colsOcc.getValue() + "\"");
+ else return value;
+ }catch(NumberFormatException e){
+ throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlCols + " must be set to a positive integer, but is \"" + colsOcc.getValue() + "\"");
+ }
+ } else {
+ return 5;
+ }
+ }
+
+
+ // 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 {
+ 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() + "\"");
+ }
+ } else {
+ return false;
+ }
+ }
+
+
+ // 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
+
+ }
+
+
+ @Override
+ public String getStringValue() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public Construct getTmValue() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public TopicMapsTypes getTmType() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+}
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:22:00 2011 (r558)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java Mon Jul 4 23:59:48 2011 (r559)
@@ -365,8 +365,4 @@
this.setWordSpacing(this.getWordSpacing(styleClass), styleClass);
}
}
-
-
- // shall return the objects textual value
- public abstract String getText();
}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/HtmlValue.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/HtmlValue.java Mon Jul 4 23:59:48 2011 (r559)
@@ -0,0 +1,5 @@
+package us.isidor.gdl.anaToMia.Widgets.values;
+
+public interface HtmlValue {
+ public String getHtmlValue();
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/TextTypeValue.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/TextTypeValue.java Mon Jul 4 23:59:48 2011 (r559)
@@ -0,0 +1,13 @@
+package us.isidor.gdl.anaToMia.Widgets.values;
+
+public enum TextTypeValue implements HtmlValue{
+ Text,
+ Password;
+
+
+ @Override
+ public String getHtmlValue() {
+ return this.toString().toLowerCase();
+ }
+
+}
1
0

[isidorus-cvs] r558 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: . base text
by lgiessmann@common-lisp.net 05 Jul '11
by lgiessmann@common-lisp.net 05 Jul '11
05 Jul '11
Author: lgiessmann
Date: Mon Jul 4 23:22:00 2011
New Revision: 558
Log:
gdl-frontend: Widgets: added the package us.isidor.gdl.anaToMia.Widgets.text that contains all textable widgets; moved GdlTextObject to us.isidor.gdl.anaToMia.Widgets.text
Added:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java
- copied, changed from r557, branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlTextObject.java
Deleted:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlTextObject.java
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/GDL_Widgets.gwt.xml
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/IGdlContainer.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/GDL_Widgets.gwt.xml
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/GDL_Widgets.gwt.xml Mon Jul 4 11:50:37 2011 (r557)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/GDL_Widgets.gwt.xml Mon Jul 4 23:22:00 2011 (r558)
@@ -21,6 +21,7 @@
<!-- Specify the paths for translatable code -->
<source path="base"/>
<source path="views"/>
+ <source path="text"/>
<source path="environment"/>
<source path="values"/>
<source path="isidorus"/>
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/IGdlContainer.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/IGdlContainer.java Mon Jul 4 11:50:37 2011 (r557)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/IGdlContainer.java Mon Jul 4 23:22:00 2011 (r558)
@@ -3,5 +3,5 @@
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
public interface IGdlContainer {
- public void append(GdlVisibleObject ancestor, GdlVisibleObject descendant) throws InvalidGdlSchemaException;
+ public void append(GdlVisibleObject ancestor, GdlVisibleObject descendant/*, Position position*/) throws InvalidGdlSchemaException;
}
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 11:50:37 2011 (r557)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Mon Jul 4 23:22:00 2011 (r558)
@@ -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.GdlTextObject;
import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.event.dom.client.ClickEvent;
Copied and modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java (from r557, branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlTextObject.java)
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlTextObject.java Mon Jul 4 11:50:37 2011 (r557, copy source)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java Mon Jul 4 23:22:00 2011 (r558)
@@ -1,11 +1,11 @@
-package us.isidor.gdl.anaToMia.Widgets.base;
+package us.isidor.gdl.anaToMia.Widgets.text;
import com.google.gwt.dom.client.Style.FontStyle;
-import com.google.gwt.user.client.DOM;
-
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
+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.ColorValue;
@@ -16,6 +16,7 @@
import us.isidor.gdl.anaToMia.Widgets.values.TextAlignValue;
import us.isidor.gdl.anaToMia.Widgets.values.TextDecorationValue;
+
public abstract class GdlTextObject extends GdlVisibleObject {
// some constructors
1
0

[isidorus-cvs] r557 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base values
by lgiessmann@common-lisp.net 04 Jul '11
by lgiessmann@common-lisp.net 04 Jul '11
04 Jul '11
Author: lgiessmann
Date: Mon Jul 4 11:50:37 2011
New Revision: 557
Log:
gdl-frontend: Widgets: implemented the class GdlTextObject; implemented all corresponding css styles (with css pseudo-classes) supported by the GDL
Added:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/FontWeightValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/PositiveNumUnitValue.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/GdlTextObject.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/base/TestClass.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 Mon Jul 4 08:29:44 2011 (r556)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java Mon Jul 4 11:50:37 2011 (r557)
@@ -147,7 +147,7 @@
public final static String gdlColor = gdl + "color";
public final static String gdlFontfamily = gdl + "font-family";
public final static String gdlFontStyle = gdl + "font-style";
- public final static String gdlFontSize = gdl + "font-weight";
+ public final static String gdlFontSize = gdl + "font-size";
public final static String gdlFontWeight = gdl + "font-weight";
public final static String gdlLetterSpacing = gdl + "letter-spacing";
public final static String gdlWordSpacing = gdl + "word-spacing";
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlTextObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlTextObject.java Mon Jul 4 08:29:44 2011 (r556)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlTextObject.java Mon Jul 4 11:50:37 2011 (r557)
@@ -1,12 +1,18 @@
package us.isidor.gdl.anaToMia.Widgets.base;
+import com.google.gwt.dom.client.Style.FontStyle;
+import com.google.gwt.user.client.DOM;
+
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
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.PositiveNumUnitValue;
import us.isidor.gdl.anaToMia.Widgets.values.TextAlignValue;
import us.isidor.gdl.anaToMia.Widgets.values.TextDecorationValue;
@@ -97,7 +103,7 @@
// returns a TextDecoarionValue instance that represents the text-decoration of this element.
// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
// or null.
- public TextDecorationValue getGdlTextDecoration(String styleClass) throws InvalidGdlSchemaException {
+ public TextDecorationValue getTextDecoration(String styleClass) throws InvalidGdlSchemaException {
Occurrence decorationOcc = null;
if(styleClass != null){
decorationOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlTextDecoration, styleClass);
@@ -119,29 +125,244 @@
}
+ // returns a ColorValue instance that represents the text color of this element.
+ // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
+ // or null.
+ public ColorValue getColor(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence colorOcc = null;
+ if(styleClass != null){
+ colorOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlColor, styleClass);
+ } else {
+ colorOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlColor);
+ }
+
+ if(colorOcc == null && styleClass != null){
+ return null;
+ } else if(colorOcc == null) {
+ return new ColorValue();
+ } else {
+ return new ColorValue(colorOcc.getValue());
+ }
+ }
+
+
+ // returns a String instance that represents the text font-family of this element.
+ public String getFontFamily(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence fontOcc = null;
+ if(styleClass != null){
+ fontOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlFontfamily, styleClass);
+ } else {
+ fontOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlFontfamily);
+ }
+
+ if(fontOcc == null){
+ return null; // use the browser's default font
+ } else {
+ return fontOcc.getValue();
+ }
+ }
+
+
+ // returns a FontStyle instance that represents the text font-style of this element.
+ // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
+ // or null.
+ public FontStyle getFontStyle(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence styleOcc = null;
+ if(styleClass != null){
+ styleOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlFontStyle, styleClass);
+ } else {
+ styleOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlFontStyle);
+ }
+
+ if(styleOcc == null && styleClass != null){
+ return null;
+ } else if(styleOcc == null) {
+ return FontStyle.NORMAL;
+ } else {
+ try{
+ return FontStyle.valueOf(styleOcc.getValue().toUpperCase());
+ }catch(IllegalArgumentException e){
+ throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlFontStyle + " must be set to one of \"normal\", \"italic\" or \"oblique\", but is \"" + styleOcc.getValue() + "\"");
+ }
+ }
+ }
+
+
+ // returns a PositiveNumUnitValue instance that represents the text font-size of this element.
+ // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
+ // or null.
+ public PositiveNumUnitValue getFontSize(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence sizeOcc = null;
+ if(styleClass != null){
+ sizeOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlFontSize, styleClass);
+ } else {
+ sizeOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlFontSize);
+ }
+
+ if(sizeOcc == null && styleClass != null){
+ return null;
+ } else if(sizeOcc == null) {
+ return new PositiveNumUnitValue("12pt");
+ } else {
+ return new PositiveNumUnitValue(sizeOcc.getValue());
+ }
+ }
+
+
+ // returns a FontWeightValue instance that represents the text font-weight of this element.
+ // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
+ // or null.
+ public FontWeightValue getFontWeight(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence weightOcc = null;
+ if(styleClass != null){
+ weightOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlFontWeight, styleClass);
+ } else {
+ weightOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlFontWeight);
+ }
+
+ if(weightOcc == null && styleClass != null){
+ return null;
+ } else if(weightOcc == null) {
+ return FontWeightValue.NORMAL;
+ } else {
+ try{
+ return FontWeightValue.fromString(weightOcc.getValue());
+ }catch(IllegalArgumentException e){
+ String values = "normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800 or 900";
+ throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlFontWeight + " must be set to one of " + values + ", but found " + weightOcc.getValue() + "\"");
+ }
+ }
+ }
+
+
+ // returns a NormalNumUnitValue instance that represents the text letter-spacing of this element.
+ // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
+ // or null.
+ public NormalNumUnitValue getLetterSpacing(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence spacingOcc = null;
+ if(styleClass != null){
+ spacingOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlLetterSpacing, styleClass);
+ } else {
+ spacingOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlLetterSpacing);
+ }
+
+ if(spacingOcc == null && styleClass != null){
+ return null;
+ } else if(spacingOcc == null) {
+ return new NormalNumUnitValue();
+ } else {
+ return new NormalNumUnitValue(spacingOcc.getValue());
+ }
+ }
+
+
+ // returns a NormalNumUnitValue instance that represents the text word-spacing of this element.
+ // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
+ // or null.
+ public NormalNumUnitValue getWordSpacing(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence spacingOcc = null;
+ if(styleClass != null){
+ spacingOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlWordSpacing, styleClass);
+ } else {
+ spacingOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlWordSpacing);
+ }
+
+ if(spacingOcc == null && styleClass != null){
+ return null;
+ } else if(spacingOcc == null) {
+ return new NormalNumUnitValue();
+ } else {
+ return new NormalNumUnitValue(spacingOcc.getValue());
+ }
+ }
+
+
+ // 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());
+ }
+
+
+ // 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());
+ }
+
+
+ // 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());
+ }
+
+
+ // 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());
+ }
+
+
+ // 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());
+ }
+
+
+ // 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);
+ }
+
+
+ // 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());
+ }
+
+
+ // 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());
+ }
+
+
+ // 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());
+ }
+
+
+ // 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());
+ }
+
+
+ // 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());
+ }
+
+
// 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
-
- // direction [hover | active | focus]
- // text-align [hover | active | focus]
- // line-height [hover | active | focus]
- // text-decoration [hover | active | focus]
- // color [hover | active | focus]
- // font-family [hover | active | focus]
- // font-style [hover | active | focus]
- // font-size [hover | active | focus]
- // font-weight [hover | active | focus]
- // letter-spacing [hover | active | focus]
- // word-spacing [hover | active | focus]
-
-
- // TODO: implement
- // css pseudo class handlers => register additional handlers for this class ???
+ 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.setTextAlign(this.getTextAlign(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);
+ }
}
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 08:29:44 2011 (r556)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Mon Jul 4 11:50:37 2011 (r557)
@@ -1375,7 +1375,7 @@
// sets the passed css style porperty to the passed css value.
// If a styleClass is given, the style is applied to either active, hover or focus
- private void setCssProperty(String styleClass, String cssProperty, String cssValue)throws InvalidGdlSchemaException, ExecutionException{
+ protected void setCssProperty(String styleClass, String cssProperty, String cssValue)throws InvalidGdlSchemaException, ExecutionException{
if(cssValue == null || cssProperty == null) return;
if(styleClass == null){
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 08:29:44 2011 (r556)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Mon Jul 4 11:50:37 2011 (r557)
@@ -71,6 +71,7 @@
Topic gdlBorderBottomColor = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlBorderBottomColor));
Topic gdlBorderStyle = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlBorderStyle));
Topic gdlBorderWidth = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlBorderWidth));
+ Topic gdlFontSize = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlFontSize));
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));
@@ -98,6 +99,10 @@
bgcActive.addTheme(gdlActive);
Occurrence bgcFocus = tmpRepresentative.createOccurrence(gdlBackgroundColor, "silver", null);
bgcFocus.addTheme(gdlFocus);
+ tmpRepresentative.createOccurrence(gdlFontSize, "15pt", null);
+ Occurrence fsHover = tmpRepresentative.createOccurrence(gdlFontSize, "25pt", null);
+ fsHover.addTheme(gdlHover);
+
GdlTextObject tmp = new GdlTextObject(tmpRepresentative){
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/FontWeightValue.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/FontWeightValue.java Mon Jul 4 11:50:37 2011 (r557)
@@ -0,0 +1,45 @@
+package us.isidor.gdl.anaToMia.Widgets.values;
+
+public enum FontWeightValue implements CssValue {
+ NORMAL,
+ BOLD,
+ BOLDER,
+ LIGHTER,
+ _100,
+ _200,
+ _300,
+ _400,
+ _500,
+ _600,
+ _700,
+ _800,
+ _900;
+
+ @Override
+ public String getCssValue() {
+ String str = this.toString();
+ if(str.startsWith("_")) return str.substring(1);
+ else return str;
+ }
+
+
+ public static FontWeightValue fromString(String str) throws IllegalArgumentException{
+ if(null == str) return null;
+
+ String upperStr = str.toUpperCase();
+ if(upperStr.equals("NORMAL")) return NORMAL;
+ else if(upperStr.equals("BOLD")) return BOLD;
+ else if(upperStr.equals("BOLDER")) return BOLDER;
+ else if(upperStr.equals("LIGHTER")) return LIGHTER;
+ else if(upperStr.equals("100")) return _100;
+ else if(upperStr.equals("200")) return _200;
+ else if(upperStr.equals("300")) return _300;
+ else if(upperStr.equals("400")) return _400;
+ else if(upperStr.equals("500")) return _500;
+ else if(upperStr.equals("600")) return _600;
+ else if(upperStr.equals("700")) return _700;
+ else if(upperStr.equals("800")) return _800;
+ else if(upperStr.equals("900")) return _900;
+ else throw new IllegalArgumentException("the value " + str + "is not a FontWeightValue value");
+ }
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/PositiveNumUnitValue.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/PositiveNumUnitValue.java Mon Jul 4 11:50:37 2011 (r557)
@@ -0,0 +1,17 @@
+package us.isidor.gdl.anaToMia.Widgets.values;
+
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+public class PositiveNumUnitValue extends NumUnitValue {
+ public PositiveNumUnitValue(){
+ super.value = 0f;
+ }
+
+
+ public PositiveNumUnitValue(String value) throws InvalidGdlSchemaException{
+ super(value);
+ if(super.value < 0){
+ throw new InvalidGdlSchemaException("positive numeric values supported by the GDL containing a unit definition must be of the form <positive-numeric-value>(pt|px|%), but found: " + value);
+ }
+ }
+}
1
0