[isidorus-cvs] r555 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base views

lgiessmann at common-lisp.net lgiessmann at common-lisp.net
Mon Jul 4 14:26:25 UTC 2011


Author: lgiessmann
Date: Mon Jul  4 07:26:24 2011
New Revision: 555

Log:
gdl-frontend: Widgets: finalised the behavior for setting all css style attributes that depend on the css pseudo classes hover, active, focus; added methods for registering the following handlers to GdlVisibleObject: ClickHandler, MouseOutHandler, MouseMoveHandler

Modified:
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlAssociationView.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/GdlDefaultEditorTopicView.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultTopicView.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialTopicView.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlTopicView.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.java

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java	Sun Jul  3 23:00:30 2011	(r554)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java	Mon Jul  4 07:26:24 2011	(r555)
@@ -4,7 +4,9 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
 import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
 import us.isidor.gdl.anaToMia.Widgets.values.AutoNumValue;
 import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
@@ -18,46 +20,74 @@
 import com.google.gwt.dom.client.Style.Float;
 import com.google.gwt.dom.client.Style.Overflow;
 import com.google.gwt.dom.client.Style.VerticalAlign;
+import com.google.gwt.event.dom.client.BlurEvent;
+import com.google.gwt.event.dom.client.BlurHandler;
+import com.google.gwt.event.dom.client.ClickEvent;
+import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.event.dom.client.FocusEvent;
+import com.google.gwt.event.dom.client.FocusHandler;
+import com.google.gwt.event.dom.client.HasBlurHandlers;
+import com.google.gwt.event.dom.client.HasClickHandlers;
+import com.google.gwt.event.dom.client.HasFocusHandlers;
+import com.google.gwt.event.dom.client.HasMouseDownHandlers;
+import com.google.gwt.event.dom.client.HasMouseOutHandlers;
+import com.google.gwt.event.dom.client.HasMouseOverHandlers;
+import com.google.gwt.event.dom.client.HasMouseUpHandlers;
+import com.google.gwt.event.dom.client.MouseDownEvent;
+import com.google.gwt.event.dom.client.MouseDownHandler;
+import com.google.gwt.event.dom.client.MouseOutEvent;
+import com.google.gwt.event.dom.client.MouseOutHandler;
+import com.google.gwt.event.dom.client.MouseOverEvent;
+import com.google.gwt.event.dom.client.MouseOverHandler;
+import com.google.gwt.event.dom.client.MouseUpEvent;
+import com.google.gwt.event.dom.client.MouseUpHandler;
+import com.google.gwt.event.shared.HandlerRegistration;
 import com.google.gwt.user.client.DOM;
 import com.google.gwt.user.client.ui.AbsolutePanel;
 import com.google.gwt.user.client.ui.Composite;
 
 
-public abstract class GdlVisibleObject extends Composite implements GdlDescriptor {
+public abstract class GdlVisibleObject extends Composite implements GdlDescriptor, HasClickHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasFocusHandlers, HasMouseDownHandlers, HasMouseUpHandlers, HasBlurHandlers{
 	protected AbsolutePanel mainPanel = new AbsolutePanel();
 	protected Topic tmRepresentative = null;
 	protected TopicMap tm = null;
-	
-	
+	protected ActiveStyleHandler activeStyleHandler = new ActiveStyleHandler();
+	protected FocusStyleHandler focusStyleHandler = new FocusStyleHandler();
+	protected HoverStyleHandler hoverStyleHandler = new HoverStyleHandler();
+	protected boolean isActive = false;
+	protected boolean isFocused = false;
+	protected boolean isHovered = false;
+
+
 	private GdlVisibleObject() {
 		initWidget(this.mainPanel);
 	}
-	
-	
-	public GdlVisibleObject(Topic tmRepresentative) throws InvalidGdlSchemaException{
+
+
+	public GdlVisibleObject(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
 		this();
 		this.tmRepresentative = tmRepresentative;
 		this.tm = this.tmRepresentative.getTopicMap();
-		
+
 		this.setId(this.getId());
 		this.setGdlStyle();
 	}
-	
-	
+
+
 	// returns the topic that represents this element
 	public Topic getTmRepresentative(){
 		return this.tmRepresentative;
 	}
-	
-	
+
+
 	// a helper method that returns all occurrences of the type bound to the passed PSI
 	private JsArray<Occurrence> getOccurrences(String occurrenceType){
 		Topic occType = tm.getTopicBySubjectIdentifier(tm.createLocator(occurrenceType));
 		if(occType == null) return null;
 		else return tmRepresentative.getOccurrences(occType);
 	}
-	
-	
+
+
 	// a helper method that returns one occurrence of the type bound to the passed PSI.
 	// If more than one occurrence is available an InvalidGdlSchemaException is thrown.
 	// If nor occurrence is available the return value is null
@@ -67,7 +97,7 @@
 		for(int i = 0; i != occs.length(); ++i){
 			if(occs.get(i).getScope().length() == 0) unscopedOccs.add(occs.get(i));
 		}
-		
+
 		if(unscopedOccs.size() > 1){
 			throw new InvalidGdlSchemaException("The topic " + GdlPsis.getAnyIdOfTopic(this.tmRepresentative) + " must be bound to none or one unscoped occurrence of the type " + occurrenceType + ", but is bound " + unscopedOccs.size() + " times to it");
 		} else if(unscopedOccs.size() == 1){
@@ -77,7 +107,7 @@
 		}
 	}
 
-	
+
 	// a helper method that returns one occurrence of the type bound to the passed PSI and scoped
 	// by the theme bound to the passed PSI. If no such occurrence exist, the default value is null
 	private Occurrence getNoneOrOneScopedOccurrence(String occurrenceType, String theme) throws InvalidGdlSchemaException{
@@ -95,7 +125,7 @@
 					}
 				}
 			}
-			
+
 			if(matchedOccurrences.size() > 1){
 				throw new InvalidGdlSchemaException("The topic " + GdlPsis.getAnyIdOfTopic(this.tmRepresentative) + "must be bound to none or one occurrence of the type " + occurrenceType + " and the scope " + theme + " but is bound " + matchedOccurrences.size() + " times to it");
 			} else if(matchedOccurrences.size() == 1){
@@ -105,8 +135,8 @@
 			}
 		}
 	}
