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 }