-	
-	
+
+
 	// returns the string value of a gdl:id occurrence
 	public String getId() throws InvalidGdlSchemaException {
 		JsArray<Occurrence> idOccs = getOccurrences(GdlPsis.OccurrenceType.gdlId);
@@ -116,13 +146,13 @@
 			return idOccs.get(0).getValue();
 		}
 	}
-	
-	
+
+
 	// returns a Display instance of a gdl:display occurrence.
 	// If no gdl:display occurrence is set, the default value is returned
 	public Display getDisplay() throws InvalidGdlSchemaException {
 		Occurrence displayOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlDisplay);
-		
+
 		if(displayOcc != null){
 			String value = displayOcc.getValue().toLowerCase();
 			if(value.equals("none")){
@@ -140,8 +170,8 @@
 			return Display.INLINE_BLOCK;
 		}
 	}
-	
-	
+
+
 	// returns an AutoNumValue instance of a gdl:z-index occurrence.
 	// If no gdl:z-index occurrence is set, the default value is returned
 	public AutoNumValue getZindex() throws InvalidGdlSchemaException {
@@ -153,12 +183,12 @@
 		}
 	}
 
-	
+
 	// returns a Float instance of a gdl:float occurrence or the default value for
 	// this property if no gdl:float occurrence is available
 	public Float getFloat() throws InvalidGdlSchemaException {
 		Occurrence floatOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlFloat);
-		
+
 		if(floatOcc != null){
 			String value = floatOcc.getValue().toLowerCase();
 			if(value.equals("none")){
@@ -174,13 +204,13 @@
 			return Float.NONE;
 		}
 	}
-	
-	
+
+
 	// returns a ClearValue instance of a gdl:clear occurrence or the default value for
 	// this property if no gdl:clear occurrence is available
 	public ClearValue getClear() throws InvalidGdlSchemaException {
 		Occurrence clearOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlFloat);
-		
+
 		if(clearOcc != null){
 			try{
 				return ClearValue.valueOf(clearOcc.getValue().toUpperCase());
@@ -191,8 +221,8 @@
 			return ClearValue.NONE;
 		}
 	}
-	
-	
+
+
 	// returns a VerticalAlign instance of a gdl:vertical-align occurrence
 	// or the default value for this property if no gdl:vertical-align occurrence
 	// is available. The styleClass attribute is used as scope for expressing
@@ -204,7 +234,7 @@
 		} else {
 			vaOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlVerticalAlign);
 		}
-		
+
 		if(vaOcc == null && styleClass != null){
 			return null;
 		} else if(vaOcc == null) {
@@ -233,7 +263,7 @@
 		}
 	}
 
-	
+
 	// returns a NumUnitValue instance that represents the margin of this element.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// or null. If the styleClass is null and no occurrence was found, the default value for this
@@ -245,7 +275,7 @@
 		} else {
 			marginOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMargin);
 		}
-		
+
 		if(marginOcc == null && styleClass != null){
 			return null;
 		} else if(marginOcc == null) {
@@ -254,8 +284,8 @@
 			return new NumUnitValue(marginOcc.getValue());
 		}
 	}
-	
-	
+
+
 	// returns a NumUnitValue instance that represents the margin-top of this element.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// or null.
@@ -266,15 +296,15 @@
 		} else {
 			marginOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMarginTop);
 		}
-		
+
 		if(marginOcc == null){
 			return null;
 		} else {
 			return new NumUnitValue(marginOcc.getValue());
 		}
 	}
-	
-	
+
+
 	// returns a NumUnitValue instance that represents the margin-right of this element.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// or null.
@@ -285,15 +315,15 @@
 		} else {
 			marginOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMarginRight);
 		}
-		
+
 		if(marginOcc == null){
 			return null;
 		} else {
 			return new NumUnitValue(marginOcc.getValue());
 		}
 	}
-	
-	
+
+
 	// returns a NumUnitValue instance that represents the margin-bottom of this element.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// or null.
@@ -304,15 +334,15 @@
 		} else {
 			marginOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMarginBottom);
 		}
-		
+
 		if(marginOcc == null){
 			return null;
 		} else {
 			return new NumUnitValue(marginOcc.getValue());
 		}
 	}
-	
-	
+
+
 	// returns a NumUnitValue instance that represents the margin-left of this element.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// or null.
@@ -323,7 +353,7 @@
 		} else {
 			marginOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMarginLeft);
 		}
-		
+
 		if(marginOcc == null){
 			return null;
 		} else {
@@ -343,15 +373,15 @@
 		} else {
 			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderColor);
 		}
-		
+
 		if(colorOcc == null ){
 			return null;
 		} else {
 			return new ColorValue(colorOcc.getValue());
 		}
 	}
-	
-	
+
+
 	// returns a ColorValue instance that represents the color of this element's border-top.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -362,15 +392,15 @@
 		} else {
 			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopColor);
 		}
-		
+
 		if(colorOcc == null ){
 			return null;
 		} else {
 			return new ColorValue(colorOcc.getValue());
 		}
 	}
-	
-	
+
+
 	// returns a ColorValue instance that represents the color of this element's border-right.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -381,15 +411,15 @@
 		} else {
 			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightColor);
 		}
-		
+
 		if(colorOcc == null ){
 			return null;
 		} else {
 			return new ColorValue(colorOcc.getValue());
 		}
 	}
-	
-	
+
+
 	// returns a ColorValue instance that represents the color of this element's border-bottom.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -400,15 +430,15 @@
 		} else {
 			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomColor);
 		}
-		
+
 		if(colorOcc == null ){
 			return null;
 		} else {
 			return new ColorValue(colorOcc.getValue());
 		}
 	}
-	
-	
+
+
 	// returns a ColorValue instance that represents the color of this element's border-left.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -419,7 +449,7 @@
 		} else {
 			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftColor);
 		}
-		
+
 		if(colorOcc == null ){
 			return null;
 		} else {
@@ -439,7 +469,7 @@
 		} else {
 			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderStyle);
 		}
-		
+
 		if(styleOcc == null && styleClass != null){
 			return null;
 		} else if(styleOcc == null) {
@@ -453,8 +483,8 @@
 			}
 		}
 	}
-	
-	
+
+
 	// returns a ColorValue instance that represents the style of this element's border-top.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -465,7 +495,7 @@
 		} else {
 			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopStyle);
 		}
-		
+
 		if(styleOcc == null){
 			return null;
 		} else {
@@ -477,8 +507,8 @@
 			}
 		}
 	}
-	
-	
+
+
 	// returns a ColorValue instance that represents the style of this element's border-right.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -489,7 +519,7 @@
 		} else {
 			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightStyle);
 		}
-		
+
 		if(styleOcc == null){
 			return null;
 		} else {
@@ -501,8 +531,8 @@
 			}
 		}
 	}
-	
-	
+
+
 	// returns a ColorValue instance that represents the style of this element's border-bottom.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -513,7 +543,7 @@
 		} else {
 			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomStyle);
 		}
-		
+
 		if(styleOcc == null){
 			return null;
 		} else {
@@ -525,8 +555,8 @@
 			}
 		}
 	}
-	
-	
+
+
 	// returns a ColorValue instance that represents the style of this element's border-left.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -537,7 +567,7 @@
 		} else {
 			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftStyle);
 		}
-		
+
 		if(styleOcc == null){
 			return null;
 		} else {
@@ -549,7 +579,7 @@
 			}
 		}
 	}
-	
+
 
 	// returns a ColorValue instance that represents the width of this element's border.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
@@ -562,7 +592,7 @@
 		} else {
 			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderWidth);
 		}
-		
+
 		if(widthOcc == null && styleClass != null){
 			return null;
 		} else if(widthOcc == null) {
@@ -571,8 +601,8 @@
 			return new AbsoluteNumValue(widthOcc.getValue());
 		}
 	}
-	
-	
+
+
 	// returns a ColorValue instance that represents the width of this element's border-top.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -583,15 +613,15 @@
 		} else {
 			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopWidth);
 		}
-		
+
 		if(widthOcc == null){
 			return null;
 		} else {
 			return new AbsoluteNumValue(widthOcc.getValue());
 		}
 	}
-	
-	
+
+
 	// returns a ColorValue instance that represents the width of this element's border-right.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -602,15 +632,15 @@
 		} else {
 			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightWidth);
 		}
-		
+
 		if(widthOcc == null){
 			return null;
 		} else {
 			return new AbsoluteNumValue(widthOcc.getValue());
 		}
 	}
-	
-	
+
+
 	// returns a ColorValue instance that represents the width of this element's border-bottom.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -621,15 +651,15 @@
 		} else {
 			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomWidth);
 		}
-		
+
 		if(widthOcc == null){
 			return null;
 		} else {
 			return new AbsoluteNumValue(widthOcc.getValue());
 		}
 	}
-	
-	
+
+
 	// returns a ColorValue instance that represents the width of this element's border-left.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -640,14 +670,14 @@
 		} else {
 			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftWidth);
 		}
-		
+
 		if(widthOcc == null){
 			return null;
 		} else {
 			return new AbsoluteNumValue(widthOcc.getValue());
 		}
 	}
-	
+
 
 	// returns a NumUnitValue instance that represents the radius of this element's border.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
@@ -660,7 +690,7 @@
 		} else {
 			radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRadius);
 		}
-		
+
 		if(radiusOcc == null && styleClass != null){
 			return null;
 		} else if(radiusOcc == null) {
@@ -669,8 +699,8 @@
 			return new NumUnitValue(radiusOcc.getValue());
 		}
 	}
-	
-	
+
+
 	// returns a NumUnitValue instance that represents the radius of this element's border-top-left.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -681,15 +711,15 @@
 		} else {
 			radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopLeftRadius);
 		}
-		
+
 		if(radiusOcc == null){
 			return null;
 		} else {
 			return new NumUnitValue(radiusOcc.getValue());
 		}
 	}
-	
-	
+
+
 	// returns a NumUnitValue instance that represents the radius of this element's border-top-right.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -700,15 +730,15 @@
 		} else {
 			radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopRightRadius);
 		}
-		
+
 		if(radiusOcc == null){
 			return null;
 		} else {
 			return new NumUnitValue(radiusOcc.getValue());
 		}
 	}
-	
-	
+
+
 	// returns a NumUnitValue instance that represents the radius of this element's border-bottom-left.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -719,15 +749,15 @@
 		} else {
 			radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomLeftRadius);
 		}
-		
+
 		if(radiusOcc == null){
 			return null;
 		} else {
 			return new NumUnitValue(radiusOcc.getValue());
 		}
 	}
-	
-	
+
+
 	// returns a NumUnitValue instance that represents the radius of this element's border-bottom-right.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -738,7 +768,7 @@
 		} else {
 			radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomRightRadius);
 		}
-		
+
 		if(radiusOcc == null){
 			return null;
 		} else {
@@ -746,7 +776,7 @@
 		}
 	}
 
-	
+
 	// returns a NumUnitValue instance that represents the padding of this element.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
@@ -758,7 +788,7 @@
 		} else {
 			paddingOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlPadding);
 		}
-		
+
 		if(paddingOcc == null && styleClass != null){
 			return null;
 		} else if(paddingOcc == null) {
@@ -767,8 +797,8 @@
 			return new NumUnitValue(paddingOcc.getValue());
 		}		
 	}
-	
-	
+
+
 	// returns a NumUnitValue instance that represents the padding of this element's top.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -779,15 +809,15 @@
 		} else {
 			paddingOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlPaddingTop);
 		}
-		
+
 		if(paddingOcc == null){
 			return null;
 		} else {
 			return new NumUnitValue(paddingOcc.getValue());
 		}		
 	}
-	
-	
+
+
 	// returns a NumUnitValue instance that represents the padding of this element's right.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -798,7 +828,7 @@
 		} else {
 			paddingOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlPaddingRight);
 		}
-		
+
 		if(paddingOcc == null){
 			return null;
 		} else {
@@ -806,7 +836,7 @@
 		}		
 	}
 
-	
+
 	// returns a NumUnitValue instance that represents the padding of this element's bottom.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -817,15 +847,15 @@
 		} else {
 			paddingOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlPaddingBottom);
 		}
-		
+
 		if(paddingOcc == null){
 			return null;
 		} else {
 			return new NumUnitValue(paddingOcc.getValue());
 		}		
 	}
-	
-	
+
+
 	// returns a NumUnitValue instance that represents the padding of this element's left.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise.
@@ -836,7 +866,7 @@
 		} else {
 			paddingOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlPaddingLeft);
 		}
-		
+
 		if(paddingOcc == null){
 			return null;
 		} else {
@@ -856,7 +886,7 @@
 		} else {
 			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlWidth);
 		}
-		
+
 		if(widthOcc == null && styleClass != null){
 			return null;
 		} else if(widthOcc == null) {
@@ -865,8 +895,8 @@
 			return new AutoNumUnitValue(widthOcc.getValue());
 		}		
 	}
-	
-	
+
+
 	// returns an AutoNumUnitValue instance that represents the min-width of this element.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
@@ -878,7 +908,7 @@
 		} else {
 			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMinWidth);
 		}
-		
+
 		if(widthOcc == null && styleClass != null){
 			return null;
 		} else if(widthOcc == null) {
@@ -887,8 +917,8 @@
 			return new AutoNumUnitValue(widthOcc.getValue());
 		}		
 	}
-	
-	
+
+
 	// returns an AutoNumUnitValue instance that represents the max-width of this element.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
@@ -900,7 +930,7 @@
 		} else {
 			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMaxWidth);
 		}
-		
+
 		if(widthOcc == null && styleClass != null){
 			return null;
 		} else if(widthOcc == null) {
@@ -909,8 +939,8 @@
 			return new AutoNumUnitValue(widthOcc.getValue());
 		}		
 	}
-	
-	
+
+
 	// returns an AutoNumUnitValue instance that represents the height of this element.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
@@ -922,7 +952,7 @@
 		} else {
 			heightOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlHeight);
 		}
-		
+
 		if(heightOcc == null && styleClass != null){
 			return null;
 		} else if(heightOcc == null) {
@@ -931,8 +961,8 @@
 			return new AutoNumUnitValue(heightOcc.getValue());
 		}		
 	}
-	
-	
+
+
 	// returns an AutoNumUnitValue instance that represents the min-height of this element.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
@@ -944,7 +974,7 @@
 		} else {
 			heightOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMinHeight);
 		}
-		
+
 		if(heightOcc == null && styleClass != null){
 			return null;
 		} else if(heightOcc == null) {
@@ -953,8 +983,8 @@
 			return new AutoNumUnitValue(heightOcc.getValue());
 		}		
 	}
-	
-	
+
+
 	// returns an AutoNumUnitValue instance that represents the max-height of this element.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
@@ -966,7 +996,7 @@
 		} else {
 			heightOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMaxHeight);
 		}
-		
+
 		if(heightOcc == null && styleClass != null){
 			return null;
 		} else if(heightOcc == null) {
@@ -975,7 +1005,7 @@
 			return new AutoNumUnitValue(heightOcc.getValue());
 		}		
 	}
-	
+
 
 	// returns a CursorValue instance that represents the cursor of this element.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
@@ -988,7 +1018,7 @@
 		} else {
 			cursorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlCursor);
 		}
-		
+
 		if(cursorOcc == null && styleClass != null){
 			return null;
 		} else if(cursorOcc == null) {
@@ -998,14 +1028,14 @@
 				return CursorValue.valueOf(cursorOcc.getValue().toUpperCase().replace("-", "_"));
 			}catch(IllegalArgumentException e){
 				String values = "auto, default, crosshair, pointer, move, n-resize, ne-resize," +
-								"nw-resize, e-resize, se-resize, s-resize, sw-resize, w-resize," +
-								"text, wait, help, or progress";
+				"nw-resize, e-resize, se-resize, s-resize, sw-resize, w-resize," +
+				"text, wait, help, or progress";
 				throw new InvalidGdlSchemaException("cursor must be set to one of " + values + ", but is " + cursorOcc.getValue());
 			}
 		}	
 	}
-	
-	
+
+
 	// returns a ColorValue instance that represents the background-color of this element.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
 	// null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
@@ -1017,7 +1047,7 @@
 		} else {
 			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBackgroundColor);
 		}
-		
+
 		if(colorOcc == null && styleClass != null){
 			return null;
 		} else if(colorOcc == null) {
@@ -1026,7 +1056,7 @@
 			return new ColorValue(colorOcc.getValue());
 		}	
 	}
-	
+
 
 	// returns an Overflow instance that represents the overflow property of this element.
 	// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
@@ -1039,7 +1069,7 @@
 		} else {
 			overflowOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlOverflow);
 		}
-		
+
 		if(overflowOcc == null && styleClass != null){
 			return null;
 		} else if(overflowOcc == null) {
@@ -1057,544 +1087,315 @@
 			}
 		}	
 	}
-	
-	
+
+
 	// sets the id property of this element by using the GWT DOM class
 	public void setId(String id){
 		if(id != null){
 			DOM.setElementProperty(this.getElement(), "id", id);
 		}
 	}
-	
-	
+
+
 	// sets the display style property of this element by using the GWT DOM class
 	public void setDisplay(Display display){
 		if(display != null){
 			DOM.setStyleAttribute(this.getElement(), "display", display.getCssName());
 		}
 	}
-	
-	
+
+
 	// sets the z-index style property of this element by using the GWT DOM class
 	public void setZindex(AutoNumValue value){
 		if(value != null){
 			DOM.setStyleAttribute(this.getElement(), "zIndex", value.getCssValue());
 		}
 	}
-	
-	
+
+
 	// sets the float style property of this element by using the GWT DOM class
 	public void setFloat(Float value){
 		if(value != null){
 			DOM.setStyleAttribute(this.getElement(), "float", value.getCssName());
 		}
 	}
-	
-	
+
+
 	// sets the clear style property of this element by using the GWT DOM class
 	public void setClear(ClearValue value){
 		if(value != null){
 			DOM.setStyleAttribute(this.getElement(), "clear", value.getCssValue());
 		}
 	}
-	
-	
+
+
 	// sets the vertical-align style property of this element by using the GWT DOM class
-	public void setVerticalAlign(VerticalAlign value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "verticalAlign", value.getCssName());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setVerticalAlign(VerticalAlign value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "verticalAlign", value.getCssName());
 	}
-	
-	
+
+
 	// sets the margin style property of this element by using the GWT DOM class
-	public void setMargin(NumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "margin", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setMargin(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "margin", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the margin-top style property of this element by using the GWT DOM class
-	public void setMarginTop(NumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "marginTop", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setMarginTop(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "marginTop", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the margin-right style property of this element by using the GWT DOM class
-	public void setMarginRight(NumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "marginRight", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setMarginRight(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "marginRight", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the margin-bottom style property of this element by using the GWT DOM class
-	public void setMarginBottom(NumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "marginBottom", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setMarginBottom(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "marginBottom", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the margin-left style property of this element by using the GWT DOM class
-	public void setMarginLeft(NumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "marginLeft", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setMarginLeft(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "marginLeft", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-color style property of this element by using the GWT DOM class
-	public void setBorderColor(ColorValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderColor", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderColor", value.getCssValue());
 	}
 
-	
+
 	// sets the border-top-color style property of this element by using the GWT DOM class
-	public void setBorderTopColor(ColorValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderTopColor", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderTopColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderTopColor", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-right-color style property of this element by using the GWT DOM class
-	public void setBorderRightColor(ColorValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderRightColor", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderRightColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderRightColor", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-bottom-color style property of this element by using the GWT DOM class
-	public void setBorderBottomColor(ColorValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderBottomColor", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderBottomColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderBottomColor", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-left-color style property of this element by using the GWT DOM class
-	public void setBorderLeftColor(ColorValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderLeftColor", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderLeftColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderLeftColor", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-style style property of this element by using the GWT DOM class
-	public void setBorderStyle(BorderStyleValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderStyle", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderStyle", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-top-style style property of this element by using the GWT DOM class
-	public void setBorderTopStyle(BorderStyleValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderTopStyle", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderTopStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderTopStyle", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-right-style style property of this element by using the GWT DOM class
-	public void setBorderRightStyle(BorderStyleValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderRightStyle", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderRightStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderRightStyle", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-bottom-style style property of this element by using the GWT DOM class
-	public void setBorderBottomStyle(BorderStyleValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderBottomStyle", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderBottomStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderBottomStyle", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-left-style style property of this element by using the GWT DOM class
-	public void setBorderLeftStyle(BorderStyleValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderLeftStyle", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderLeftStyle(BorderStyleValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderLeftStyle", value.getCssValue());
 	}
 
-	
+
 	// sets the border-width style property of this element by using the GWT DOM class
-	public void setBorderWidth(AbsoluteNumValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderWidth", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderWidth", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-width style property of this element by using the GWT DOM class
-	public void setBorderTopWidth(AbsoluteNumValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderTopWidth", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderTopWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderTopWidth", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-width style property of this element by using the GWT DOM class
-	public void setBorderRightWidth(AbsoluteNumValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderRightWidth", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderRightWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderRightWidth", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-width style property of this element by using the GWT DOM class
-	public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderBottomWidth", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderBottomWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderBottomWidth", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-width style property of this element by using the GWT DOM class
-	public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderLeftWidth", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderLeftWidth(AbsoluteNumValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderLeftWidth", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-radius style property of this element by using the GWT DOM class
-	public void setBorderRadius(NumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderRadius", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderRadius", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-top-right-radius style property of this element by using the GWT DOM class
-	public void setBorderTopRightRadius(NumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderTopRightRadius", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderTopRightRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderTopRightRadius", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-bottom-right-radius style property of this element by using the GWT DOM class
-	public void setBorderBottomRightRadius(NumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderBottomRightRadius", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderBottomRightRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderBottomRightRadius", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-bottom-left-radius style property of this element by using the GWT DOM class
-	public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderBottomLeftRadius", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderBottomLeftRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderBottomLeftRadius", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the border-top-left-radius style property of this element by using the GWT DOM class
-	public void setBorderTopLeftRadius(NumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "borderTopLeftRadius", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBorderTopLeftRadius(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "borderTopLeftRadius", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the padding style property of this element by using the GWT DOM class
-	public void setPadding(NumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "padding", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setPadding(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "padding", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the padding-top style property of this element by using the GWT DOM class
-	public void setPaddingTop(NumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "paddingTop", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setPaddingTop(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "paddingTop", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the padding-right style property of this element by using the GWT DOM class
-	public void setPaddingRight(NumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "paddingRight", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setPaddingRight(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "paddingRight", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the padding-bottom style property of this element by using the GWT DOM class
-	public void setPaddingBottom(NumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "paddingBottom", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setPaddingBottom(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "paddingBottom", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the padding-left style property of this element by using the GWT DOM class
-	public void setPaddingLeft(NumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "paddingLeft", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setPaddingLeft(NumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "paddingLeft", value.getCssValue());
 	}
-	
+
 
 	// sets the width style property of this element by using the GWT DOM class
-	public void setWidth(AutoNumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "width", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setWidth(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "width", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the min-width style property of this element by using the GWT DOM class
-	public void setMinWidth(AutoNumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "minWidth", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setMinWidth(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "minWidth", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the max-width style property of this element by using the GWT DOM class
-	public void setMaxWidth(AutoNumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "maxWidth", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setMaxWidth(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "maxHeight", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the height style property of this element by using the GWT DOM class
-	public void setHeight(AutoNumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-			DOM.setStyleAttribute(this.getElement(), "height", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setHeight(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "height", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the min-height style property of this element by using the GWT DOM class
-	public void setMinHeight(AutoNumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "minHeight", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setMinHeight(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "minHeight", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the max-height style property of this element by using the GWT DOM class
-	public void setMaxHeight(AutoNumUnitValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "maxHeight", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setMaxHeight(AutoNumUnitValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "maxHeight", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the cursor style property of this element by using the GWT DOM class
-	public void setCursor(CursorValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "cursor", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setCursor(CursorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "cursor", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the background-color style property of this element by using the GWT DOM class
-	public void setBackgroundColor(ColorValue value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "backgroundColor", value.getCssValue());
-			} else {
-				// TODO: implement
-			}
-		}
+	public void setBackgroundColor(ColorValue value, String styleClass)throws InvalidGdlSchemaException, ExecutionException{
+		if(value != null) this.setCssProperty(styleClass, "backgroundColor", value.getCssValue());
 	}
-	
-	
+
+
 	// sets the overflow style property of this element by using the GWT DOM class
-	public void setOverflow(Overflow value, String styleClass){
-		if(value != null){
-			if(styleClass == null){
-				DOM.setStyleAttribute(this.getElement(), "overlof", value.getCssName());
-			} else {
-				// TODO: implement
-			}
+	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.
+	// If a styleClass is given, the style is applied to either active, hover or focus
+	private void setCssProperty(String styleClass, String cssProperty, String cssValue)throws InvalidGdlSchemaException, ExecutionException{
+		if(cssValue == null || cssProperty == null) return;
+
+		if(styleClass == null){
+			DOM.setStyleAttribute(this.getElement(), cssProperty, cssValue);
+		} else if(styleClass.equals(GdlPsis.Scope.gdlActive)){
+			this.activeStyleHandler.addCssStyle(new Pair<String, String>(cssProperty, cssValue));
+		} else if(styleClass.equals(GdlPsis.Scope.gdlFocus)){
+			this.focusStyleHandler.addCssStyle(new Pair<String, String>(cssProperty, cssValue));
+		} else if (styleClass.equals(GdlPsis.Scope.gdlHover)){
+			this.hoverStyleHandler.addCssStyle(new Pair<String, String>(cssProperty, cssValue));
+		} else {
+			String values = GdlPsis.Scope.gdlActive + ", " + GdlPsis.Scope.gdlFocus + ", " + GdlPsis.Scope.gdlHover; 
+			throw new InvalidGdlSchemaException("GDL defines only the style classes " + values + ", but found " + styleClass);
 		}
 	}
-	
-	
-	
-	
-	
-	
-	// TODO: handle styleClass in the setterMethods
-	
-	
-	
-	
-	
-	public void setGdlStyle() throws InvalidGdlSchemaException {
+
+
+	// sets all GDL styles that are defined by the topic map representative
+	public void setGdlStyle() throws InvalidGdlSchemaException, ExecutionException {
 		this.setDisplay(this.getDisplay());
 		this.setZindex(this.getZindex());
 		this.setFloat(this.getFloat());
 		this.setClear(this.getClear());
-		
+
 		String[] styleClasses = new String[]{null, GdlPsis.Scope.gdlActive, GdlPsis.Scope.gdlFocus, GdlPsis.Scope.gdlHover};
 		for (String styleClass : styleClasses) {
 			this.setVerticalAlign(this.getVerticalAlign(styleClass), styleClass);
@@ -1638,5 +1439,148 @@
 			this.setBackgroundColor(this.getBackgroundColor(styleClass), styleClass);
 			this.setOverflow(this.getOverflow(styleClass), styleClass);
 		}
+		
+		// registers the handlers for the CSS pseudo classes
+		this.addMouseDownHandler(this.activeStyleHandler);
+		this.addMouseUpHandler(this.activeStyleHandler);
+		this.addFocusHandler(this.focusStyleHandler);
+		this.addBlurHandler(this.focusStyleHandler);
+		this.addMouseOutHandler(this.hoverStyleHandler);
+		this.addMouseOverHandler(this.hoverStyleHandler);
+	}
+
+
+	// registers a click handler for this element
+	@Override
+	public HandlerRegistration addClickHandler(ClickHandler handler) {
+		return this.addDomHandler(handler, ClickEvent.getType());
+	}
+
+
+	// registers a mouse out handler on this element
+	@Override
+	public HandlerRegistration addMouseOutHandler(MouseOutHandler handler) {
+		return this.addDomHandler(handler, MouseOutEvent.getType());
+	}
+
+
+	// registers a mouse over handler on this element
+	@Override
+	public HandlerRegistration addMouseOverHandler(MouseOverHandler handler) {
+		return this.addDomHandler(handler, MouseOverEvent.getType());
+	}
+
+
+	// registers a focus handler on this element
+	@Override
+	public HandlerRegistration addFocusHandler(FocusHandler handler) {
+		return this.addDomHandler(handler, FocusEvent.getType());
+	}
+	
+	
+	// registers a mouse down handler on this element
+	@Override
+	public HandlerRegistration addMouseDownHandler(MouseDownHandler handler) {
+		return this.addDomHandler(handler, MouseDownEvent.getType());
+	}
+	
+	
+	// registers a mouse down handler on this element
+	@Override
+	public HandlerRegistration addMouseUpHandler(MouseUpHandler handler) {
+		return this.addDomHandler(handler, MouseUpEvent.getType());
+	}
+	
+	
+	// registers a blur on this element
+	@Override
+	public HandlerRegistration addBlurHandler(BlurHandler handler) {
+		return this.addDomHandler(handler, BlurEvent.getType());
+	}
+	
+	
+	// this class is used as base for all style handlers, so a style property
+	// can be added to a style handler by adding a Pair<String, String> instance
+	protected class CssStyleHandler{
+		private ArrayList<Pair<String, String>> cssNameAndValues = new ArrayList<Pair<String,String>>();
+		private ArrayList<Pair<String, String>> cssPreviousNameAndValues = new ArrayList<Pair<String,String>>();
+		
+
+		// adds a CSS name value pair
+		public void addCssStyle(Pair<String, String> cssNameAndValue) {
+			if(cssNameAndValue != null && cssNameAndValue.getFirst() != null && cssNameAndValue.getSecond() != null){
+				this.cssNameAndValues.add(cssNameAndValue);
+			}
+		}
+		
+		
+		// sets the stored CSS name/value pairs
+		public void setStyles(){
+			for (Pair<String, String> cssNameValue : this.cssNameAndValues) {
+				Pair<String, String> oldNameValue = null;
+				String oldVal = DOM.getStyleAttribute(GdlVisibleObject.this.getElement(), cssNameValue.getFirst());
+				if(oldVal != null && oldVal.length() != 0){
+					oldNameValue = new Pair<String, String>(cssNameValue.getFirst(), oldVal);
+					this.cssPreviousNameAndValues.add(oldNameValue);
+				}
+				DOM.setStyleAttribute(GdlVisibleObject.this.getElement(), cssNameValue.getFirst(), cssNameValue.getSecond());
+			}
+		}
+
+		
+		// must sets the original style that is bound to the non-pseudo-class name space
+		public void unsetStyles(){
+			for (Pair<String, String> oldNameValue : this.cssPreviousNameAndValues) {
+				DOM.setStyleAttribute(GdlVisibleObject.this.getElement(), oldNameValue.getFirst(), oldNameValue.getSecond());
+			}
+		}
+	}
+	
+	
+	// this class is used to set the style of focused elements
+	protected class FocusStyleHandler extends CssStyleHandler implements FocusHandler, BlurHandler{
+
+		@Override
+		public void onFocus(FocusEvent event) {
+			super.setStyles();
+		}
+		
+
+		@Override
+		public void onBlur(BlurEvent event) {
+			super.unsetStyles();
+		}
+	}
+	
+	
+	// this class is used to set the style of hovered elements
+	protected class HoverStyleHandler extends CssStyleHandler implements MouseOverHandler, MouseOutHandler {
+
+		@Override
+		public void onMouseOut(MouseOutEvent event) {
+			super.unsetStyles();
+		}
+
+		@Override
+		public void onMouseOver(MouseOverEvent event) {
+			super.setStyles();
+		}
+	}
+	
+	
+	// this class is used to set the style of active elements
+	protected class ActiveStyleHandler extends CssStyleHandler implements MouseDownHandler, MouseUpHandler {
+		
+
+		@Override
+		public void onMouseUp(MouseUpEvent event) {
+			super.unsetStyles();
+		}
+
+		@Override
+		public void onMouseDown(MouseDownEvent event) {
+			super.setStyles();
+		}
+		
 	}
 }

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java	Sun Jul  3 23:00:30 2011	(r554)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java	Mon Jul  4 07:26:24 2011	(r555)
@@ -1,6 +1,7 @@
 package us.isidor.gdl.anaToMia.Widgets.base;
 
 import us.isidor.gdl.anaToMia.TmEngine.jtmsBasedEngine.JtmsTmEngine;
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
 import us.isidor.gdl.anaToMia.Widgets.isidorus.LoadSchemaCallback;
 import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
@@ -20,38 +21,39 @@
 	
 	@Override
 	public void onModuleLoad() {
-		Window.alert("TEST !!!");
-		RootPanel.get("GWT_Content").add(mainPanel);
-		mainPanel.setBorderWidth(1);
-		mainPanel.setPixelSize(500, 500);
-		
-		gdlPanel = new GdlPanel("");
-		gdlPanel.setPixelSize(100, 100);
-		DOM.setStyleAttribute(gdlPanel.getElement(), "backgroundColor", "yellow");
-		mainPanel.add(gdlPanel);
-		gdlPanel.setTmEngine(new JtmsTmEngine());
-		
-
-		Button requestButton = new Button("start request");
-		requestButton.addClickHandler(new ClickHandler() {
-			@Override
-			public void onClick(ClickEvent event) {
-				LoadSchemaCallback callback = new LoadSchemaCallback();
-				try{
-					callback.loadSchema(gdlPanel, "", new String[]{});
-				}catch(Exception e){
-					Window.alert("cought error: " + e.getLocalizedMessage());
+		try{
+			Window.alert("TEST !!!");
+			RootPanel.get("GWT_Content").add(mainPanel);
+			mainPanel.setBorderWidth(1);
+			mainPanel.setPixelSize(500, 500);
+			
+			gdlPanel = new GdlPanel("");
+			gdlPanel.setPixelSize(100, 100);
+			DOM.setStyleAttribute(gdlPanel.getElement(), "backgroundColor", "yellow");
+			mainPanel.add(gdlPanel);
+			gdlPanel.setTmEngine(new JtmsTmEngine());
+			
+	
+			Button requestButton = new Button("start request");
+			requestButton.addClickHandler(new ClickHandler() {
+				@Override
+				public void onClick(ClickEvent event) {
+					LoadSchemaCallback callback = new LoadSchemaCallback();
+					try{
+						callback.loadSchema(gdlPanel, "", new String[]{});
+					}catch(Exception e){
+						Window.alert("cought error: " + e.getLocalizedMessage());
+					}
 				}
-			}
-		});
-		
-		mainPanel.add(requestButton);
+			});
+			
+			mainPanel.add(requestButton);
 		
 		
 		
 		
 		// only for testing
-		try{
+	
 			Topic tmpRepresentative = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator("http://test.org/test-top"));
 			Topic gdlBackgroundColor = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlBackgroundColor));
 			Topic gdlId = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlId));
@@ -69,6 +71,10 @@
 			Topic gdlBorderBottomColor = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlBorderBottomColor));
 			Topic gdlBorderStyle = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlBorderStyle));
 			Topic gdlBorderWidth = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlBorderWidth));
+			Topic gdlHover = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.Scope.gdlHover));
+			Topic gdlActive = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.Scope.gdlActive));
+			Topic gdlFocus = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.Scope.gdlFocus));
+			
 			
 			tmpRepresentative.createOccurrence(gdlBackgroundColor, "red", null);
 			tmpRepresentative.createOccurrence(gdlId, "ID_1", null);
@@ -86,15 +92,15 @@
 			tmpRepresentative.createOccurrence(gdlBorderBottomColor, "rgb(100%, 100%, 0%)", null);
 			tmpRepresentative.createOccurrence(gdlBorderStyle, "dashed", null);
 			tmpRepresentative.createOccurrence(gdlBorderWidth, "5px", null);
-			
-			GdlVisibleObject tmp = new GdlVisibleObject(tmpRepresentative){};
-
-			
+			Occurrence bgcHover = tmpRepresentative.createOccurrence(gdlBackgroundColor, "green", null);
+			bgcHover.addTheme(gdlHover);
+			Occurrence bgcActive = tmpRepresentative.createOccurrence(gdlBackgroundColor, "purple", null);
+			bgcActive.addTheme(gdlActive);
+			Occurrence bgcFocus = tmpRepresentative.createOccurrence(gdlBackgroundColor, "silver", null);
+			bgcFocus.addTheme(gdlFocus);
 			
 			
-			
-		
-			
+			GdlVisibleObject tmp = new GdlVisibleObject(tmpRepresentative){};
 			this.mainPanel.add(tmp);
 		}catch(Exception e){
 			e.printStackTrace();

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlAssociationView.java	Sun Jul  3 23:00:30 2011	(r554)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlAssociationView.java	Mon Jul  4 07:26:24 2011	(r555)
@@ -1,12 +1,13 @@
 package us.isidor.gdl.anaToMia.Widgets.views;
 
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
 
 
 public abstract class GdlAssociationView extends GdlView {
 
-	public GdlAssociationView(Topic tmRepresentative) throws InvalidGdlSchemaException {
+	public GdlAssociationView(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException {
 		super(tmRepresentative);
 		// TODO Auto-generated constructor stub
 	}

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	Sun Jul  3 23:00:30 2011	(r554)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java	Mon Jul  4 07:26:24 2011	(r555)
@@ -7,12 +7,13 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
 import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
 
 
 public class GdlCreatorAssociationView extends GdlAssociationView {
 
-	public GdlCreatorAssociationView(Topic tmRepresentative) throws InvalidGdlSchemaException {
+	public GdlCreatorAssociationView(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException {
 		super(tmRepresentative);
 		// TODO Auto-generated constructor 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	Sun Jul  3 23:00:30 2011	(r554)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java	Mon Jul  4 07:26:24 2011	(r555)
@@ -6,13 +6,14 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
 import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
 
 
 public class GdlDefaultCreatorTopicView extends GdlDefaultTopicView{
 	// TODO: implement
 	
-	public GdlDefaultCreatorTopicView(Topic tmRepresentative) throws InvalidGdlSchemaException {
+	public GdlDefaultCreatorTopicView(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException {
 		super(tmRepresentative);
 		// TODO Auto-generated constructor stub
 	}

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultEditorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultEditorTopicView.java	Sun Jul  3 23:00:30 2011	(r554)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultEditorTopicView.java	Mon Jul  4 07:26:24 2011	(r555)
@@ -6,12 +6,13 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
 import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
 
 
 public abstract class GdlDefaultEditorTopicView extends GdlDefaultTopicView {
 
-	public GdlDefaultEditorTopicView(Topic tmRepresentative) throws InvalidGdlSchemaException {
+	public GdlDefaultEditorTopicView(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException {
 		super(tmRepresentative);
 		// TODO Auto-generated constructor stub
 	}

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultTopicView.java	Sun Jul  3 23:00:30 2011	(r554)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultTopicView.java	Mon Jul  4 07:26:24 2011	(r555)
@@ -1,11 +1,12 @@
 package us.isidor.gdl.anaToMia.Widgets.views;
 
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
 
 public abstract class GdlDefaultTopicView extends GdlTopicView {
 
-	public GdlDefaultTopicView(Topic tmRepresentative) throws InvalidGdlSchemaException {
+	public GdlDefaultTopicView(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException {
 		super(tmRepresentative);
 		// TODO Auto-generated constructor 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	Sun Jul  3 23:00:30 2011	(r554)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java	Mon Jul  4 07:26:24 2011	(r555)
@@ -7,12 +7,13 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
 import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
 
 
 public class GdlEditorAssociationView extends GdlAssociationView {
 
-	public GdlEditorAssociationView(Topic tmRepresentative) throws InvalidGdlSchemaException {
+	public GdlEditorAssociationView(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException {
 		super(tmRepresentative);
 		// TODO Auto-generated constructor 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	Sun Jul  3 23:00:30 2011	(r554)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java	Mon Jul  4 07:26:24 2011	(r555)
@@ -6,12 +6,13 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
 import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
 
 public class GdlSpecialCreatorTopicView extends GdlSpecialTopicView{
 	// TODO: implement
 	
-	public GdlSpecialCreatorTopicView(Topic tmRepresentative) throws InvalidGdlSchemaException {
+	public GdlSpecialCreatorTopicView(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException {
 		super(tmRepresentative);
 		// TODO Auto-generated constructor 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	Sun Jul  3 23:00:30 2011	(r554)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java	Mon Jul  4 07:26:24 2011	(r555)
@@ -6,6 +6,7 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
 import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
 
 
@@ -13,7 +14,7 @@
 	// TODO: implement
 	
 	
-	public GdlSpecialEditorTopicView(Topic tmRepresentative) throws InvalidGdlSchemaException {
+	public GdlSpecialEditorTopicView(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException {
 		super(tmRepresentative);
 		// TODO Auto-generated constructor stub
 	}

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialTopicView.java	Sun Jul  3 23:00:30 2011	(r554)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialTopicView.java	Mon Jul  4 07:26:24 2011	(r555)
@@ -1,11 +1,12 @@
 package us.isidor.gdl.anaToMia.Widgets.views;
 
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
 
 public abstract class GdlSpecialTopicView extends GdlTopicView {
 
-	public GdlSpecialTopicView(Topic tmRepresentative) throws InvalidGdlSchemaException {
+	public GdlSpecialTopicView(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException {
 		super(tmRepresentative);
 		// TODO Auto-generated constructor stub
 	}

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlTopicView.java	Sun Jul  3 23:00:30 2011	(r554)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlTopicView.java	Mon Jul  4 07:26:24 2011	(r555)
@@ -1,12 +1,13 @@
 package us.isidor.gdl.anaToMia.Widgets.views;
 
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
 
 
 public abstract class GdlTopicView extends GdlView {
 
-	public GdlTopicView(Topic tmRepresentative)  throws InvalidGdlSchemaException{
+	public GdlTopicView(Topic tmRepresentative)  throws InvalidGdlSchemaException, ExecutionException{
 		super(tmRepresentative);
 		// TODO Auto-generated constructor stub
 	}

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.java	Sun Jul  3 23:00:30 2011	(r554)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.java	Mon Jul  4 07:26:24 2011	(r555)
@@ -10,6 +10,7 @@
 import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
 import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
 import us.isidor.gdl.anaToMia.Widgets.base.IGdlContainer;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
 
 
@@ -21,7 +22,7 @@
 	
 	
 	
-	public GdlView(Topic tmRepresentative) throws InvalidGdlSchemaException{
+	public GdlView(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
 		super(tmRepresentative);
 		// TODO: implement
 	}
@@ -55,6 +56,9 @@
 	
 	public abstract void deregisterButtonCallback(ClickHandler handler, String id);
 	
+	// TODO: implement addXYZhandler(handler, id);
+	
+	
 	
 	// hierarchy
 	//




More information about the Isidorus-cvs mailing list