[isidorus-cvs] r726 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets: src/us/isidor/gdl/anaToMia/Widgets/base src/us/isidor/gdl/anaToMia/Widgets/button src/us/isidor/gdl/anaToMia/Widgets/complexData src/us/isidor/gdl/anaToMia/Widgets/container src/us/isidor/gdl/anaToMia/Widgets/environment src/us/isidor/gdl/anaToMia/Widgets/text src/us/isidor/gdl/anaToMia/Widgets/view war/gdl_widgets

lgiessmann at common-lisp.net lgiessmann at common-lisp.net
Mon Aug 15 08:26:59 UTC 2011


Author: lgiessmann
Date: Mon Aug 15 01:26:58 2011
New Revision: 726

Log:
gdl-frontend: Widgets: fixed the test jtm gdl-schema

Added:
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/PSIs.java
      - copied, changed from r725, branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java
Deleted:
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java
Modified:
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPanel.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPosition.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TmHelper.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlActionButton.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlAudio.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlImage.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlVideo.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/GdlInstantiator.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlListBox.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.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/text/GdlTitle.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlView.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPanel.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPanel.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPanel.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -42,7 +42,7 @@
 	// the topic map that is the base of the created GDL view
 	private TopicMap requestedSchemaTm = null;
 	// the locator of the topic map "requestedSchemaTm"
-	private final String REQUESTED_SCHEMA_TOPIC_MAP_LOCATOR = GdlPsis.gdl + "topicmap/tm-1";
+	private final String REQUESTED_SCHEMA_TOPIC_MAP_LOCATOR = PSIs.gdl + "topicmap/tm-1";
 	
 	// callback instance for getting/loading the GDL schema
 	private ILoadSchemaCallback loadSchemaCallback = null;

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPosition.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPosition.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPosition.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -64,7 +64,7 @@
 	
 	public AutoNumUnitValue getTop() throws InvalidGdlSchemaException {
 		Occurrence topOcc = null;
-		topOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlTop);
+		topOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlTop);
 
 		if(topOcc == null) return null;
 		else return new AutoNumUnitValue(topOcc.getValue());
@@ -73,7 +73,7 @@
 	
 	public AutoNumUnitValue getRight() throws InvalidGdlSchemaException {
 		Occurrence rightOcc = null;
-		rightOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlRight);
+		rightOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlRight);
 
 		if(rightOcc == null) return null;
 		else return new AutoNumUnitValue(rightOcc.getValue());
@@ -82,7 +82,7 @@
 	
 	public AutoNumUnitValue getBottom() throws InvalidGdlSchemaException {
 		Occurrence bottomOcc = null;
-		bottomOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBottom);
+		bottomOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBottom);
 
 		if(bottomOcc == null) return null;
 		else return new AutoNumUnitValue(bottomOcc.getValue());
@@ -91,7 +91,7 @@
 	
 	public AutoNumUnitValue getLeft() throws InvalidGdlSchemaException {
 		Occurrence leftOcc = null;
-		leftOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlLeft);
+		leftOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlLeft);
 
 		if(leftOcc == null) return null;
 		else return new AutoNumUnitValue(leftOcc.getValue());
@@ -100,7 +100,7 @@
 	
 	public PositionStyleValue getPositionStyle()throws InvalidGdlSchemaException {
 		Occurrence positionStyleOcc = null;
-		positionStyleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlPositionStyle);
+		positionStyleOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlPositionStyle);
 
 		if(positionStyleOcc == null) return null;
 		else try{

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -222,9 +222,9 @@
 
 	// returns the string value of a gdl:id occurrence
 	public String getId() throws InvalidGdlSchemaException {
-		JsArray<Occurrence> idOccs = getOccurrences(GdlPsis.OccurrenceType.gdlId);
+		JsArray<Occurrence> idOccs = getOccurrences(PSIs.OccurrenceType.gdlId);
 		if(idOccs.length() != 1){
-			throw new InvalidGdlSchemaException("The topic " + TmHelper.getAnyIdOfTopic(this.tmRepresentative) + " must be bound to exactly one occurrence of the type " + GdlPsis.OccurrenceType.gdlId + ", but is bound " + idOccs.length() + " times to it");
+			throw new InvalidGdlSchemaException("The topic " + TmHelper.getAnyIdOfTopic(this.tmRepresentative) + " must be bound to exactly one occurrence of the type " + PSIs.OccurrenceType.gdlId + ", but is bound " + idOccs.length() + " times to it");
 		} else {
 			return idOccs.get(0).getValue();
 		}
@@ -234,7 +234,7 @@
 	// 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);
+		Occurrence displayOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlDisplay);
 		
 		if(displayOcc != null){
 			String value = displayOcc.getValue().toLowerCase();
@@ -247,7 +247,7 @@
 			} else if(value.equals("block")){
 				return Display.BLOCK;
 			} else {
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlDisplay + " must be set to one of \"none\", \"inline\", \"inline-block\" or \"block\", but is \"" + displayOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlDisplay + " must be set to one of \"none\", \"inline\", \"inline-block\" or \"block\", but is \"" + displayOcc.getValue() + "\"");
 			}
 		} else {
 			return Display.INLINE_BLOCK;
@@ -258,7 +258,7 @@
 	// 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 {
-		Occurrence zOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlZindex);
+		Occurrence zOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlZindex);
 		if(zOcc != null){
 			return new AutoNumValue(zOcc.getValue());
 		} else {
@@ -270,7 +270,7 @@
 	// 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);
+		Occurrence floatOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlFloat);
 		
 		if(floatOcc != null){
 			String value = floatOcc.getValue().toLowerCase();
@@ -281,7 +281,7 @@
 			} else if (value.equals("right")){
 				return Float.RIGHT;
 			} else {
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlFloat + " must be set to one of \"none\", \"left\" or \"right\", but is \"" + floatOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlFloat + " must be set to one of \"none\", \"left\" or \"right\", but is \"" + floatOcc.getValue() + "\"");
 			}
 		} else {
 			return Float.NONE;
@@ -292,13 +292,13 @@
 	// 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.gdlClear);
+		Occurrence clearOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlClear);
 
 		if(clearOcc != null){
 			try{
 				return ClearValue.valueOf(clearOcc.getValue().toUpperCase());
 			}catch(IllegalArgumentException e){
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlClear + " must be set to one of \"none\", \"left\", \"right\" or \"both\", but is \"" + clearOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlClear + " must be set to one of \"none\", \"left\", \"right\" or \"both\", but is \"" + clearOcc.getValue() + "\"");
 			}
 		} else {
 			return ClearValue.NONE;
@@ -309,13 +309,13 @@
 	// returns a ContentOrientationValue instance of a gdl:content-orientation occurrence or the default value for
 	// this property if no gdl:content-orientation occurrence is available
 	public ContentOrientationValue getContentOrientation() throws InvalidGdlSchemaException {
-		Occurrence orientationOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlContentOrientation);
+		Occurrence orientationOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlContentOrientation);
 
 		if(orientationOcc != null){
 			try{
 				return ContentOrientationValue.valueOf(orientationOcc.getValue().toUpperCase());
 			}catch(IllegalArgumentException e){
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlContentOrientation + " must be set to one of \"horizontal\" or \"vertical\", but is \"" + orientationOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlContentOrientation + " must be set to one of \"horizontal\" or \"vertical\", but is \"" + orientationOcc.getValue() + "\"");
 			}
 		} else {
 			return ContentOrientationValue.VERTICAL;
@@ -330,9 +330,9 @@
 	public VerticalAlign getVerticalAlign(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence vaOcc = null;
 		if(styleClass != null){
-			vaOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlVerticalAlign, styleClass);
+			vaOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlVerticalAlign, styleClass);
 		} else {
-			vaOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlVerticalAlign);
+			vaOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlVerticalAlign);
 		}
 
 		if(vaOcc == null && styleClass != null){
@@ -358,7 +358,7 @@
 			}else if(value.equals("text-bottom")) {
 				return VerticalAlign.TEXT_BOTTOM;
 			} else {
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlVerticalAlign + " must be set to one of \"baseline\", \"sub\", \"super\", \"top\", \"text-top\", \"middle\", \"bottom\" or \"text-bottom\", but is \"" + vaOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlVerticalAlign + " must be set to one of \"baseline\", \"sub\", \"super\", \"top\", \"text-top\", \"middle\", \"bottom\" or \"text-bottom\", but is \"" + vaOcc.getValue() + "\"");
 			}
 		}
 	}
@@ -371,9 +371,9 @@
 	public NumUnitValue getMargin(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence marginOcc = null;
 		if(styleClass != null){
-			marginOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlMargin, styleClass);
+			marginOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlMargin, styleClass);
 		} else {
-			marginOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMargin);
+			marginOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlMargin);
 		}
 
 		if(marginOcc == null && styleClass != null){
@@ -392,9 +392,9 @@
 	public NumUnitValue getMarginTop(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence marginOcc = null;
 		if(styleClass != null){
-			marginOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlMarginTop, styleClass);
+			marginOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlMarginTop, styleClass);
 		} else {
-			marginOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMarginTop);
+			marginOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlMarginTop);
 		}
 
 		if(marginOcc == null){
@@ -411,9 +411,9 @@
 	public NumUnitValue getMarginRight(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence marginOcc = null;
 		if(styleClass != null){
-			marginOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlMarginRight, styleClass);
+			marginOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlMarginRight, styleClass);
 		} else {
-			marginOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMarginRight);
+			marginOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlMarginRight);
 		}
 
 		if(marginOcc == null){
@@ -430,9 +430,9 @@
 	public NumUnitValue getMarginBottom(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence marginOcc = null;
 		if(styleClass != null){
-			marginOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlMarginBottom, styleClass);
+			marginOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlMarginBottom, styleClass);
 		} else {
-			marginOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMarginBottom);
+			marginOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlMarginBottom);
 		}
 
 		if(marginOcc == null){
@@ -449,9 +449,9 @@
 	public NumUnitValue getMarginLeft(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence marginOcc = null;
 		if(styleClass != null){
-			marginOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlMarginLeft, styleClass);
+			marginOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlMarginLeft, styleClass);
 		} else {
-			marginOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMarginLeft);
+			marginOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlMarginLeft);
 		}
 
 		if(marginOcc == null){
@@ -469,9 +469,9 @@
 	public ColorValue getBorderColor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence colorOcc = null;
 		if(styleClass != null){
-			colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderColor, styleClass);
+			colorOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderColor, styleClass);
 		} else {
-			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderColor);
+			colorOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderColor);
 		}
 
 		if(colorOcc == null && styleClass != null){
@@ -490,9 +490,9 @@
 	public ColorValue getBorderTopColor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence colorOcc = null;
 		if(styleClass != null){
-			colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopColor, styleClass);
+			colorOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderTopColor, styleClass);
 		} else {
-			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopColor);
+			colorOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderTopColor);
 		}
 
 		if(colorOcc == null ){
@@ -509,9 +509,9 @@
 	public ColorValue getBorderRightColor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence colorOcc = null;
 		if(styleClass != null){
-			colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightColor, styleClass);
+			colorOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderRightColor, styleClass);
 		} else {
-			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightColor);
+			colorOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderRightColor);
 		}
 
 		if(colorOcc == null ){
@@ -528,9 +528,9 @@
 	public ColorValue getBorderBottomColor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence colorOcc = null;
 		if(styleClass != null){
-			colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomColor, styleClass);
+			colorOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomColor, styleClass);
 		} else {
-			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomColor);
+			colorOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomColor);
 		}
 
 		if(colorOcc == null ){
@@ -547,9 +547,9 @@
 	public ColorValue getBorderLeftColor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence colorOcc = null;
 		if(styleClass != null){
-			colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftColor, styleClass);
+			colorOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderLeftColor, styleClass);
 		} else {
-			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftColor);
+			colorOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderLeftColor);
 		}
 
 		if(colorOcc == null ){
@@ -567,9 +567,9 @@
 	public BorderStyleValue getBorderStyle(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence styleOcc = null;
 		if(styleClass != null){
-			styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderStyle, styleClass);
+			styleOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderStyle, styleClass);
 		} else {
-			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderStyle);
+			styleOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderStyle);
 		}
 
 		if(styleOcc == null && styleClass != null){
@@ -593,9 +593,9 @@
 	public BorderStyleValue getBorderTopStyle(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence styleOcc = null;
 		if(styleClass != null){
-			styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopStyle, styleClass);
+			styleOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderTopStyle, styleClass);
 		} else {
-			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopStyle);
+			styleOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderTopStyle);
 		}
 
 		if(styleOcc == null){
@@ -617,9 +617,9 @@
 	public BorderStyleValue getBorderRightStyle(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence styleOcc = null;
 		if(styleClass != null){
-			styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightStyle, styleClass);
+			styleOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderRightStyle, styleClass);
 		} else {
-			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightStyle);
+			styleOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderRightStyle);
 		}
 
 		if(styleOcc == null){
@@ -641,9 +641,9 @@
 	public BorderStyleValue getBorderBottomStyle(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence styleOcc = null;
 		if(styleClass != null){
-			styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomStyle, styleClass);
+			styleOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomStyle, styleClass);
 		} else {
-			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomStyle);
+			styleOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomStyle);
 		}
 
 		if(styleOcc == null){
@@ -665,9 +665,9 @@
 	public BorderStyleValue getBorderLeftStyle(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence styleOcc = null;
 		if(styleClass != null){
-			styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftStyle, styleClass);
+			styleOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderLeftStyle, styleClass);
 		} else {
-			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftStyle);
+			styleOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderLeftStyle);
 		}
 
 		if(styleOcc == null){
@@ -690,9 +690,9 @@
 	public AbsoluteNumValue getBorderWidth(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence widthOcc = null;
 		if(styleClass != null){
-			widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderWidth, styleClass);
+			widthOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderWidth, styleClass);
 		} else {
-			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderWidth);
+			widthOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderWidth);
 		}
 
 		if(widthOcc == null && styleClass != null){
@@ -711,9 +711,9 @@
 	public AbsoluteNumValue getBorderTopWidth(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence widthOcc = null;
 		if(styleClass != null){
-			widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopWidth, styleClass);
+			widthOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderTopWidth, styleClass);
 		} else {
-			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopWidth);
+			widthOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderTopWidth);
 		}
 
 		if(widthOcc == null){
@@ -730,9 +730,9 @@
 	public AbsoluteNumValue getBorderRightWidth(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence widthOcc = null;
 		if(styleClass != null){
-			widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightWidth, styleClass);
+			widthOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderRightWidth, styleClass);
 		} else {
-			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightWidth);
+			widthOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderRightWidth);
 		}
 
 		if(widthOcc == null){
@@ -749,9 +749,9 @@
 	public AbsoluteNumValue getBorderBottomWidth(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence widthOcc = null;
 		if(styleClass != null){
-			widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomWidth, styleClass);
+			widthOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomWidth, styleClass);
 		} else {
-			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomWidth);
+			widthOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomWidth);
 		}
 
 		if(widthOcc == null){
@@ -768,9 +768,9 @@
 	public AbsoluteNumValue getBorderLeftWidth(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence widthOcc = null;
 		if(styleClass != null){
-			widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftWidth, styleClass);
+			widthOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderLeftWidth, styleClass);
 		} else {
-			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftWidth);
+			widthOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderLeftWidth);
 		}
 
 		if(widthOcc == null){
@@ -788,9 +788,9 @@
 	public NumUnitValue getBorderRadius(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence radiusOcc = null;
 		if(styleClass != null){
-			radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRadius, styleClass);
+			radiusOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderRadius, styleClass);
 		} else {
-			radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRadius);
+			radiusOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderRadius);
 		}
 
 		if(radiusOcc == null && styleClass != null){
@@ -809,9 +809,9 @@
 	public NumUnitValue getBorderTopLeftRadius(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence radiusOcc = null;
 		if(styleClass != null){
-			radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopLeftRadius, styleClass);
+			radiusOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderTopLeftRadius, styleClass);
 		} else {
-			radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopLeftRadius);
+			radiusOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderTopLeftRadius);
 		}
 
 		if(radiusOcc == null && styleClass != null){
@@ -830,9 +830,9 @@
 	public NumUnitValue getBorderTopRightRadius(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence radiusOcc = null;
 		if(styleClass != null){
-			radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopRightRadius, styleClass);
+			radiusOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderTopRightRadius, styleClass);
 		} else {
-			radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopRightRadius);
+			radiusOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderTopRightRadius);
 		}
 
 		if(radiusOcc == null && styleClass != null){
@@ -851,9 +851,9 @@
 	public NumUnitValue getBorderBottomLeftRadius(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence radiusOcc = null;
 		if(styleClass != null){
-			radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomLeftRadius, styleClass);
+			radiusOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomLeftRadius, styleClass);
 		} else {
-			radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomLeftRadius);
+			radiusOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomLeftRadius);
 		}
 
 		if(radiusOcc == null && styleClass != null){
@@ -872,9 +872,9 @@
 	public NumUnitValue getBorderBottomRightRadius(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence radiusOcc = null;
 		if(styleClass != null){
-			radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomRightRadius, styleClass);
+			radiusOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomRightRadius, styleClass);
 		} else {
-			radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomRightRadius);
+			radiusOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomRightRadius);
 		}
 
 		if(radiusOcc == null && styleClass != null){
@@ -894,9 +894,9 @@
 	public NumUnitValue getPadding(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence paddingOcc = null;
 		if(styleClass != null){
-			paddingOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlPadding, styleClass);
+			paddingOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlPadding, styleClass);
 		} else {
-			paddingOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlPadding);
+			paddingOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlPadding);
 		}
 
 		if(paddingOcc == null && styleClass != null){
@@ -915,9 +915,9 @@
 	public NumUnitValue getPaddingTop(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence paddingOcc = null;
 		if(styleClass != null){
-			paddingOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlPaddingTop, styleClass);
+			paddingOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlPaddingTop, styleClass);
 		} else {
-			paddingOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlPaddingTop);
+			paddingOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlPaddingTop);
 		}
 
 		if(paddingOcc == null){
@@ -934,9 +934,9 @@
 	public NumUnitValue getPaddingRight(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence paddingOcc = null;
 		if(styleClass != null){
-			paddingOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlPaddingRight, styleClass);
+			paddingOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlPaddingRight, styleClass);
 		} else {
-			paddingOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlPaddingRight);
+			paddingOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlPaddingRight);
 		}
 
 		if(paddingOcc == null){
@@ -953,9 +953,9 @@
 	public NumUnitValue getPaddingBottom(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence paddingOcc = null;
 		if(styleClass != null){
-			paddingOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlPaddingBottom, styleClass);
+			paddingOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlPaddingBottom, styleClass);
 		} else {
-			paddingOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlPaddingBottom);
+			paddingOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlPaddingBottom);
 		}
 
 		if(paddingOcc == null){
@@ -972,9 +972,9 @@
 	public NumUnitValue getPaddingLeft(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence paddingOcc = null;
 		if(styleClass != null){
-			paddingOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlPaddingLeft, styleClass);
+			paddingOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlPaddingLeft, styleClass);
 		} else {
-			paddingOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlPaddingLeft);
+			paddingOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlPaddingLeft);
 		}
 
 		if(paddingOcc == null){
@@ -992,9 +992,9 @@
 	public AutoNumUnitValue getWidth(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence widthOcc = null;
 		if(styleClass != null){
-			widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlWidth, styleClass);
+			widthOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlWidth, styleClass);
 		} else {
-			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlWidth);
+			widthOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlWidth);
 		}
 
 		if(widthOcc == null && styleClass != null){
@@ -1014,9 +1014,9 @@
 	public AutoNumUnitValue getMinWidth(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence widthOcc = null;
 		if(styleClass != null){
-			widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlMinWidth, styleClass);
+			widthOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlMinWidth, styleClass);
 		} else {
-			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMinWidth);
+			widthOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlMinWidth);
 		}
 
 		if(widthOcc == null && styleClass != null){
@@ -1036,9 +1036,9 @@
 	public AutoNumUnitValue getMaxWidth(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence widthOcc = null;
 		if(styleClass != null){
-			widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlMaxWidth, styleClass);
+			widthOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlMaxWidth, styleClass);
 		} else {
-			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMaxWidth);
+			widthOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlMaxWidth);
 		}
 
 		if(widthOcc == null && styleClass != null){
@@ -1058,9 +1058,9 @@
 	public AutoNumUnitValue getHeight(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence heightOcc = null;
 		if(styleClass != null){
-			heightOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlHeight, styleClass);
+			heightOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlHeight, styleClass);
 		} else {
-			heightOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlHeight);
+			heightOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlHeight);
 		}
 
 		if(heightOcc == null && styleClass != null){
@@ -1080,9 +1080,9 @@
 	public AutoNumUnitValue getMinHeight(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence heightOcc = null;
 		if(styleClass != null){
-			heightOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlMinHeight, styleClass);
+			heightOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlMinHeight, styleClass);
 		} else {
-			heightOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMinHeight);
+			heightOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlMinHeight);
 		}
 
 		if(heightOcc == null && styleClass != null){
@@ -1102,9 +1102,9 @@
 	public AutoNumUnitValue getMaxHeight(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence heightOcc = null;
 		if(styleClass != null){
-			heightOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlMaxHeight, styleClass);
+			heightOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlMaxHeight, styleClass);
 		} else {
-			heightOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMaxHeight);
+			heightOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlMaxHeight);
 		}
 
 		if(heightOcc == null && styleClass != null){
@@ -1124,9 +1124,9 @@
 	public CursorValue getCursor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence cursorOcc = null;
 		if(styleClass != null){
-			cursorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlCursor, styleClass);
+			cursorOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlCursor, styleClass);
 		} else {
-			cursorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlCursor);
+			cursorOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlCursor);
 		}
 
 		if(cursorOcc == null && styleClass != null){
@@ -1153,9 +1153,9 @@
 	public ColorValue getBackgroundColor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence colorOcc = null;
 		if(styleClass != null){
-			colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBackgroundColor, styleClass);
+			colorOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBackgroundColor, styleClass);
 		} else {
-			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBackgroundColor);
+			colorOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBackgroundColor);
 		}
 
 		if(colorOcc == null && styleClass != null){
@@ -1461,14 +1461,14 @@
 
 		if(styleClass == null){
 			DOM.setStyleAttribute(this.getElement(), cssProperty, cssValue);
-		} else if(styleClass.equals(GdlPsis.Scope.gdlActive)){
+		} else if(styleClass.equals(PSIs.Scope.gdlActive)){
 			this.activeCssNamesAndStyles.add(new Pair<String, String>(cssProperty, cssValue));
-		} else if(styleClass.equals(GdlPsis.Scope.gdlFocus)){
+		} else if(styleClass.equals(PSIs.Scope.gdlFocus)){
 			this.focusCssNamesAndStyles.add(new Pair<String, String>(cssProperty, cssValue));
-		} else if (styleClass.equals(GdlPsis.Scope.gdlHover)){
+		} else if (styleClass.equals(PSIs.Scope.gdlHover)){
 			this.hoverCssNamesAndStyles.add(new Pair<String, String>(cssProperty, cssValue));
 		} else {
-			String values = GdlPsis.Scope.gdlActive + ", " + GdlPsis.Scope.gdlFocus + ", " + GdlPsis.Scope.gdlHover; 
+			String values = PSIs.Scope.gdlActive + ", " + PSIs.Scope.gdlFocus + ", " + PSIs.Scope.gdlHover; 
 			throw new InvalidGdlSchemaException("GDL defines only the style classes " + values + ", but found " + styleClass);
 		}
 	}
@@ -1480,14 +1480,14 @@
 		
 		if(styleClass == null){
 			DOM.setStyleAttribute(elem.getElement(), cssProperty, cssValue);
-		} else if(styleClass.equals(GdlPsis.Scope.gdlActive)){
+		} else if(styleClass.equals(PSIs.Scope.gdlActive)){
 			this.activeCssNamesAndStyles.add(new Pair<String, String>(cssProperty, cssValue));
-		} else if(styleClass.equals(GdlPsis.Scope.gdlFocus)){
+		} else if(styleClass.equals(PSIs.Scope.gdlFocus)){
 			this.focusCssNamesAndStyles.add(new Pair<String, String>(cssProperty, cssValue));
-		} else if (styleClass.equals(GdlPsis.Scope.gdlHover)){
+		} else if (styleClass.equals(PSIs.Scope.gdlHover)){
 			this.hoverCssNamesAndStyles.add(new Pair<String, String>(cssProperty, cssValue));
 		} else {
-			String values = GdlPsis.Scope.gdlActive + ", " + GdlPsis.Scope.gdlFocus + ", " + GdlPsis.Scope.gdlHover; 
+			String values = PSIs.Scope.gdlActive + ", " + PSIs.Scope.gdlFocus + ", " + PSIs.Scope.gdlHover; 
 			throw new InvalidGdlSchemaException("GDL defines only the style classes " + values + ", but found " + styleClass);
 		}
 	}
@@ -1499,14 +1499,14 @@
 		
 		if(styleClass == null){
 			DOM.setStyleAttribute(elem, cssProperty, cssValue);
-		} else if(styleClass.equals(GdlPsis.Scope.gdlActive)){
+		} else if(styleClass.equals(PSIs.Scope.gdlActive)){
 			this.activeCssNamesAndStyles.add(new Pair<String, String>(cssProperty, cssValue));
-		} else if(styleClass.equals(GdlPsis.Scope.gdlFocus)){
+		} else if(styleClass.equals(PSIs.Scope.gdlFocus)){
 			this.focusCssNamesAndStyles.add(new Pair<String, String>(cssProperty, cssValue));
-		} else if (styleClass.equals(GdlPsis.Scope.gdlHover)){
+		} else if (styleClass.equals(PSIs.Scope.gdlHover)){
 			this.hoverCssNamesAndStyles.add(new Pair<String, String>(cssProperty, cssValue));
 		} else {
-			String values = GdlPsis.Scope.gdlActive + ", " + GdlPsis.Scope.gdlFocus + ", " + GdlPsis.Scope.gdlHover; 
+			String values = PSIs.Scope.gdlActive + ", " + PSIs.Scope.gdlFocus + ", " + PSIs.Scope.gdlHover; 
 			throw new InvalidGdlSchemaException("GDL defines only the style classes " + values + ", but found " + styleClass);
 		}
 	}
@@ -1514,7 +1514,7 @@
 	
 	// sets all GDL styles that are defined by the topic map representative to tha passed widget
 	public void setGdlStyle(Widget widget) throws InvalidGdlSchemaException, ExecutionException {
-		String[] styleClasses = new String[]{null, GdlPsis.Scope.gdlActive, GdlPsis.Scope.gdlFocus, GdlPsis.Scope.gdlHover};
+		String[] styleClasses = new String[]{null, PSIs.Scope.gdlActive, PSIs.Scope.gdlFocus, PSIs.Scope.gdlHover};
 		for (String styleClass : styleClasses) {
 			this.setVerticalAlign(widget, this.getVerticalAlign(styleClass), styleClass);
 			

Copied and modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/PSIs.java (from r725, branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java)
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java	Mon Aug 15 00:59:52 2011	(r725, copy source)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/PSIs.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -2,7 +2,7 @@
 
 
 
-public class GdlPsis {
+public class PSIs {
 	public final static String gdl = "http://psi.isidor.us/gdl/";
 	
 	// some psis of the TMDM

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -22,7 +22,6 @@
 	@Override
 	public void onModuleLoad() {
 		try{
-			Window.alert("TEST !!!");
 			RootPanel.get("GWT_Content").add(mainPanel);
 			mainPanel.setBorderWidth(1);
 			mainPanel.setPixelSize(1000, 600);
@@ -51,121 +50,7 @@
 				}
 			});
 			
-			mainPanel.add(requestButton);		
-		
-		/*
-		// only for testing
-	
-			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));
-			Topic gdlWidth = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlWidth));
-			Topic gdlHeight = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlHeight));
-			Topic gdlBorderRadius = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlBorderRadius));
-			Topic gdlBorderBottomRightRadius = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlBorderBottomRightRadius));
-			Topic gdlPadding = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlPadding));
-			Topic gdlPaddingLeft = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlPaddingLeft));
-			Topic gdlCursor = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlCursor));
-			Topic gdlMarginTop = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlMarginTop));
-			Topic gdlBorderColor = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlBorderColor));
-			Topic gdlBorderTopColor = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlBorderTopColor));
-			Topic gdlBorderRightColor = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlBorderRightColor));
-			Topic gdlBorderBottomColor = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlBorderBottomColor));
-			Topic gdlBorderStyle = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlBorderStyle));
-			Topic gdlBorderWidth = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlBorderWidth));
-			Topic gdlFontSize = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlFontSize));
-			Topic gdlHover = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.Scope.gdlHover));
-			Topic gdlActive = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.Scope.gdlActive));
-			Topic gdlFocus = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.Scope.gdlFocus));
-			Topic gdlReadonly = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlReadonly));
-			Topic gdlResize = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlResize));
-			Topic gdlTextDecoration = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlTextDecoration));
-			Topic gdlDisplay = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlDisplay));
-			Topic gdlContentOrientation = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlContentOrientation));
-			Topic gdlListStyleType = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlListStyleType));
-			Topic gdlDirection = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlDirection));
-			Topic gdlUnitBorderTopPadding = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlUnitBorderTopPadding));
-			Topic gdlUnitBorderColor = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlUnitBorderColor));
-			Topic gdlUnitBorderWidth = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlUnitBorderWidth));
-			Topic gdlUnitName = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlUnitName));
-			Topic gdlUnitBorderLeftMargin = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlUnitBorderLeftMargin));
-			Topic gdlUnitBorderRadius = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlUnitBorderRadius));
-			Topic gdlColor = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlColor));
-			Topic gdlLetterSpacing = gdlPanel.getSchemaTm().createTopicBySubjectIdentifier(gdlPanel.getSchemaTm().createLocator(GdlPsis.OccurrenceType.gdlLetterSpacing));
-			
-			
-			
-			tmpRepresentative.createOccurrence(gdlId, "ID_1", null);
-			tmpRepresentative.createOccurrence(gdlBackgroundColor, "red", null);
-			tmpRepresentative.createOccurrence(gdlWidth, "100px", null);
-			tmpRepresentative.createOccurrence(gdlHeight, "100px", null);
-			tmpRepresentative.createOccurrence(gdlBorderRadius, "30px", null);
-			tmpRepresentative.createOccurrence(gdlBorderBottomRightRadius, "2%", null);
-			tmpRepresentative.createOccurrence(gdlPadding, "5px", null);
-			tmpRepresentative.createOccurrence(gdlPaddingLeft, "5%", null);
-			tmpRepresentative.createOccurrence(gdlCursor, CursorValue.HELP.getCssValue(), null);
-			tmpRepresentative.createOccurrence(gdlMarginTop, "50pt", null);
-			tmpRepresentative.createOccurrence(gdlBorderColor, "lime", null);
-			tmpRepresentative.createOccurrence(gdlBorderTopColor, "#00f", null);
-			tmpRepresentative.createOccurrence(gdlBorderRightColor, "rgb(0, 255, 0)", null);
-			tmpRepresentative.createOccurrence(gdlBorderBottomColor, "rgb(100%, 100%, 0%)", null);
-			tmpRepresentative.createOccurrence(gdlBorderStyle, "dashed", null);
-			tmpRepresentative.createOccurrence(gdlBorderWidth, "5px", null);
-			tmpRepresentative.createOccurrence(gdlReadonly, "false", null);
-			tmpRepresentative.createOccurrence(gdlResize, "both", null);
-			tmpRepresentative.createOccurrence(gdlFontSize, "15pt", null);
-			tmpRepresentative.createOccurrence(gdlTextDecoration, "underline", null);
-			tmpRepresentative.createOccurrence(gdlDisplay, "inline", null);
-			tmpRepresentative.createOccurrence(gdlContentOrientation, "vertical", null);
-			tmpRepresentative.createOccurrence(gdlListStyleType, "square", null);
-			tmpRepresentative.createOccurrence(gdlDirection, "ltr", null);
-			tmpRepresentative.createOccurrence(gdlUnitBorderTopPadding, "100px", null);
-			tmpRepresentative.createOccurrence(gdlUnitName, "Unit Name", null);
-			tmpRepresentative.createOccurrence(gdlUnitBorderLeftMargin, "30px", null);
-			tmpRepresentative.createOccurrence(gdlUnitBorderRadius, "30px", null);
-			tmpRepresentative.createOccurrence(gdlColor, "yellow", null);
-			tmpRepresentative.createOccurrence(gdlLetterSpacing, "10px", null);
-			Occurrence bgcHover = tmpRepresentative.createOccurrence(gdlBackgroundColor, "green", null);
-			bgcHover.addTheme(gdlHover);
-			Occurrence bgcActive = tmpRepresentative.createOccurrence(gdlBackgroundColor, "purple", null);
-			bgcActive.addTheme(gdlActive);
-			Occurrence bgcFocus = tmpRepresentative.createOccurrence(gdlBackgroundColor, "silver", null);
-			bgcFocus.addTheme(gdlFocus);
-			Occurrence fsHover = tmpRepresentative.createOccurrence(gdlFontSize, "25pt", null);
-			fsHover.addTheme(gdlHover);
-			Occurrence ubcHover = tmpRepresentative.createOccurrence(gdlUnitBorderColor, "blue", null);
-			ubcHover.addTheme(gdlHover);
-			Occurrence ubwHover = tmpRepresentative.createOccurrence(gdlUnitBorderWidth, "5px", null);
-			ubwHover.addTheme(gdlHover);
-			Occurrence tdHover = tmpRepresentative.createOccurrence(gdlTextDecoration, "overline", null);
-			tdHover.addTheme(gdlHover);
-			
-			
-			
-			GdlView tmp = new GdlView(tmpRepresentative) {
-				
-				@Override
-				public boolean validate() {
-					return false;
-				}
-				
-				@Override
-				public ArrayList<Pair<TopicMapsTypes, Object>> getTmValue() {
-					return null;
-				}
-				
-				@Override
-				public ArrayList<String> getStringValue() {
-					return null;
-				}
-				
-				@Override
-				public TopicMap getContent() {
-					return null;
-				}
-			};
-			this.mainPanel.add(tmp);
-			*/
+			mainPanel.add(requestButton);	
 		}catch(Exception e){
 			e.printStackTrace();
 			Window.alert(">> e >> " + e.getClass() + " >> " + e.getMessage());

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TmHelper.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TmHelper.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TmHelper.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -10,7 +10,7 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.ScopedStub;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis.TMDM;
+import us.isidor.gdl.anaToMia.Widgets.base.PSIs.TMDM;
 import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
 import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
@@ -312,10 +312,10 @@
 	public static ArrayList<Topic> topicContains(Topic container) {
 		if(container == null) return new ArrayList<Topic>();	
 		TopicMap tm = container.getTopicMap();
-		Topic containsAssocType = getTopicByPsi(GdlPsis.AssociationType.gdlContains, tm);
-		Topic containerRoleType = getTopicByPsi(GdlPsis.RoleType.gdlContainer, tm);
-		Topic visibleObject = getTopicByPsi(GdlPsis.TopicType.gdlVisibleObject, tm);
-		Topic containeeRoleType = getTopicByPsi(GdlPsis.RoleType.gdlContainee, tm);
+		Topic containsAssocType = getTopicByPsi(PSIs.AssociationType.gdlContains, tm);
+		Topic containerRoleType = getTopicByPsi(PSIs.RoleType.gdlContainer, tm);
+		Topic visibleObject = getTopicByPsi(PSIs.TopicType.gdlVisibleObject, tm);
+		Topic containeeRoleType = getTopicByPsi(PSIs.RoleType.gdlContainee, tm);
 		
 		return getOtherPlayerOfBinaryAssociation(container, containerRoleType, containsAssocType, null, visibleObject, containeeRoleType);
 	}
@@ -325,10 +325,10 @@
 	public static ArrayList<Topic> topicContainsInfo(Topic container) {
 		if(container == null) return new ArrayList<Topic>();	
 		TopicMap tm = container.getTopicMap();
-		Topic containsAssocType = getTopicByPsi(GdlPsis.AssociationType.gdlContains, tm);
-		Topic containerRoleType = getTopicByPsi(GdlPsis.RoleType.gdlContainer, tm);
-		Topic info = getTopicByPsi(GdlPsis.TopicType.gdlInfo, tm);
-		Topic containeeRoleType = getTopicByPsi(GdlPsis.RoleType.gdlContainee, tm);
+		Topic containsAssocType = getTopicByPsi(PSIs.AssociationType.gdlContains, tm);
+		Topic containerRoleType = getTopicByPsi(PSIs.RoleType.gdlContainer, tm);
+		Topic info = getTopicByPsi(PSIs.TopicType.gdlInfo, tm);
+		Topic containeeRoleType = getTopicByPsi(PSIs.RoleType.gdlContainee, tm);
 		
 		return getOtherPlayerOfBinaryAssociation(container, containerRoleType, containsAssocType, null, info, containeeRoleType);
 	}
@@ -345,27 +345,27 @@
 		if(container == null) return result;
 		
 		TopicMap tm = container.getTopicMap();
-		Topic containsAssocType = getTopicByPsi(GdlPsis.AssociationType.gdlContains, tm);
-		Topic containerRoleType = getTopicByPsi(GdlPsis.RoleType.gdlContainer, tm);
-		Topic actionButtonType = getTopicByPsi(GdlPsis.TopicType.gdlActionButton, tm);
-		Topic containeeRoleType = getTopicByPsi(GdlPsis.RoleType.gdlContainee, tm);
+		Topic containsAssocType = getTopicByPsi(PSIs.AssociationType.gdlContains, tm);
+		Topic containerRoleType = getTopicByPsi(PSIs.RoleType.gdlContainer, tm);
+		Topic actionButtonType = getTopicByPsi(PSIs.TopicType.gdlActionButton, tm);
+		Topic containeeRoleType = getTopicByPsi(PSIs.RoleType.gdlContainee, tm);
 		ArrayList<Topic> actionButtons = getOtherPlayerOfBinaryAssociation(container, containerRoleType, containsAssocType, null, actionButtonType, containeeRoleType);
 		
-		Topic actionButtonRoleType = getTopicByPsi(GdlPsis.RoleType.gdlActionButton, tm);
-		Topic buttonPosition = getTopicByPsi(GdlPsis.AssociationType.gdlButtonPosition, tm);
-		Topic nthElementType = getTopicByPsi(GdlPsis.TopicType.gdlNthElement, tm);
-		Topic nthElementRoleType = getTopicByPsi(GdlPsis.RoleType.gdlNthElement, tm);
-		Topic nthValueOccType = getTopicByPsi(GdlPsis.OccurrenceType.gdlNthValue, tm);
+		Topic actionButtonRoleType = getTopicByPsi(PSIs.RoleType.gdlActionButton, tm);
+		Topic buttonPosition = getTopicByPsi(PSIs.AssociationType.gdlButtonPosition, tm);
+		Topic nthElementType = getTopicByPsi(PSIs.TopicType.gdlNthElement, tm);
+		Topic nthElementRoleType = getTopicByPsi(PSIs.RoleType.gdlNthElement, tm);
+		Topic nthValueOccType = getTopicByPsi(PSIs.OccurrenceType.gdlNthValue, tm);
 		ArrayList<Pair<Topic, Topic>> rolePlayertypesAndTypes = new ArrayList<Pair<Topic,Topic>>();
 		rolePlayertypesAndTypes.add(new Pair<Topic, Topic>(nthElementType, nthElementRoleType));
 		for (Topic actionButton : actionButtons) {
 			ArrayList<Association> assocs = getAssociationsOfTopic(actionButton, actionButtonRoleType, buttonPosition, null, rolePlayertypesAndTypes);
 			if(assocs.size() == 0) continue;
-			if(assocs.size() > 1) throw new InvalidGdlSchemaException("the topic " + getAnyIdOfTopic(actionButton) + " must be bound none or once to a " + GdlPsis.AssociationType.gdlButtonPosition + " association, but is: " + assocs.size());
+			if(assocs.size() > 1) throw new InvalidGdlSchemaException("the topic " + getAnyIdOfTopic(actionButton) + " must be bound none or once to a " + PSIs.AssociationType.gdlButtonPosition + " association, but is: " + assocs.size());
 			if(assocs.size() == 1) {
 				Topic nthElem = assocs.get(0).getRoles(nthElementRoleType).get(0).getPlayer();
 				JsArray<Occurrence> occs = nthElem.getOccurrences(nthValueOccType);
-				if(occs.length() != 1) throw new InvalidGdlSchemaException("the topic " + getAnyIdOfTopic(nthElem) + " must be bound exactly once to a " + GdlPsis.OccurrenceType.gdlNthValue + " occurrence, but is: " + occs.length());
+				if(occs.length() != 1) throw new InvalidGdlSchemaException("the topic " + getAnyIdOfTopic(nthElem) + " must be bound exactly once to a " + PSIs.OccurrenceType.gdlNthValue + " occurrence, but is: " + occs.length());
 				int val = 0;
 				try{
 					if(occs.get(0).getValue().toLowerCase().equals("last")){
@@ -374,7 +374,7 @@
 						Integer.valueOf(occs.get(0).getValue());
 					}
 				}catch(NumberFormatException e){
-					throw new InvalidGdlSchemaException("The topic " + getAnyIdOfTopic(nthElem) + " must contain a value of the form <positive-integer>|\"last\" in the occurrence " + GdlPsis.OccurrenceType.gdlNthValue + ", but it contains: " + occs.get(0).getValue());
+					throw new InvalidGdlSchemaException("The topic " + getAnyIdOfTopic(nthElem) + " must contain a value of the form <positive-integer>|\"last\" in the occurrence " + PSIs.OccurrenceType.gdlNthValue + ", but it contains: " + occs.get(0).getValue());
 				}
 				
 				result.add(new Pair<Topic, Integer>(actionButton, val));
@@ -389,12 +389,12 @@
 	public static ArrayList<Pair<Topic, Integer>> listContains(Topic list) throws InvalidGdlSchemaException {
 		if(list == null) return new ArrayList<Pair<Topic,Integer>>();
 		TopicMap tm = list.getTopicMap();
-		Topic containsAssocType = getTopicByPsi(GdlPsis.AssociationType.gdlContains, tm);
-		Topic containerRoleType = getTopicByPsi(GdlPsis.RoleType.gdlContainer, tm);
-		Topic visibleObject = getTopicByPsi(GdlPsis.TopicType.gdlVisibleObject, tm);
-		Topic containeeRoleType = getTopicByPsi(GdlPsis.RoleType.gdlContainee, tm);
-		Topic nthElement = getTopicByPsi(GdlPsis.TopicType.gdlNthElement, tm);
-		Topic nthElementRoleType = getTopicByPsi(GdlPsis.RoleType.gdlNthElement, tm);
+		Topic containsAssocType = getTopicByPsi(PSIs.AssociationType.gdlContains, tm);
+		Topic containerRoleType = getTopicByPsi(PSIs.RoleType.gdlContainer, tm);
+		Topic visibleObject = getTopicByPsi(PSIs.TopicType.gdlVisibleObject, tm);
+		Topic containeeRoleType = getTopicByPsi(PSIs.RoleType.gdlContainee, tm);
+		Topic nthElement = getTopicByPsi(PSIs.TopicType.gdlNthElement, tm);
+		Topic nthElementRoleType = getTopicByPsi(PSIs.RoleType.gdlNthElement, tm);
 		
 		ArrayList<Pair<Topic, Topic>> rolePlayertypesAndTypes = new ArrayList<Pair<Topic,Topic>>();
 		rolePlayertypesAndTypes.add(new Pair<Topic, Topic>(visibleObject, containeeRoleType));
@@ -404,16 +404,16 @@
 		List<Pair<Topic, Integer>> result = new ArrayList<Pair<Topic,Integer>>();
 		for (Association validAssoc : validAssociations) {
 			Topic idx = validAssoc.getRoles(nthElementRoleType).get(0).getPlayer();
-			JsArray<Occurrence> idxOccs = idx.getOccurrences(tm.getTopicBySubjectIdentifier(tm.createLocator(GdlPsis.OccurrenceType.gdlNthValue)));
+			JsArray<Occurrence> idxOccs = idx.getOccurrences(tm.getTopicBySubjectIdentifier(tm.createLocator(PSIs.OccurrenceType.gdlNthValue)));
 			ArrayList<Occurrence> validIdxOccs = new ArrayList<Occurrence>();
 			for(int i = 0; i != idxOccs.length(); ++i) if(idxOccs.get(i).getScope().length() == 0) validIdxOccs.add(idxOccs.get(i));
 			
 			if(validIdxOccs.size() != 1){
-				throw new InvalidGdlSchemaException("the topic " + getAnyIdOfTopic(idx) + " must be bound exaclty once to an occurrence of the type " + GdlPsis.OccurrenceType.gdlNthValue + " but is bound " + validIdxOccs.size() + " times");
+				throw new InvalidGdlSchemaException("the topic " + getAnyIdOfTopic(idx) + " must be bound exaclty once to an occurrence of the type " + PSIs.OccurrenceType.gdlNthValue + " but is bound " + validIdxOccs.size() + " times");
 			}else{
 				Occurrence validOcc = validIdxOccs.get(0);
 				if(!validOcc.getValue().toUpperCase().equals("LAST") && !Utils.isDecNumber(validOcc.getValue())){
-					throw new InvalidGdlSchemaException("the topic " + getAnyIdOfTopic(idx) + " must be bound exaclty once to an occurrence of the type " + GdlPsis.OccurrenceType.gdlNthValue + " with a the value \"last\" or <positive integer>, but is " + validOcc.getValue());
+					throw new InvalidGdlSchemaException("the topic " + getAnyIdOfTopic(idx) + " must be bound exaclty once to an occurrence of the type " + PSIs.OccurrenceType.gdlNthValue + " with a the value \"last\" or <positive integer>, but is " + validOcc.getValue());
 				}
 			
 				int idxValue = -1; // -1 represents last
@@ -455,12 +455,12 @@
 		if(containees == null || containees.size() == 0 || container == null) return null;
 		
 		TopicMap tm = containees.get(0).getTopicMap();
-		Topic descendantRoleType = getTopicByPsi(GdlPsis.RoleType.gdlDescendant, tm);
-		Topic positionAssocType = getTopicByPsi(GdlPsis.AssociationType.gdlPosition, tm);
-		Topic position = getTopicByPsi(GdlPsis.TopicType.gdlPosition, tm);
-		Topic visibleObject = getTopicByPsi(GdlPsis.TopicType.gdlVisibleObject, tm);
-		Topic ancestorRoleType = getTopicByPsi(GdlPsis.RoleType.gdlAncestor, tm);
-		Topic descriptorRoleType = getTopicByPsi(GdlPsis.RoleType.gdlDescriptor, tm);
+		Topic descendantRoleType = getTopicByPsi(PSIs.RoleType.gdlDescendant, tm);
+		Topic positionAssocType = getTopicByPsi(PSIs.AssociationType.gdlPosition, tm);
+		Topic position = getTopicByPsi(PSIs.TopicType.gdlPosition, tm);
+		Topic visibleObject = getTopicByPsi(PSIs.TopicType.gdlVisibleObject, tm);
+		Topic ancestorRoleType = getTopicByPsi(PSIs.RoleType.gdlAncestor, tm);
+		Topic descriptorRoleType = getTopicByPsi(PSIs.RoleType.gdlDescriptor, tm);
 		
 		ArrayList<Pair<Topic, Topic>> rolePlayertypesAndTypes = new ArrayList<Pair<Topic,Topic>>();
 		rolePlayertypesAndTypes.add(new Pair<Topic, Topic>(visibleObject, descendantRoleType));
@@ -494,12 +494,12 @@
 		if (current == null || containees == null || containees.size() == 0) return null;
 		
 		TopicMap tm = current.getTopicMap();
-		Topic descendantRoleType = getTopicByPsi(GdlPsis.RoleType.gdlDescendant, tm);
-		Topic positionAssocType = getTopicByPsi(GdlPsis.AssociationType.gdlPosition, tm);
-		Topic visibleObject = getTopicByPsi(GdlPsis.TopicType.gdlVisibleObject, tm);
-		Topic ancestorRoleType = getTopicByPsi(GdlPsis.RoleType.gdlAncestor, tm);
-		Topic position = getTopicByPsi(GdlPsis.TopicType.gdlPosition, tm);
-		Topic descriptorRoleType = getTopicByPsi(GdlPsis.RoleType.gdlDescriptor, tm);
+		Topic descendantRoleType = getTopicByPsi(PSIs.RoleType.gdlDescendant, tm);
+		Topic positionAssocType = getTopicByPsi(PSIs.AssociationType.gdlPosition, tm);
+		Topic visibleObject = getTopicByPsi(PSIs.TopicType.gdlVisibleObject, tm);
+		Topic ancestorRoleType = getTopicByPsi(PSIs.RoleType.gdlAncestor, tm);
+		Topic position = getTopicByPsi(PSIs.TopicType.gdlPosition, tm);
+		Topic descriptorRoleType = getTopicByPsi(PSIs.RoleType.gdlDescriptor, tm);
 		ArrayList<Pair<Topic, Topic>> rolePlayertypesAndTypes = new ArrayList<Pair<Topic,Topic>>();
 		rolePlayertypesAndTypes.add(new Pair<Topic, Topic>(visibleObject, descendantRoleType));
 		rolePlayertypesAndTypes.add(new Pair<Topic, Topic>(position, descriptorRoleType));
@@ -532,13 +532,13 @@
 		
 		// get all potential valid associations that models a position association
 		TopicMap tm = ancestor.getTopicMap();
-		Topic ancestorRoleType = getTopicByPsi(GdlPsis.RoleType.gdlAncestor, tm);
-		Topic positionAssocType = getTopicByPsi(GdlPsis.AssociationType.gdlPosition, tm);
+		Topic ancestorRoleType = getTopicByPsi(PSIs.RoleType.gdlAncestor, tm);
+		Topic positionAssocType = getTopicByPsi(PSIs.AssociationType.gdlPosition, tm);
 		ArrayList<Pair<Topic, Topic>> rolePlayertypesAndTypes = new ArrayList<Pair<Topic,Topic>>();
-		Topic descriptor = getTopicByPsi(GdlPsis.RoleType.gdlDescriptor, tm);
-		Topic descendantRoleType = getTopicByPsi(GdlPsis.RoleType.gdlDescendant, tm);
-		Topic visibleObject = getTopicByPsi(GdlPsis.TopicType.gdlVisibleObject, tm);
-		Topic position = getTopicByPsi(GdlPsis.TopicType.gdlPosition, tm);
+		Topic descriptor = getTopicByPsi(PSIs.RoleType.gdlDescriptor, tm);
+		Topic descendantRoleType = getTopicByPsi(PSIs.RoleType.gdlDescendant, tm);
+		Topic visibleObject = getTopicByPsi(PSIs.TopicType.gdlVisibleObject, tm);
+		Topic position = getTopicByPsi(PSIs.TopicType.gdlPosition, tm);
 		rolePlayertypesAndTypes.add(new Pair<Topic, Topic>(position, descriptor));
 		rolePlayertypesAndTypes.add(new Pair<Topic, Topic>(visibleObject, descendantRoleType));
 		ArrayList<Association> posAssocs = getAssociationsOfTopic(ancestor, ancestorRoleType, positionAssocType, null, rolePlayertypesAndTypes);
@@ -592,10 +592,10 @@
 		if(visibleElement == null) throw null;
 		
 		TopicMap tm = visibleElement.getTopicMap();
-		Topic descriptorRoleType = getTopicByPsi(GdlPsis.RoleType.gdlDescriptor, tm);
-		Topic viewBindingAssocType = getTopicByPsi(GdlPsis.AssociationType.gdlViewBinding, tm);
-		Topic valueGroupType = getTopicByPsi(GdlPsis.TopicType.gdlValueGroup, tm);
-		Topic valueGroupRoleType = getTopicByPsi(GdlPsis.RoleType.gdlValueGroup, tm);
+		Topic descriptorRoleType = getTopicByPsi(PSIs.RoleType.gdlDescriptor, tm);
+		Topic viewBindingAssocType = getTopicByPsi(PSIs.AssociationType.gdlViewBinding, tm);
+		Topic valueGroupType = getTopicByPsi(PSIs.TopicType.gdlValueGroup, tm);
+		Topic valueGroupRoleType = getTopicByPsi(PSIs.RoleType.gdlValueGroup, tm);
 		ArrayList<Topic> valueGroups = getOtherPlayerOfBinaryAssociation(visibleElement, descriptorRoleType, viewBindingAssocType, null, valueGroupType, valueGroupRoleType);
 		
 		if(valueGroups.size() == 1) return valueGroups.get(0);
@@ -609,11 +609,11 @@
 		if(valueGroup == null) return null;
 				
 		TopicMap tm = valueGroup.getTopicMap();
-		Topic valueGroupRoleType = getTopicByPsi(GdlPsis.RoleType.gdlValueGroup, tm);
-		Topic descriptorType = getTopicByPsi(GdlPsis.TopicType.gdlDescriptor, tm);
-		Topic tmBindingAssocType = getTopicByPsi(GdlPsis.AssociationType.gdlTmBinding, tm);
-		Topic tmclConstraintType = getTopicByPsi(GdlPsis.TMCL.tmclConstraint, tm);
-		Topic tmConstructRoleType = getTopicByPsi(GdlPsis.RoleType.gdlTmConstruct, tm);
+		Topic valueGroupRoleType = getTopicByPsi(PSIs.RoleType.gdlValueGroup, tm);
+		Topic descriptorType = getTopicByPsi(PSIs.TopicType.gdlDescriptor, tm);
+		Topic tmBindingAssocType = getTopicByPsi(PSIs.AssociationType.gdlTmBinding, tm);
+		Topic tmclConstraintType = getTopicByPsi(PSIs.TMCL.tmclConstraint, tm);
+		Topic tmConstructRoleType = getTopicByPsi(PSIs.RoleType.gdlTmConstruct, tm);
 		ArrayList<Topic> tmclConstraints = getOtherPlayerOfBinaryAssociation(valueGroup, valueGroupRoleType, tmBindingAssocType, null, tmclConstraintType, tmConstructRoleType);
 		
 		ArrayList<Topic> gdlConstraints = getOtherPlayerOfBinaryAssociation(valueGroup, valueGroupRoleType, tmBindingAssocType, null, descriptorType, tmConstructRoleType);
@@ -635,15 +635,15 @@
 		
 		Topic localCurrentConstraint = currentConstraint == null ? getConstraintOfValueGroup(valueGroup) : currentConstraint;
 		TopicMap tm = valueGroup.getTopicMap();
-		Topic tmclConstraintType = getTopicByPsi(GdlPsis.TMCL.tmclConstraint, tm); 
+		Topic tmclConstraintType = getTopicByPsi(PSIs.TMCL.tmclConstraint, tm); 
 		
 		if(isInstanceOf(localCurrentConstraint, tmclConstraintType)) return localCurrentConstraint;
 		else {
 			// get next constraint and invoke this method recursively
-			Topic descriptorRoleType = getTopicByPsi(GdlPsis.RoleType.gdlDescriptor, tm);
-			Topic tmBindingAssocType = getTopicByPsi(GdlPsis.AssociationType.gdlTmBinding, tm);
-			Topic tmConstructRoleType = getTopicByPsi(GdlPsis.RoleType.gdlTmConstruct, tm);
-			Topic gdlDescriptor = getTopicByPsi(GdlPsis.TopicType.gdlDescriptor, tm);
+			Topic descriptorRoleType = getTopicByPsi(PSIs.RoleType.gdlDescriptor, tm);
+			Topic tmBindingAssocType = getTopicByPsi(PSIs.AssociationType.gdlTmBinding, tm);
+			Topic tmConstructRoleType = getTopicByPsi(PSIs.RoleType.gdlTmConstruct, tm);
+			Topic gdlDescriptor = getTopicByPsi(PSIs.TopicType.gdlDescriptor, tm);
 			
 			ArrayList<Topic> nextTmclConstraints = getOtherPlayerOfBinaryAssociation(localCurrentConstraint, descriptorRoleType, tmBindingAssocType, null, tmclConstraintType, tmConstructRoleType);
 			ArrayList<Topic> nextGdlConstraints = getOtherPlayerOfBinaryAssociation(localCurrentConstraint, descriptorRoleType, tmBindingAssocType, null, gdlDescriptor, tmConstructRoleType);
@@ -653,7 +653,7 @@
 			
 			if(nextTmclConstraints.size() == 1) return nextTmclConstraints.get(0);
 			else if(nextGdlConstraints.size() == 1) return getRootConstraintOfValueGroup(valueGroup, nextGdlConstraints.get(0));
-			else throw new InvalidGdlSchemaException("the value group " + getAnyIdOfTopic(valueGroup) + " must be bound to exaclty on root constraint of the type " + GdlPsis.TMCL.tmclConstraint + " but is unbound");
+			else throw new InvalidGdlSchemaException("the value group " + getAnyIdOfTopic(valueGroup) + " must be bound to exaclty on root constraint of the type " + PSIs.TMCL.tmclConstraint + " but is unbound");
 		}
 	}
 
@@ -663,16 +663,16 @@
 		if(valueGroup == null) return null;
 		
 		TopicMap tm = valueGroup.getTopicMap();
-		Topic valueBindingAssocTopic = getTopicByPsi(GdlPsis.AssociationType.gdlValueBinding, tm);
-		Topic valueGroupRoleType = getTopicByPsi(GdlPsis.RoleType.gdlValueGroup, tm);
-		Topic valueRoleType = getTopicByPsi(GdlPsis.RoleType.gdlValue, tm);
-		Topic defaultTmValueType = getTopicByPsi(GdlPsis.TopicType.gdlDefaultTmValue, tm);
+		Topic valueBindingAssocTopic = getTopicByPsi(PSIs.AssociationType.gdlValueBinding, tm);
+		Topic valueGroupRoleType = getTopicByPsi(PSIs.RoleType.gdlValueGroup, tm);
+		Topic valueRoleType = getTopicByPsi(PSIs.RoleType.gdlValue, tm);
+		Topic defaultTmValueType = getTopicByPsi(PSIs.TopicType.gdlDefaultTmValue, tm);
 		
 		ArrayList<Topic> defaultTmValues = getOtherPlayerOfBinaryAssociation(valueGroup, valueGroupRoleType, valueBindingAssocTopic, null, defaultTmValueType, valueRoleType);
 		
 		if(defaultTmValues.size() == 1) return defaultTmValues.get(0);
 		else if(defaultTmValues.size() == 0) return null;
-		else throw new InvalidGdlSchemaException("the topic " + getAnyIdOfTopic(valueGroup) + " must be bound none or once to a " + GdlPsis.TopicType.gdlDefaultTmValue + ", but is: " + defaultTmValues.size());
+		else throw new InvalidGdlSchemaException("the topic " + getAnyIdOfTopic(valueGroup) + " must be bound none or once to a " + PSIs.TopicType.gdlDefaultTmValue + ", but is: " + defaultTmValues.size());
 	}
 	
 	
@@ -681,16 +681,16 @@
 		if(valueGroup == null) return null;
 		
 		TopicMap tm = valueGroup.getTopicMap();
-		Topic valueBindingAssocTopic = getTopicByPsi(GdlPsis.AssociationType.gdlValueBinding, tm);
-		Topic valueGroupRoleType = getTopicByPsi(GdlPsis.RoleType.gdlValueGroup, tm);
-		Topic valueRoleType = getTopicByPsi(GdlPsis.RoleType.gdlValue, tm);
-		Topic defaultLiteralValueType = getTopicByPsi(GdlPsis.TopicType.gdlDefaultLiteralValue, tm);
+		Topic valueBindingAssocTopic = getTopicByPsi(PSIs.AssociationType.gdlValueBinding, tm);
+		Topic valueGroupRoleType = getTopicByPsi(PSIs.RoleType.gdlValueGroup, tm);
+		Topic valueRoleType = getTopicByPsi(PSIs.RoleType.gdlValue, tm);
+		Topic defaultLiteralValueType = getTopicByPsi(PSIs.TopicType.gdlDefaultLiteralValue, tm);
 		
 		ArrayList<Topic> defaultTmValues = getOtherPlayerOfBinaryAssociation(valueGroup, valueGroupRoleType, valueBindingAssocTopic, null, defaultLiteralValueType, valueRoleType);
 		
 		if(defaultTmValues.size() == 1) return defaultTmValues.get(0);
 		else if(defaultTmValues.size() == 0) return null;
-		else throw new InvalidGdlSchemaException("the topic " + getAnyIdOfTopic(valueGroup) + " must be bound none or once to a " + GdlPsis.TopicType.gdlDefaultLiteralValue + ", but is: " + defaultTmValues.size());
+		else throw new InvalidGdlSchemaException("the topic " + getAnyIdOfTopic(valueGroup) + " must be bound none or once to a " + PSIs.TopicType.gdlDefaultLiteralValue + ", but is: " + defaultTmValues.size());
 	}
 	
 	
@@ -700,10 +700,10 @@
 		if(valueGroup == null) return result;
 				
 		TopicMap tm = valueGroup.getTopicMap();
-		Topic valueBindingAssocTopic = getTopicByPsi(GdlPsis.AssociationType.gdlValueBinding, tm);
-		Topic valueGroupRoleType = getTopicByPsi(GdlPsis.RoleType.gdlValueGroup, tm);
-		Topic valueRoleType = getTopicByPsi(GdlPsis.RoleType.gdlValue, tm);
-		Topic tmValueType = getTopicByPsi(GdlPsis.TopicType.gdlTmValue, tm);
+		Topic valueBindingAssocTopic = getTopicByPsi(PSIs.AssociationType.gdlValueBinding, tm);
+		Topic valueGroupRoleType = getTopicByPsi(PSIs.RoleType.gdlValueGroup, tm);
+		Topic valueRoleType = getTopicByPsi(PSIs.RoleType.gdlValue, tm);
+		Topic tmValueType = getTopicByPsi(PSIs.TopicType.gdlTmValue, tm);
 		
 		return getOtherPlayerOfBinaryAssociation(valueGroup, valueGroupRoleType, valueBindingAssocTopic, null, tmValueType, valueRoleType);
 	}
@@ -715,10 +715,10 @@
 		if(valueGroup == null) return result;
 				
 		TopicMap tm = valueGroup.getTopicMap();
-		Topic valueBindingAssocTopic = getTopicByPsi(GdlPsis.AssociationType.gdlValueBinding, tm);
-		Topic valueGroupRoleType = getTopicByPsi(GdlPsis.RoleType.gdlValueGroup, tm);
-		Topic valueRoleType = getTopicByPsi(GdlPsis.RoleType.gdlValue, tm);
-		Topic literalValueType = getTopicByPsi(GdlPsis.TopicType.gdlLiteralValue, tm);
+		Topic valueBindingAssocTopic = getTopicByPsi(PSIs.AssociationType.gdlValueBinding, tm);
+		Topic valueGroupRoleType = getTopicByPsi(PSIs.RoleType.gdlValueGroup, tm);
+		Topic valueRoleType = getTopicByPsi(PSIs.RoleType.gdlValue, tm);
+		Topic literalValueType = getTopicByPsi(PSIs.TopicType.gdlLiteralValue, tm);
 		
 		return getOtherPlayerOfBinaryAssociation(valueGroup, valueGroupRoleType, valueBindingAssocTopic, null, literalValueType, valueRoleType);
 	}
@@ -729,17 +729,17 @@
 		ArrayList<Topic> result = new ArrayList<Topic>();
 		if(constraint == null || valueGroup == null) return result;
 		
-		if(isInstanceOf(constraint, GdlPsis.TopicType.gdlType)){
+		if(isInstanceOf(constraint, PSIs.TopicType.gdlType)){
 			return getTmValuesForTypeConstraint(constraint, valueGroup);
-		} else if(isInstanceOf(constraint, GdlPsis.TopicType.gdlVariantNameReifier)){
+		} else if(isInstanceOf(constraint, PSIs.TopicType.gdlVariantNameReifier)){
 			return getTmValuesForVariantNameReifierConstraint(constraint);
-		} else if(isInstanceOf(constraint, GdlPsis.TopicType.gdlVariantNameScope)){
+		} else if(isInstanceOf(constraint, PSIs.TopicType.gdlVariantNameScope)){
 			return getTmValuesForVariantNameScopeConstraint(constraint);
-		} else if(isInstanceOf(constraint, GdlPsis.TopicType.gdlRolePlayer)){
+		} else if(isInstanceOf(constraint, PSIs.TopicType.gdlRolePlayer)){
 			return getTmValuesForRolePlayerConstraint(constraint);
-		} else if(isInstanceOf(constraint, GdlPsis.TMCL.tmclReifierConstraint)){
+		} else if(isInstanceOf(constraint, PSIs.TMCL.tmclReifierConstraint)){
 			return getTmValuesForReifierConstraint(constraint);
-		} else if(isInstanceOf(constraint, GdlPsis.TMCL.tmclScopeConstraint)){
+		} else if(isInstanceOf(constraint, PSIs.TMCL.tmclScopeConstraint)){
 			return getTmValuesForScopeConstraint(constraint);
 		}
 		
@@ -753,9 +753,9 @@
 		if(scopeConstraint == null) return result;
 
 		TopicMap tm = scopeConstraint.getTopicMap();
-		Topic constraintRoleType = getTopicByPsi(GdlPsis.TMCL.tmclConstraint, tm);
-		Topic constrainedScopeAssocType = getTopicByPsi(GdlPsis.TMCL.tmclConstrainedScope, tm);
-		Topic constrainedRoleType = getTopicByPsi(GdlPsis.TMCL.tmclConstrained, tm);
+		Topic constraintRoleType = getTopicByPsi(PSIs.TMCL.tmclConstraint, tm);
+		Topic constrainedScopeAssocType = getTopicByPsi(PSIs.TMCL.tmclConstrainedScope, tm);
+		Topic constrainedRoleType = getTopicByPsi(PSIs.TMCL.tmclConstrained, tm);
 		ArrayList<Topic> scopeTypes = getOtherPlayerOfBinaryAssociation(scopeConstraint, constraintRoleType, constrainedScopeAssocType, null, constrainedRoleType);
 				
 		if(scopeTypes.size() != 1){
@@ -774,10 +774,10 @@
 		if(reifierConstraint == null) return result;
 
 		TopicMap tm = reifierConstraint.getTopicMap();
-		Topic allowsRoleType = getTopicByPsi(GdlPsis.TMCL.tmclAllows, tm);
-		Topic allowedRoleType = getTopicByPsi(GdlPsis.TMCL.tmclAllowed, tm);
-		Topic allowedReifierAssocType = getTopicByPsi(GdlPsis.TMCL.tmclAllowedReifier, tm);
-		Topic topicType = getTopicByPsi(GdlPsis.TMCL.tmclTopictype, tm);
+		Topic allowsRoleType = getTopicByPsi(PSIs.TMCL.tmclAllows, tm);
+		Topic allowedRoleType = getTopicByPsi(PSIs.TMCL.tmclAllowed, tm);
+		Topic allowedReifierAssocType = getTopicByPsi(PSIs.TMCL.tmclAllowedReifier, tm);
+		Topic topicType = getTopicByPsi(PSIs.TMCL.tmclTopictype, tm);
 		ArrayList<Topic> reifierTypes = getOtherPlayerOfBinaryAssociation(reifierConstraint, allowsRoleType, allowedReifierAssocType, null, topicType, allowedRoleType);
 		
 		if(reifierTypes.size() != 1){
@@ -804,13 +804,13 @@
 		Topic rootConstraint = getRootConstraintOfValueGroup(valueGroup, typeConstraint);
 		if(rootConstraint == null) return result;
 				
-		if(isInstanceOf(rootConstraint, GdlPsis.TMCL.tmclTopicNameConstraint) || isInstanceOf(rootConstraint, GdlPsis.TMCL.tmclTopicOccurrenceConstraint)){
+		if(isInstanceOf(rootConstraint, PSIs.TMCL.tmclTopicNameConstraint) || isInstanceOf(rootConstraint, PSIs.TMCL.tmclTopicOccurrenceConstraint)){
 			TopicMap tm = rootConstraint.getTopicMap();
-			Topic constraintRoleType = getTopicByPsi(GdlPsis.TMCL.tmclConstraint, tm);
-			Topic constrainedRoleType = getTopicByPsi(GdlPsis.TMCL.tmclConstrained, tm);
-			Topic nameType = getTopicByPsi(GdlPsis.TMCL.tmclNameType, tm);
-			Topic occurrenceType = getTopicByPsi(GdlPsis.TMCL.tmclOccurrenceType, tm);
-			Topic constrainedStatementAssocType = getTopicByPsi(GdlPsis.TMCL.tmclConstrainedStatement, tm);
+			Topic constraintRoleType = getTopicByPsi(PSIs.TMCL.tmclConstraint, tm);
+			Topic constrainedRoleType = getTopicByPsi(PSIs.TMCL.tmclConstrained, tm);
+			Topic nameType = getTopicByPsi(PSIs.TMCL.tmclNameType, tm);
+			Topic occurrenceType = getTopicByPsi(PSIs.TMCL.tmclOccurrenceType, tm);
+			Topic constrainedStatementAssocType = getTopicByPsi(PSIs.TMCL.tmclConstrainedStatement, tm);
 			ArrayList<Topic> nameTypeTopics = getOtherPlayerOfBinaryAssociation(rootConstraint, constraintRoleType, constrainedStatementAssocType, null, nameType, constrainedRoleType);
 			ArrayList<Topic> occurrenceTypeTopics = getOtherPlayerOfBinaryAssociation(rootConstraint, constraintRoleType, constrainedStatementAssocType, null, occurrenceType, constrainedRoleType);
 			ArrayList<Topic> typeTopics = Utils.union(nameTypeTopics, occurrenceTypeTopics);
@@ -825,10 +825,10 @@
 				JsArray<Topic> allTopics = tm.getTopics();
 				for(int i = 0; i != allTopics.length(); ++i) if(isSupertypeOf(allTopics.get(i), typeTopics.get(0))) result.add(allTopics.get(i));
 			}
-		} else if(isInstanceOf(rootConstraint, GdlPsis.TMCL.tmclAssociationRoleConstraint)){
-			throw new ExecutionException(GdlPsis.TMCL.tmclAssociationRoleConstraint + " is not implemented yet");
-		} else if(isInstanceOf(rootConstraint, GdlPsis.TMCL.tmclTopicRoleConstraint)){
-			throw new ExecutionException(GdlPsis.TMCL.tmclTopicRoleConstraint + " is not implemented yet");
+		} else if(isInstanceOf(rootConstraint, PSIs.TMCL.tmclAssociationRoleConstraint)){
+			throw new ExecutionException(PSIs.TMCL.tmclAssociationRoleConstraint + " is not implemented yet");
+		} else if(isInstanceOf(rootConstraint, PSIs.TMCL.tmclTopicRoleConstraint)){
+			throw new ExecutionException(PSIs.TMCL.tmclTopicRoleConstraint + " is not implemented yet");
 		}
 		
 		return result;
@@ -854,11 +854,11 @@
 		if(constraint == null) return result; 
 		
 		TopicMap tm = constraint.getTopicMap();
-		Topic constraintRoleType = getTopicByPsi(GdlPsis.TMCL.tmclConstraint, tm);
-		Topic constrainedStatementAssocType = getTopicByPsi(GdlPsis.TMCL.tmclConstrainedStatement, tm);
-		Topic constrainedRoleType = getTopicByPsi(GdlPsis.TMCL.tmclConstrained, tm);
-		Topic nameType = getTopicByPsi(GdlPsis.TMCL.tmclNameType, tm);
-		Topic occurrenceType = getTopicByPsi(GdlPsis.TMCL.tmclOccurrenceType, tm);
+		Topic constraintRoleType = getTopicByPsi(PSIs.TMCL.tmclConstraint, tm);
+		Topic constrainedStatementAssocType = getTopicByPsi(PSIs.TMCL.tmclConstrainedStatement, tm);
+		Topic constrainedRoleType = getTopicByPsi(PSIs.TMCL.tmclConstrained, tm);
+		Topic nameType = getTopicByPsi(PSIs.TMCL.tmclNameType, tm);
+		Topic occurrenceType = getTopicByPsi(PSIs.TMCL.tmclOccurrenceType, tm);
 		ArrayList<Topic> nameTypes = getOtherPlayerOfBinaryAssociation(constraint, constraintRoleType, constrainedStatementAssocType, null, nameType, constrainedRoleType);
 		ArrayList<Topic> occurrenceTypes = getOtherPlayerOfBinaryAssociation(constraint, constraintRoleType, constrainedStatementAssocType, null, occurrenceType, constrainedRoleType);
 		ArrayList<Topic> nameOrOccurrenceTypes = Utils.union(nameTypes, occurrenceTypes);
@@ -866,19 +866,19 @@
 		if(nameOrOccurrenceTypes.size() == 0){
 			return result;
 		} else if(nameOrOccurrenceTypes.size() > 1){
-			throw new InvalidGdlSchemaException("the topic " + getAnyIdOfTopic(constraint) + " must be bound maximum once to a topic via a " + GdlPsis.TMCL.tmclConstrainedStatement + ", but is: " + nameOrOccurrenceTypes.size());
+			throw new InvalidGdlSchemaException("the topic " + getAnyIdOfTopic(constraint) + " must be bound maximum once to a topic via a " + PSIs.TMCL.tmclConstrainedStatement + ", but is: " + nameOrOccurrenceTypes.size());
 		} else {
-			Topic regularExpressionConstraintType = getTopicByPsi(GdlPsis.TMCL.tmclRegularExpressionConstraint, tm);
+			Topic regularExpressionConstraintType = getTopicByPsi(PSIs.TMCL.tmclRegularExpressionConstraint, tm);
 			ArrayList<Topic> regularExpressionConstraints = getOtherPlayerOfBinaryAssociation(nameOrOccurrenceTypes.get(0), constrainedRoleType, constrainedStatementAssocType, null, regularExpressionConstraintType, constraintRoleType);
 			
 			if(regularExpressionConstraints.size() == 0) {
 				return ".*";
 			} else if(regularExpressionConstraints.size() == 1){
-				Topic regexpOccurrenceType = getTopicByPsi(GdlPsis.TMCL.tmclRegexp, tm);
+				Topic regexpOccurrenceType = getTopicByPsi(PSIs.TMCL.tmclRegexp, tm);
 				Occurrence rex = getSingleOccurrence(regularExpressionConstraints.get(0), regexpOccurrenceType);
 				return rex.getValue();
 			} else {
-				throw new InvalidGdlSchemaException("the topic " + getAnyIdOfTopic(nameOrOccurrenceTypes.get(0)) + " must be bound maximum once to a " + GdlPsis.TMCL.tmclRegularExpressionConstraint + ", but is: " + regularExpressionConstraints.size());
+				throw new InvalidGdlSchemaException("the topic " + getAnyIdOfTopic(nameOrOccurrenceTypes.get(0)) + " must be bound maximum once to a " + PSIs.TMCL.tmclRegularExpressionConstraint + ", but is: " + regularExpressionConstraints.size());
 			}
 		}
 	}

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlActionButton.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlActionButton.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlActionButton.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -9,7 +9,7 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
 import us.isidor.gdl.anaToMia.Widgets.base.GdlPanel;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
+import us.isidor.gdl.anaToMia.Widgets.base.PSIs;
 import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
 import us.isidor.gdl.anaToMia.Widgets.value.AbsoluteNumValue;
@@ -79,9 +79,9 @@
 	public TextAlignValue getTextAlign(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence textAlignOcc = null;
 		if(styleClass != null){
-			textAlignOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlTextAlign, styleClass);
+			textAlignOcc = super.getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlTextAlign, styleClass);
 		} else {
-			textAlignOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlTextAlign);
+			textAlignOcc = super.getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlTextAlign);
 		}
 		
 		if(textAlignOcc == null && styleClass != null){
@@ -92,7 +92,7 @@
 			try{
 				return TextAlignValue.valueOf(textAlignOcc.getValue().toUpperCase());
 			}catch(IllegalArgumentException e){
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlTextAlign + " must be set to one of \"left\", \"right\", \"center\" or \"justify\", but is \"" + textAlignOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlTextAlign + " must be set to one of \"left\", \"right\", \"center\" or \"justify\", but is \"" + textAlignOcc.getValue() + "\"");
 			}
 		}
 	}
@@ -105,9 +105,9 @@
 	public AbsoluteNumValue getBorderWidth(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence widthOcc = null;
 		if(styleClass != null){
-			widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderWidth, styleClass);
+			widthOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderWidth, styleClass);
 		} else {
-			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderWidth);
+			widthOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderWidth);
 		}
 
 		if(widthOcc == null && styleClass != null){
@@ -128,9 +128,9 @@
 	public NumUnitValue getPadding(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence paddingOcc = null;
 		if(styleClass != null){
-			paddingOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlPadding, styleClass);
+			paddingOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlPadding, styleClass);
 		} else {
-			paddingOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlPadding);
+			paddingOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlPadding);
 		}
 
 		if(paddingOcc == null && styleClass != null){
@@ -151,9 +151,9 @@
 	public ColorValue getBorderColor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence colorOcc = null;
 		if(styleClass != null){
-			colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderColor, styleClass);
+			colorOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderColor, styleClass);
 		} else {
-			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderColor);
+			colorOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderColor);
 		}
 
 		if(colorOcc == null && styleClass != null){
@@ -174,9 +174,9 @@
 	public BorderStyleValue getBorderStyle(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence styleOcc = null;
 		if(styleClass != null){
-			styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderStyle, styleClass);
+			styleOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderStyle, styleClass);
 		} else {
-			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderStyle);
+			styleOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderStyle);
 		}
 
 		if(styleOcc == null && styleClass != null){
@@ -201,9 +201,9 @@
 	public CursorValue getCursor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence cursorOcc = null;
 		if(styleClass != null){
-			cursorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlCursor, styleClass);
+			cursorOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlCursor, styleClass);
 		} else {
-			cursorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlCursor);
+			cursorOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlCursor);
 		}
 
 		if(cursorOcc == null && styleClass != null){
@@ -231,9 +231,9 @@
 	public NumUnitValue getBorderRadius(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence radiusOcc = null;
 		if(styleClass != null){
-			radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRadius, styleClass);
+			radiusOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderRadius, styleClass);
 		} else {
-			radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRadius);
+			radiusOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderRadius);
 		}
 
 		if(radiusOcc == null && styleClass != null){

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlAudio.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlAudio.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlAudio.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -2,14 +2,14 @@
 
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
+import us.isidor.gdl.anaToMia.Widgets.base.PSIs;
 import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
 
 public class GdlAudio extends GdlComplexData {
 	// some constructors
 	protected GdlAudio() throws ExecutionException {
-		throw new ExecutionException(GdlPsis.TopicType.gdlAudio + " is not implemented by anaToMia yet");
+		throw new ExecutionException(PSIs.TopicType.gdlAudio + " is not implemented by anaToMia yet");
 	}
 
 

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlImage.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlImage.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlImage.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -2,14 +2,14 @@
 
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
+import us.isidor.gdl.anaToMia.Widgets.base.PSIs;
 import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
 
 public class GdlImage extends GdlComplexData {
 	// some constructors
 	protected GdlImage() throws ExecutionException {
-		throw new ExecutionException(GdlPsis.TopicType.gdlImage + " is not implemented by anaToMia yet");
+		throw new ExecutionException(PSIs.TopicType.gdlImage + " is not implemented by anaToMia yet");
 	}
 
 

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlVideo.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlVideo.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlVideo.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -2,14 +2,14 @@
 
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
+import us.isidor.gdl.anaToMia.Widgets.base.PSIs;
 import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
 
 public class GdlVideo extends GdlComplexData {
 	// some constructors
 	protected GdlVideo() throws ExecutionException {
-		throw new ExecutionException(GdlPsis.TopicType.gdlVideo + " is not implemented by anaToMia yet");
+		throw new ExecutionException(PSIs.TopicType.gdlVideo + " is not implemented by anaToMia yet");
 	}
 
 

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -31,7 +31,7 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
 import us.isidor.gdl.anaToMia.Widgets.base.ButtonableObject;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
+import us.isidor.gdl.anaToMia.Widgets.base.PSIs;
 import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
 import us.isidor.gdl.anaToMia.Widgets.base.IGdlContainer;
 import us.isidor.gdl.anaToMia.Widgets.base.TmHelper;
@@ -100,7 +100,7 @@
 	
 	// returns the property of a gdl:ordered occurrence, otherwise the default value if no occurrence is set
 	public boolean getOrdered() throws InvalidGdlSchemaException{
-		Occurrence orderedOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlOrdered);
+		Occurrence orderedOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlOrdered);
 
 		if(orderedOcc != null){
 			String boolStr = orderedOcc.getValue().toUpperCase();
@@ -109,7 +109,7 @@
 			} else if(boolStr.equals("FALSE")) {
 				return false;
 			} else {
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlOrdered + " must be set to one of \"true\" or \"false\", but is \"" + orderedOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlOrdered + " must be set to one of \"true\" or \"false\", but is \"" + orderedOcc.getValue() + "\"");
 			}
 		} else {
 			return false;
@@ -119,7 +119,7 @@
 	
 	// returns a ListStyleTypeValeu instance that describes this instance's list style type property
 	public ListStyleTypeValue getListStyleType() throws InvalidGdlSchemaException {
-		Occurrence typeOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlListStyleType);
+		Occurrence typeOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlListStyleType);
 
 		if(typeOcc != null){
 			try{
@@ -127,7 +127,7 @@
 			}catch(IllegalArgumentException e){
 				String values = "deciaml, decimal-leading-zero, lower-greek, lower-roman, armenian, georgian, upper-roman, " +
 								"lower-alpha, upper-alpha, lower-latin, upper-latin, disc, circle, square or none";
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlListStyleType + " must be set to one of " + values + " , but is \"" + typeOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlListStyleType + " must be set to one of " + values + " , but is \"" + typeOcc.getValue() + "\"");
 			}
 		} else if(this.getOrdered()){
 			return ListStyleTypeValue.DECIMAL;
@@ -139,13 +139,13 @@
 	
 	// returns a ListStylePositionValue instance that describes this instance's list style position property
 	public ListStylePositionValue getListStylePosition() throws InvalidGdlSchemaException {
-		Occurrence positionOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlListStylePosition);
+		Occurrence positionOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlListStylePosition);
 
 		if(positionOcc != null){
 			try{
 				return ListStylePositionValue.valueOf(positionOcc.getValue().toUpperCase());
 			}catch(IllegalArgumentException e){
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlListStylePosition + " must be set to one of inside or outside, but is \"" + positionOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlListStylePosition + " must be set to one of inside or outside, but is \"" + positionOcc.getValue() + "\"");
 			}
 		} else{
 			return ListStylePositionValue.OUTSIDE;

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -32,7 +32,7 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
 import us.isidor.gdl.anaToMia.Widgets.base.ButtonableObject;
 import us.isidor.gdl.anaToMia.Widgets.base.GdlPosition;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
+import us.isidor.gdl.anaToMia.Widgets.base.PSIs;
 import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
 import us.isidor.gdl.anaToMia.Widgets.base.IGdlContainer;
 import us.isidor.gdl.anaToMia.Widgets.base.TmHelper;
@@ -101,7 +101,7 @@
 	
 	// returns a String instance that represents the literal value of this elements name.
 	public String getUnitName() throws InvalidGdlSchemaException {
-		Occurrence nameOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitName);
+		Occurrence nameOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlUnitName);
 
 		if(nameOcc == null){
 			return "";
@@ -125,9 +125,9 @@
 	public BorderStyleValue getBorderStyle(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence styleOcc = null;
 		if(styleClass != null){
-			styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderStyle, styleClass);
+			styleOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderStyle, styleClass);
 		} else {
-			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderStyle);
+			styleOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderStyle);
 		}
 
 		if(styleOcc == null && styleClass != null){
@@ -309,7 +309,7 @@
 		public void onAttach(){
 			super.onAttach();
 			try{
-				String[] styleClasses = new String[]{null, GdlPsis.Scope.gdlActive, GdlPsis.Scope.gdlFocus, GdlPsis.Scope.gdlHover};
+				String[] styleClasses = new String[]{null, PSIs.Scope.gdlActive, PSIs.Scope.gdlFocus, PSIs.Scope.gdlHover};
 				for (String styleClass : styleClasses) {
 					GdlUnit.this.setTextDecoration(this, GdlUnit.this.getTextDecoration(styleClass), styleClass);
 				}

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/GdlInstantiator.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/GdlInstantiator.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/GdlInstantiator.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -8,7 +8,7 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
 import us.isidor.gdl.anaToMia.Widgets.base.GdlSpace;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
+import us.isidor.gdl.anaToMia.Widgets.base.PSIs;
 import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
 import us.isidor.gdl.anaToMia.Widgets.base.TmHelper;
 import us.isidor.gdl.anaToMia.Widgets.base.Utils;
@@ -46,63 +46,63 @@
 	public static GdlVisibleObject instantiate(Topic tmRepresentative, Construct receivedData) throws InvalidGdlSchemaException, ExecutionException{
 		if(!(receivedData instanceof Topic) && !(receivedData instanceof Association) && receivedData != null) throw new ExecutionException("receivedData must be either a Topic or an Association, but is: " + receivedData.getClass());
 		
-		if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlSpace)){
+		if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlSpace)){
 			return new GdlSpace(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlTitle)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlTitle)){
 			return new GdlTitle(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlInfo)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlInfo)){
 			return new GdlInfo(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlReference)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlReference)){
 			return new GdlReference(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlRadioButton)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlRadioButton)){
 			return new GdlRadioButton(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlCheckBox)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlCheckBox)){
 			return new GdlCheckBox(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlValidateButton)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlValidateButton)){
 			return new GdlValidateButton(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlCreateButton)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlCreateButton)){
 			return new GdlCreateButton(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlDeleteButton)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlDeleteButton)){
 			return new GdlDeleteButton(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlCommitButton)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlCommitButton)){
 			return new GdlCommitButton(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlActionButton)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlActionButton)){
 			return new GdlActionButton(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlImage)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlImage)){
 			return new GdlImage(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlVideo)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlVideo)){
 			return new GdlVideo(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlAudio)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlAudio)){
 			return new GdlAudio(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlDatePicker)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlDatePicker)){
 			return new GdlDatePicker(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlTimePicker)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlTimePicker)){
 			return new GdlTimePicker(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlDateTimePicker)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlDateTimePicker)){
 			return new GdlDateTimePicker(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlUnit)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlUnit)){
 			return new GdlUnit(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlText)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlText)){
 			return new GdlText(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlList)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlList)){
 			return new GdlList(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlListBox)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlListBox)){
 			return new GdlListBox(tmRepresentative, receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlDefaultCreatorTopicView)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlDefaultCreatorTopicView)){
 			return new GdlDefaultCreatorTopicView(tmRepresentative);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlDefaultEditorTopicView)){
-			if(!(receivedData instanceof Topic)) throw new ExecutionException("receivedData must be of type Topic when used with " + GdlPsis.TopicType.gdlDefaultEditorTopicView);
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlDefaultEditorTopicView)){
+			if(!(receivedData instanceof Topic)) throw new ExecutionException("receivedData must be of type Topic when used with " + PSIs.TopicType.gdlDefaultEditorTopicView);
 			return new GdlDefaultEditorTopicView(tmRepresentative, (Topic)receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlSpecialCreatorTopicView)){
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlSpecialCreatorTopicView)){
 			return new GdlSpecialCreatorTopicView(tmRepresentative);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlSpecialEditorTopicView)){
-			if(!(receivedData instanceof Topic)) throw new ExecutionException("receivedData must be of type Topic when used with " + GdlPsis.TopicType.gdlSpecialEditorTopicView);
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlSpecialEditorTopicView)){
+			if(!(receivedData instanceof Topic)) throw new ExecutionException("receivedData must be of type Topic when used with " + PSIs.TopicType.gdlSpecialEditorTopicView);
 			return new GdlSpecialEditorTopicView(tmRepresentative, (Topic)receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlCreatorAssociationview)){
-			if(!(receivedData instanceof Topic)) throw new ExecutionException("receivedData must be of type Association when used with " + GdlPsis.TopicType.gdlCreatorAssociationview);
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlCreatorAssociationview)){
+			if(!(receivedData instanceof Topic)) throw new ExecutionException("receivedData must be of type Association when used with " + PSIs.TopicType.gdlCreatorAssociationview);
 			return new GdlCreatorAssociationView(tmRepresentative, (Association)receivedData);
-		}else if(TmHelper.isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlEditorAssociationView)){
-			if(!(receivedData instanceof Topic)) throw new ExecutionException("receivedData must be of type Associaiton when used with " + GdlPsis.TopicType.gdlEditorAssociationView);
+		}else if(TmHelper.isInstanceOf(tmRepresentative, PSIs.TopicType.gdlEditorAssociationView)){
+			if(!(receivedData instanceof Topic)) throw new ExecutionException("receivedData must be of type Associaiton when used with " + PSIs.TopicType.gdlEditorAssociationView);
 			return new GdlEditorAssociationView(tmRepresentative, (Association)receivedData);
 		}else{
 			String values = "";
@@ -120,7 +120,7 @@
 	
 	// returns a GdlDefaultCreatorTopicView that corresponds to the passed arguments
 	public static GdlDefaultCreatorTopicView instantiateDefaultCreatorTopicView(ArrayList<Pair<String, TopicIdentifierTypes>> requestedTopics, TopicMap schemaTm) throws InvalidGdlSchemaException, ExecutionException{
-		ArrayList<Topic> views = getViewTopics(requestedTopics, TmHelper.getTopicByPsi(GdlPsis.TopicType.gdlDefaultCreatorTopicView, schemaTm), schemaTm);
+		ArrayList<Topic> views = getViewTopics(requestedTopics, TmHelper.getTopicByPsi(PSIs.TopicType.gdlDefaultCreatorTopicView, schemaTm), schemaTm);
 		
 		if(views.size() != 1){
 			String values = "";
@@ -132,7 +132,7 @@
 				bindings += ", " + TmHelper.getAnyIdOfTopic(top);
 			if(bindings.length() >= 2)bindings = bindings.substring(2);
 			else bindings = "[]";
-			throw new InvalidGdlSchemaException("the combination of topics requested (" + values + ") must be bound exactly once to a " + GdlPsis.TopicType.gdlDefaultCreatorTopicView + " but is bound to " + bindings);
+			throw new InvalidGdlSchemaException("the combination of topics requested (" + values + ") must be bound exactly once to a " + PSIs.TopicType.gdlDefaultCreatorTopicView + " but is bound to " + bindings);
 		}
 		
 		return new GdlDefaultCreatorTopicView(views.get(0));
@@ -155,11 +155,11 @@
 
 		// get all TM-Values, i.e. TM-Multiple-Type-Value and TM-Single-Type-Value (only if requstedTops.sie() == 1)
 		ArrayList<Topic> tmValues = new ArrayList<Topic>();
-		Topic tmConstruct = TmHelper.getTopicByPsi(GdlPsis.RoleType.gdlTmConstruct, schemaTm);
-		Topic tmBinding = TmHelper.getTopicByPsi(GdlPsis.AssociationType.gdlTmBinding, schemaTm);
-		Topic descriptor = TmHelper.getTopicByPsi(GdlPsis.RoleType.gdlDescriptor, schemaTm);
-		Topic tmMultipleTypeValue = TmHelper.getTopicByPsi(GdlPsis.TopicType.gdlTmMultipleTypeValue, schemaTm);
-		Topic tmSingleTypeValue = TmHelper.getTopicByPsi(GdlPsis.TopicType.gdlTmSingleTypeValue, schemaTm);
+		Topic tmConstruct = TmHelper.getTopicByPsi(PSIs.RoleType.gdlTmConstruct, schemaTm);
+		Topic tmBinding = TmHelper.getTopicByPsi(PSIs.AssociationType.gdlTmBinding, schemaTm);
+		Topic descriptor = TmHelper.getTopicByPsi(PSIs.RoleType.gdlDescriptor, schemaTm);
+		Topic tmMultipleTypeValue = TmHelper.getTopicByPsi(PSIs.TopicType.gdlTmMultipleTypeValue, schemaTm);
+		Topic tmSingleTypeValue = TmHelper.getTopicByPsi(PSIs.TopicType.gdlTmSingleTypeValue, schemaTm);
 		for (Topic requestedTopic : requestedTops) {
 			ArrayList<Topic> allTmValues = TmHelper.getOtherPlayerOfBinaryAssociation(requestedTopic, tmConstruct, tmBinding, null, descriptor);
 			// filter only the valid tm-values for this scenario 
@@ -176,8 +176,8 @@
 
 		// get all views that are bound to the found tm-values
 		ArrayList<Topic> views = new ArrayList<Topic>();
-		Topic tmValueRoleType = TmHelper.getTopicByPsi(GdlPsis.RoleType.gdlTmValue, schemaTm);
-		Topic topicViewBinding = TmHelper.getTopicByPsi(GdlPsis.AssociationType.gdlTopicViewBinding, schemaTm);
+		Topic tmValueRoleType = TmHelper.getTopicByPsi(PSIs.RoleType.gdlTmValue, schemaTm);
+		Topic topicViewBinding = TmHelper.getTopicByPsi(PSIs.AssociationType.gdlTopicViewBinding, schemaTm);
 		for (Topic tmValue : tmValues) {
 			ArrayList<Topic> allViews = TmHelper.getOtherPlayerOfBinaryAssociation(tmValue, tmValueRoleType, topicViewBinding, null, viewSupertype, descriptor);
 			for (Topic view : allViews)
@@ -198,15 +198,15 @@
 		if(requestedTop == null) throw new InvalidGdlSchemaException("the topic " + requestedTopic.getFirst() + " was not found!");
 		
 		// get all tm-instance-value topics bound to the requested topic
-		Topic tmConstruct = TmHelper.getTopicByPsi(GdlPsis.RoleType.gdlTmConstruct, schemaTm);
-		Topic tmBinding = TmHelper.getTopicByPsi(GdlPsis.AssociationType.gdlTmBinding, schemaTm);
-		Topic descriptor = TmHelper.getTopicByPsi(GdlPsis.RoleType.gdlDescriptor, schemaTm);
+		Topic tmConstruct = TmHelper.getTopicByPsi(PSIs.RoleType.gdlTmConstruct, schemaTm);
+		Topic tmBinding = TmHelper.getTopicByPsi(PSIs.AssociationType.gdlTmBinding, schemaTm);
+		Topic descriptor = TmHelper.getTopicByPsi(PSIs.RoleType.gdlDescriptor, schemaTm);
 		ArrayList<Topic> tmInstanceValues = TmHelper.getOtherPlayerOfBinaryAssociation(requestedTop, tmConstruct, tmBinding, null, descriptor);
 		
 		// get all views bound to the found tm-instance-values
-		Topic defaultEditorTopicView = TmHelper.getTopicByPsi(GdlPsis.TopicType.gdlDefaultEditorTopicView, schemaTm);
-		Topic tmValue = TmHelper.getTopicByPsi(GdlPsis.RoleType.gdlTmValue, schemaTm);
-		Topic topicViewBinding = TmHelper.getTopicByPsi(GdlPsis.AssociationType.gdlTopicViewBinding, schemaTm);
+		Topic defaultEditorTopicView = TmHelper.getTopicByPsi(PSIs.TopicType.gdlDefaultEditorTopicView, schemaTm);
+		Topic tmValue = TmHelper.getTopicByPsi(PSIs.RoleType.gdlTmValue, schemaTm);
+		Topic topicViewBinding = TmHelper.getTopicByPsi(PSIs.AssociationType.gdlTopicViewBinding, schemaTm);
 		ArrayList<Topic> views = new ArrayList<Topic>();
 		for (Topic tmInstanceValue : tmInstanceValues) {
 			ArrayList<Topic> tmpViews = TmHelper.getOtherPlayerOfBinaryAssociation(tmInstanceValue, tmValue, topicViewBinding, null, defaultEditorTopicView, descriptor);
@@ -220,7 +220,7 @@
 			for (Topic top : views)
 				bindings += ", " + TmHelper.getAnyIdOfTopic(top);
 			if(bindings.length() >= 2)bindings = bindings.substring(2);
-			throw new InvalidGdlSchemaException("the topic " + requestedTopic.getFirst() + " requested for editing must be bound to exaclty one " + GdlPsis.TopicType.gdlDefaultEditorTopicView + ", but is bound to " + bindings);
+			throw new InvalidGdlSchemaException("the topic " + requestedTopic.getFirst() + " requested for editing must be bound to exaclty one " + PSIs.TopicType.gdlDefaultEditorTopicView + ", but is bound to " + bindings);
 		}else {
 			
 			ArrayList<Pair<String, TopicIdentifierTypes>> typesOfRequestedTopic = new ArrayList<Pair<String,TopicIdentifierTypes>>();
@@ -238,7 +238,7 @@
 				for (Topic top : views)
 					bindings += ", " + TmHelper.getAnyIdOfTopic(top);
 				if(bindings.length() >= 2)bindings = bindings.substring(2);
-				throw new InvalidGdlSchemaException("the combination of topic types (" + values + ") for the requested topic " + requestedTopic.getFirst() + " must be bound exactly once to a " + GdlPsis.TopicType.gdlDefaultEditorTopicView + " but is bound to " + bindings);
+				throw new InvalidGdlSchemaException("the combination of topic types (" + values + ") for the requested topic " + requestedTopic.getFirst() + " must be bound exactly once to a " + PSIs.TopicType.gdlDefaultEditorTopicView + " but is bound to " + bindings);
 			}
 			
 			return new GdlDefaultEditorTopicView(views.get(0), requestedTop);

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlListBox.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlListBox.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlListBox.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -10,7 +10,7 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
+import us.isidor.gdl.anaToMia.Widgets.base.PSIs;
 import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
 import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
@@ -68,7 +68,7 @@
 	
 	// returns the gdl:multiple property - if no value is set the default value is returned
 	public boolean getMultiple() throws InvalidGdlSchemaException {
-		Occurrence multipleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlMultiple);
+		Occurrence multipleOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlMultiple);
 
 		if(multipleOcc != null){
 			String boolStr = multipleOcc.getValue().toUpperCase();
@@ -77,7 +77,7 @@
 			} else if(boolStr.equals("FALSE")) {
 				return false;
 			} else {
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlMargin + " must be set to one of \"true\" or \"false\", but is \"" + multipleOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlMargin + " must be set to one of \"true\" or \"false\", but is \"" + multipleOcc.getValue() + "\"");
 			}
 		} else {
 			return false;
@@ -87,7 +87,7 @@
 	
 	// returns the gdl:one-per-group property - if no value is set the default value is returned
 	public boolean getOnePerGroup() throws InvalidGdlSchemaException {
-		Occurrence onePerGroupOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlOnePerGroup);
+		Occurrence onePerGroupOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlOnePerGroup);
 
 		if(onePerGroupOcc != null){
 			String boolStr = onePerGroupOcc.getValue().toUpperCase();
@@ -96,7 +96,7 @@
 			} else if(boolStr.equals("FALSE")) {
 				return false;
 			} else {
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlOnePerGroup + " must be set to one of \"true\" or \"false\", but is \"" + onePerGroupOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlOnePerGroup + " must be set to one of \"true\" or \"false\", but is \"" + onePerGroupOcc.getValue() + "\"");
 			}
 		} else {
 			return false;
@@ -107,15 +107,15 @@
 	// returns an int instance of a gdl:size occurrence.
 	// If no gdl:size occurrence is set, the default value is returned
 	public int getSize() throws InvalidGdlSchemaException {
-		Occurrence rowsOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlSize);
+		Occurrence rowsOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlSize);
 
 		if(rowsOcc != null){
 			try{
 				int value = Integer.valueOf(rowsOcc.getValue());
-				if(value < 0) throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlSize + " must be set to a positive integer, but is \"" + rowsOcc.getValue() + "\""); 
+				if(value < 0) throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlSize + " must be set to a positive integer, but is \"" + rowsOcc.getValue() + "\""); 
 				else return value;
 			}catch(NumberFormatException e){
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlSize + " must be set to a positive integer, but is \"" + rowsOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlSize + " must be set to a positive integer, but is \"" + rowsOcc.getValue() + "\"");
 			}
 		} else {
 			return 1;

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -16,7 +16,7 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
+import us.isidor.gdl.anaToMia.Widgets.base.PSIs;
 import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
 import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
@@ -74,14 +74,14 @@
 	public ColorValue getColor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence colorOcc = null;
 		if(styleClass != null){
-			colorOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlColor, styleClass);
+			colorOcc = super.getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlColor, styleClass);
 		} else {
-			colorOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlColor);
+			colorOcc = super.getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlColor);
 		}
 
-		if(colorOcc == null && (styleClass == null || styleClass.equals(GdlPsis.Scope.gdlFocus) || styleClass.equals(GdlPsis.Scope.gdlHover))){
+		if(colorOcc == null && (styleClass == null || styleClass.equals(PSIs.Scope.gdlFocus) || styleClass.equals(PSIs.Scope.gdlHover))){
 			return new ColorValue("#0000FF");
-		}else if(colorOcc == null && styleClass.equals(GdlPsis.Scope.gdlActive)){
+		}else if(colorOcc == null && styleClass.equals(PSIs.Scope.gdlActive)){
 			return null;
 		}else {
 			return new ColorValue(colorOcc.getValue());
@@ -97,9 +97,9 @@
 	public CursorValue getCursor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence cursorOcc = null;
 		if(styleClass != null){
-			cursorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlCursor, styleClass);
+			cursorOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlCursor, styleClass);
 		} else {
-			cursorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlCursor);
+			cursorOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlCursor);
 		}
 
 		if(cursorOcc == null && styleClass != null){
@@ -126,9 +126,9 @@
 	public TextDecorationValue getTextDecoration(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence decorationOcc = null;
 		if(styleClass != null){
-			decorationOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlTextDecoration, styleClass);
+			decorationOcc = super.getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlTextDecoration, styleClass);
 		} else {
-			decorationOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlTextDecoration);
+			decorationOcc = super.getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlTextDecoration);
 		}
 
 		if(decorationOcc == null && styleClass != null){
@@ -139,7 +139,7 @@
 			try{
 				return TextDecorationValue.valueOf(decorationOcc.getValue().toUpperCase());
 			}catch(IllegalArgumentException e){
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlTextDecoration + " must be set to one of \"underline\", \"overline\", \"line-through\", \"blink\" or \"none\", but is \"" + decorationOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlTextDecoration + " must be set to one of \"underline\", \"overline\", \"line-through\", \"blink\" or \"none\", but is \"" + decorationOcc.getValue() + "\"");
 			}
 		}
 	}

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -16,7 +16,7 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
 import us.isidor.gdl.anaToMia.Widgets.base.ButtonableObject;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
+import us.isidor.gdl.anaToMia.Widgets.base.PSIs;
 import us.isidor.gdl.anaToMia.Widgets.base.IGdlHasValueGroup;
 import us.isidor.gdl.anaToMia.Widgets.base.TmHelper;
 import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
@@ -104,9 +104,9 @@
 	public AbsoluteNumValue getBorderWidth(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence widthOcc = null;
 		if(styleClass != null){
-			widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderWidth, styleClass);
+			widthOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderWidth, styleClass);
 		} else {
-			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderWidth);
+			widthOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderWidth);
 		}
 
 		if(widthOcc == null) return null;
@@ -119,9 +119,9 @@
 	public AbsoluteNumValue getBorderTopWidth(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence widthOcc = null;
 		if(styleClass != null){
-			widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopWidth, styleClass);
+			widthOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderTopWidth, styleClass);
 		} else {
-			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopWidth);
+			widthOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderTopWidth);
 		}
 
 		if(widthOcc == null) return null;
@@ -134,9 +134,9 @@
 	public AbsoluteNumValue getBorderRightWidth(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence widthOcc = null;
 		if(styleClass != null){
-			widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightWidth, styleClass);
+			widthOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderRightWidth, styleClass);
 		} else {
-			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightWidth);
+			widthOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderRightWidth);
 		}
 
 		if(widthOcc == null) return null;
@@ -149,9 +149,9 @@
 	public AbsoluteNumValue getBorderBottomWidth(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence widthOcc = null;
 		if(styleClass != null){
-			widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomWidth, styleClass);
+			widthOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomWidth, styleClass);
 		} else {
-			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomWidth);
+			widthOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomWidth);
 		}
 
 		if(widthOcc == null) return null;
@@ -164,9 +164,9 @@
 	public AbsoluteNumValue getBorderLeftWidth(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence widthOcc = null;
 		if(styleClass != null){
-			widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftWidth, styleClass);
+			widthOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderLeftWidth, styleClass);
 		} else {
-			widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftWidth);
+			widthOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderLeftWidth);
 		}
 
 		if(widthOcc == null) return null;
@@ -178,9 +178,9 @@
 	public NumUnitValue getBorderRadius(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence radiusOcc = null;
 		if(styleClass != null){
-			radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRadius, styleClass);
+			radiusOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderRadius, styleClass);
 		} else {
-			radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRadius);
+			radiusOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderRadius);
 		}
 
 		if(radiusOcc == null) return null;
@@ -192,9 +192,9 @@
 	public NumUnitValue getBorderTopLeftRadius(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence radiusOcc = null;
 		if(styleClass != null){
-			radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopLeftRadius, styleClass);
+			radiusOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderTopLeftRadius, styleClass);
 		} else {
-			radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopLeftRadius);
+			radiusOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderTopLeftRadius);
 		}
 
 		if(radiusOcc == null) return null;
@@ -206,9 +206,9 @@
 	public NumUnitValue getBorderTopRightRadius(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence radiusOcc = null;
 		if(styleClass != null){
-			radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopRightRadius, styleClass);
+			radiusOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderTopRightRadius, styleClass);
 		} else {
-			radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopRightRadius);
+			radiusOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderTopRightRadius);
 		}
 
 		if(radiusOcc == null) return null;
@@ -220,9 +220,9 @@
 	public NumUnitValue getBorderBottomLeftRadius(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence radiusOcc = null;
 		if(styleClass != null){
-			radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomLeftRadius, styleClass);
+			radiusOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomLeftRadius, styleClass);
 		} else {
-			radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomLeftRadius);
+			radiusOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomLeftRadius);
 		}
 
 		if(radiusOcc == null) return null;
@@ -234,9 +234,9 @@
 	public NumUnitValue getBorderBottomRightRadius(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence radiusOcc = null;
 		if(styleClass != null){
-			radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomRightRadius, styleClass);
+			radiusOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomRightRadius, styleClass);
 		} else {
-			radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomRightRadius);
+			radiusOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomRightRadius);
 		}
 
 		if(radiusOcc == null) return null;
@@ -248,9 +248,9 @@
 	public ColorValue getBorderColor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence colorOcc = null;
 		if(styleClass != null){
-			colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderColor, styleClass);
+			colorOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderColor, styleClass);
 		} else {
-			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderColor);
+			colorOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderColor);
 		}
 
 		if(colorOcc == null ) return null;
@@ -262,9 +262,9 @@
 	public ColorValue getBorderTopColor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence colorOcc = null;
 		if(styleClass != null){
-			colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopColor, styleClass);
+			colorOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderTopColor, styleClass);
 		} else {
-			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopColor);
+			colorOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderTopColor);
 		}
 
 		if(colorOcc == null ) return null;
@@ -276,9 +276,9 @@
 	public ColorValue getBorderRightColor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence colorOcc = null;
 		if(styleClass != null){
-			colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightColor, styleClass);
+			colorOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderRightColor, styleClass);
 		} else {
-			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightColor);
+			colorOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderRightColor);
 		}
 
 		if(colorOcc == null ) return null;
@@ -290,9 +290,9 @@
 	public ColorValue getBorderBottomColor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence colorOcc = null;
 		if(styleClass != null){
-			colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomColor, styleClass);
+			colorOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomColor, styleClass);
 		} else {
-			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomColor);
+			colorOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomColor);
 		}
 
 		if(colorOcc == null ) return null;
@@ -304,9 +304,9 @@
 	public ColorValue getBorderLeftColor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence colorOcc = null;
 		if(styleClass != null){
-			colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftColor, styleClass);
+			colorOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderLeftColor, styleClass);
 		} else {
-			colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftColor);
+			colorOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderLeftColor);
 		}
 
 		if(colorOcc == null ) return null;
@@ -318,9 +318,9 @@
 	public BorderStyleValue getBorderStyle(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence styleOcc = null;
 		if(styleClass != null){
-			styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderStyle, styleClass);
+			styleOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderStyle, styleClass);
 		} else {
-			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderStyle);
+			styleOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderStyle);
 		}
 
 		if(styleOcc == null) {
@@ -340,9 +340,9 @@
 	public BorderStyleValue getBorderTopStyle(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence styleOcc = null;
 		if(styleClass != null){
-			styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopStyle, styleClass);
+			styleOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderTopStyle, styleClass);
 		} else {
-			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderTopStyle);
+			styleOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderTopStyle);
 		}
 
 		if(styleOcc == null) {
@@ -362,9 +362,9 @@
 	public BorderStyleValue getBorderRightStyle(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence styleOcc = null;
 		if(styleClass != null){
-			styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightStyle, styleClass);
+			styleOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderRightStyle, styleClass);
 		} else {
-			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderRightStyle);
+			styleOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderRightStyle);
 		}
 
 		if(styleOcc == null) {
@@ -384,9 +384,9 @@
 	public BorderStyleValue getBorderBottomStyle(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence styleOcc = null;
 		if(styleClass != null){
-			styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomStyle, styleClass);
+			styleOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomStyle, styleClass);
 		} else {
-			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderBottomStyle);
+			styleOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderBottomStyle);
 		}
 
 		if(styleOcc == null) {
@@ -406,9 +406,9 @@
 	public BorderStyleValue getBorderLeftStyle(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence styleOcc = null;
 		if(styleClass != null){
-			styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftStyle, styleClass);
+			styleOcc = getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlBorderLeftStyle, styleClass);
 		} else {
-			styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderLeftStyle);
+			styleOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlBorderLeftStyle);
 		}
 
 		if(styleOcc == null) {
@@ -427,13 +427,13 @@
 	// returns a TextType instance of a gdl:text-type occurrence.
 	// If no gdl:text-type occurrence is set, the default value is returned
 	public TextTypeValue getTextType() throws InvalidGdlSchemaException {
-		Occurrence typeOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlTextType);
+		Occurrence typeOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlTextType);
 
 		if(typeOcc != null){
 			try{
 				return TextTypeValue.valueOf(typeOcc.getValue().toUpperCase());
 			}catch(IllegalArgumentException e){
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlTextType + " must be set to one of \"text\" or \"password\", but is \"" + typeOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlTextType + " must be set to one of \"text\" or \"password\", but is \"" + typeOcc.getValue() + "\"");
 			}
 		} else {
 			return TextTypeValue.Text;
@@ -444,7 +444,7 @@
 	// returns a boolean instance of a gdl:readonly occurrence.
 	// If no gdl:readonly occurrence is set, the default value is returned
 	public boolean getReadonly() throws InvalidGdlSchemaException {
-		Occurrence readOnlyOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlReadonly);
+		Occurrence readOnlyOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlReadonly);
 
 		if(readOnlyOcc != null){
 			String boolStr = readOnlyOcc.getValue().toUpperCase();
@@ -453,7 +453,7 @@
 			} else if(boolStr.equals("FALSE")) {
 				return false;
 			} else {
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlReadonly + " must be set to one of \"true\" or \"false\", but is \"" + readOnlyOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlReadonly + " must be set to one of \"true\" or \"false\", but is \"" + readOnlyOcc.getValue() + "\"");
 			}
 		} else {
 			return true;
@@ -464,15 +464,15 @@
 	// returns an int instance of a gdl:rows occurrence.
 	// If no gdl:rows occurrence is set, the default value is returned
 	public int getRows() throws InvalidGdlSchemaException {
-		Occurrence rowsOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlRows);
+		Occurrence rowsOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlRows);
 
 		if(rowsOcc != null){
 			try{
 				int value = Integer.valueOf(rowsOcc.getValue());
-				if(value < 0) throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlRows + " must be set to a positive integer, but is \"" + rowsOcc.getValue() + "\""); 
+				if(value < 0) throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlRows + " must be set to a positive integer, but is \"" + rowsOcc.getValue() + "\""); 
 				else return value;
 			}catch(NumberFormatException e){
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlRows + " must be set to a positive integer, but is \"" + rowsOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlRows + " must be set to a positive integer, but is \"" + rowsOcc.getValue() + "\"");
 			}
 		} else {
 			return 1;
@@ -483,15 +483,15 @@
 	// returns a boolean instance of a gdl:cols occurrence.
 	// If no gdl:cols occurrence is set, the default value is returned
 	public int getCols() throws InvalidGdlSchemaException {
-		Occurrence colsOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlCols);
+		Occurrence colsOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlCols);
 		
 		if(colsOcc != null){
 			try{
 				int value = Integer.valueOf(colsOcc.getValue());
-				if(value < 0) throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlCols + " must be set to a positive integer, but is \"" + colsOcc.getValue() + "\""); 
+				if(value < 0) throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlCols + " must be set to a positive integer, but is \"" + colsOcc.getValue() + "\""); 
 				else return value;
 			}catch(NumberFormatException e){
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlCols + " must be set to a positive integer, but is \"" + colsOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlCols + " must be set to a positive integer, but is \"" + colsOcc.getValue() + "\"");
 			}
 		} else {
 			return 5;
@@ -502,13 +502,13 @@
 	// returns a boolean instance of a gdl:resize occurrence.
 	// If no gdl:resize occurrence is set, the default value is returned
 	public ResizeValue getResize() throws InvalidGdlSchemaException {
-		Occurrence resizeOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlResize);
+		Occurrence resizeOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlResize);
 
 		if(resizeOcc != null){
 			try{
 				return ResizeValue.valueOf(resizeOcc.getValue().toUpperCase());
 			}catch(IllegalArgumentException e){
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlResize + " must be set to one of \"both\", \"vertical\", \"horizontal\" or \"none\", but is \"" + resizeOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlResize + " must be set to one of \"both\", \"vertical\", \"horizontal\" or \"none\", but is \"" + resizeOcc.getValue() + "\"");
 			}
 		} else {
 			return ResizeValue.NONE;
@@ -564,8 +564,8 @@
 	
 	// sets the rows property if gdl:width is not set
 	public void setRows(Widget widget, int value) throws InvalidGdlSchemaException, ExecutionException {
-		if(value < 0) throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlRows + " must be set to a positive integer, but is \"" + value + "\"");
-		Occurrence heightOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlHeight);
+		if(value < 0) throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlRows + " must be set to a positive integer, but is \"" + value + "\"");
+		Occurrence heightOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlHeight);
 
 		// rows is only treated if height is not set
 		if(heightOcc == null) ((TextArea)widget).setVisibleLines(value);
@@ -574,8 +574,8 @@
 	
 	// sets the cols property if gdl:height is not set
 	public void setCols(Widget widget, int value) throws InvalidGdlSchemaException, ExecutionException {
-		if(value < 0) throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlRows + " must be set to a positive integer, but is \"" + value + "\"");
-		Occurrence widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlWidth);
+		if(value < 0) throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlRows + " must be set to a positive integer, but is \"" + value + "\"");
+		Occurrence widthOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlWidth);
 
 		// cols is only treated if width is not set
 		if(widthOcc == null) DOM.setElementAttribute(widget.getElement(), "cols", String.valueOf(value));
@@ -884,7 +884,7 @@
 	
 	@Override
 	public Topic getDefaultValue() throws InvalidGdlSchemaException {
-		if(this.getDefaultLiteralValue() != null && this.getDefaultTmValue() != null) throw new InvalidGdlSchemaException("the topic " + TmHelper.getAnyIdOfTopic(this.getValueGroup()) + " must be bound to maximal one " + GdlPsis.TopicType.gdlDefaultValue + ", but is: 2");
+		if(this.getDefaultLiteralValue() != null && this.getDefaultTmValue() != null) throw new InvalidGdlSchemaException("the topic " + TmHelper.getAnyIdOfTopic(this.getValueGroup()) + " must be bound to maximal one " + PSIs.TopicType.gdlDefaultValue + ", but is: 2");
 		else if(this.getDefaultLiteralValue() != null) return this.getDefaultLiteralValue();
 		else return this.getDefaultTmValue();
 	}

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -6,7 +6,7 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
+import us.isidor.gdl.anaToMia.Widgets.base.PSIs;
 import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
 import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
@@ -39,9 +39,9 @@
 	public DirectionValue getDirection(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence directionOcc = null;
 		if(styleClass != null){
-			directionOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlDirection, styleClass);
+			directionOcc = super.getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlDirection, styleClass);
 		} else {
-			directionOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlDirection);
+			directionOcc = super.getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlDirection);
 		}
 
 		if(directionOcc == null && styleClass != null){
@@ -52,7 +52,7 @@
 			try{
 				return DirectionValue.valueOf(directionOcc.getValue().toUpperCase());
 			}catch(IllegalArgumentException e){
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlDirection + " must be set to one of \"ltr\" or \"rtl\", but is \"" + directionOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlDirection + " must be set to one of \"ltr\" or \"rtl\", but is \"" + directionOcc.getValue() + "\"");
 			}
 		}
 	}
@@ -64,9 +64,9 @@
 	public TextAlignValue getTextAlign(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence textAlignOcc = null;
 		if(styleClass != null){
-			textAlignOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlTextAlign, styleClass);
+			textAlignOcc = super.getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlTextAlign, styleClass);
 		} else {
-			textAlignOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlTextAlign);
+			textAlignOcc = super.getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlTextAlign);
 		}
 		
 		if(textAlignOcc == null && styleClass != null){
@@ -77,7 +77,7 @@
 			try{
 				return TextAlignValue.valueOf(textAlignOcc.getValue().toUpperCase());
 			}catch(IllegalArgumentException e){
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlTextAlign + " must be set to one of \"left\", \"right\", \"center\" or \"justify\", but is \"" + textAlignOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlTextAlign + " must be set to one of \"left\", \"right\", \"center\" or \"justify\", but is \"" + textAlignOcc.getValue() + "\"");
 			}
 		}
 	}
@@ -89,9 +89,9 @@
 	public NormalNumUnitValue getLineHeight(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence lineHeightOcc = null;
 		if(styleClass != null){
-			lineHeightOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlLineHeight, styleClass);
+			lineHeightOcc = super.getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlLineHeight, styleClass);
 		} else {
-			lineHeightOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlLineHeight);
+			lineHeightOcc = super.getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlLineHeight);
 		}
 		
 		if(lineHeightOcc == null && styleClass != null){
@@ -110,9 +110,9 @@
 	public TextDecorationValue getTextDecoration(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence decorationOcc = null;
 		if(styleClass != null){
-			decorationOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlTextDecoration, styleClass);
+			decorationOcc = super.getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlTextDecoration, styleClass);
 		} else {
-			decorationOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlTextDecoration);
+			decorationOcc = super.getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlTextDecoration);
 		}
 
 		if(decorationOcc == null && styleClass != null){
@@ -123,7 +123,7 @@
 			try{
 				return TextDecorationValue.valueOf(decorationOcc.getValue().toUpperCase().replace("-", "_"));
 			}catch(IllegalArgumentException e){
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlTextDecoration + " must be set to one of \"underline\", \"overline\", \"line-through\", \"blink\" or \"none\", but is \"" + decorationOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlTextDecoration + " must be set to one of \"underline\", \"overline\", \"line-through\", \"blink\" or \"none\", but is \"" + decorationOcc.getValue() + "\"");
 			}
 		}
 	}
@@ -135,9 +135,9 @@
 	public ColorValue getColor(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence colorOcc = null;
 		if(styleClass != null){
-			colorOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlColor, styleClass);
+			colorOcc = super.getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlColor, styleClass);
 		} else {
-			colorOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlColor);
+			colorOcc = super.getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlColor);
 		}
 
 		if(colorOcc == null && styleClass != null){
@@ -154,9 +154,9 @@
 	public String getFontFamily(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence fontOcc = null;
 		if(styleClass != null){
-			fontOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlFontfamily, styleClass);
+			fontOcc = super.getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlFontfamily, styleClass);
 		} else {
-			fontOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlFontfamily);
+			fontOcc = super.getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlFontfamily);
 		}
 
 		if(fontOcc == null){
@@ -173,9 +173,9 @@
 	public FontStyle getFontStyle(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence styleOcc = null;
 		if(styleClass != null){
-			styleOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlFontStyle, styleClass);
+			styleOcc = super.getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlFontStyle, styleClass);
 		} else {
-			styleOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlFontStyle);
+			styleOcc = super.getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlFontStyle);
 		}
 		
 		if(styleOcc == null && styleClass != null){
@@ -186,7 +186,7 @@
 			try{
 				return FontStyle.valueOf(styleOcc.getValue().toUpperCase());
 			}catch(IllegalArgumentException e){
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlFontStyle + " must be set to one of \"normal\", \"italic\" or \"oblique\", but is \"" + styleOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlFontStyle + " must be set to one of \"normal\", \"italic\" or \"oblique\", but is \"" + styleOcc.getValue() + "\"");
 			}
 		}
 	}
@@ -198,9 +198,9 @@
 	public PositiveNumUnitValue getFontSize(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence sizeOcc = null;
 		if(styleClass != null){
-			sizeOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlFontSize, styleClass);
+			sizeOcc = super.getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlFontSize, styleClass);
 		} else {
-			sizeOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlFontSize);
+			sizeOcc = super.getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlFontSize);
 		}
 
 		if(sizeOcc == null && styleClass != null){
@@ -219,9 +219,9 @@
 	public FontWeightValue getFontWeight(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence weightOcc = null;
 		if(styleClass != null){
-			weightOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlFontWeight, styleClass);
+			weightOcc = super.getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlFontWeight, styleClass);
 		} else {
-			weightOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlFontWeight);
+			weightOcc = super.getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlFontWeight);
 		}
 		
 		if(weightOcc == null && styleClass != null){
@@ -233,7 +233,7 @@
 				return FontWeightValue.fromString(weightOcc.getValue());
 			}catch(IllegalArgumentException e){
 				String values = "normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800 or 900";
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlFontWeight + " must be set to one of " + values + ", but found " + weightOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlFontWeight + " must be set to one of " + values + ", but found " + weightOcc.getValue() + "\"");
 			}
 		}
 	}
@@ -245,9 +245,9 @@
 	public NormalNumUnitValue getLetterSpacing(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence spacingOcc = null;
 		if(styleClass != null){
-			spacingOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlLetterSpacing, styleClass);
+			spacingOcc = super.getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlLetterSpacing, styleClass);
 		} else {
-			spacingOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlLetterSpacing);
+			spacingOcc = super.getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlLetterSpacing);
 		}
 		
 		if(spacingOcc == null && styleClass != null){
@@ -266,9 +266,9 @@
 	public NormalNumUnitValue getWordSpacing(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence spacingOcc = null;
 		if(styleClass != null){
-			spacingOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlWordSpacing, styleClass);
+			spacingOcc = super.getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlWordSpacing, styleClass);
 		} else {
-			spacingOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlWordSpacing);
+			spacingOcc = super.getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlWordSpacing);
 		}
 		
 		if(spacingOcc == null && styleClass != null){
@@ -349,7 +349,7 @@
 	
 	public void setGdlStyle(Widget widget) throws InvalidGdlSchemaException, ExecutionException {
 		super.setGdlStyle(widget);
-		String[] styleClasses = new String[]{null, GdlPsis.Scope.gdlActive, GdlPsis.Scope.gdlFocus, GdlPsis.Scope.gdlHover};
+		String[] styleClasses = new String[]{null, PSIs.Scope.gdlActive, PSIs.Scope.gdlFocus, PSIs.Scope.gdlHover};
 		for (String styleClass : styleClasses) {
 			this.setColor(widget, this.getColor(styleClass), styleClass);
 			

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTitle.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTitle.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTitle.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -5,7 +5,7 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
+import us.isidor.gdl.anaToMia.Widgets.base.PSIs;
 import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
 import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
 import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
@@ -100,9 +100,9 @@
 	public PositiveNumUnitValue getFontSize(String styleClass) throws InvalidGdlSchemaException {
 		Occurrence sizeOcc = null;
 		if(styleClass != null){
-			sizeOcc = super.getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlFontSize, styleClass);
+			sizeOcc = super.getNoneOrOneScopedOccurrence(PSIs.OccurrenceType.gdlFontSize, styleClass);
 		} else {
-			sizeOcc = super.getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlFontSize);
+			sizeOcc = super.getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlFontSize);
 		}
 
 		if(sizeOcc == null && styleClass != null){
@@ -122,14 +122,14 @@
 	
 	// returns the property of a gdl:title-order occurrence, otherwise the default value if no occurrence is set
 	public int getTitleOrder() throws InvalidGdlSchemaException{
-		Occurrence orderOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlTitleOrder);
+		Occurrence orderOcc = getNoneOrOneUnscopedOccurrence(PSIs.OccurrenceType.gdlTitleOrder);
 
 		if(orderOcc != null){
 			try{
 				int titleOrder = Integer.valueOf(orderOcc.getValue());
 				return titleOrder;
 			}catch(NumberFormatException e){
-				throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlTitleOrder + " must be set to one of \"1\", \"2\", \"3\" or \"4\", but is \"" + orderOcc.getValue() + "\"");
+				throw new InvalidGdlSchemaException("The occurrence " + PSIs.OccurrenceType.gdlTitleOrder + " must be set to one of \"1\", \"2\", \"3\" or \"4\", but is \"" + orderOcc.getValue() + "\"");
 			}
 		} else {
 			return 1;
@@ -147,9 +147,9 @@
 	// adds a stly property and value as a pair to the corresponding array list
 	private void addStyleToStore(String styleClass, String property, String value){
 		if(styleClass == null) return;
-		else if(styleClass.equals(GdlPsis.Scope.gdlActive)) this.titleActiveCssNamesAndStyles.add(new Pair<String, String>(property, value));
-		else if(styleClass.equals(GdlPsis.Scope.gdlFocus)) this.titleFocusCssNamesAndStyles.add(new Pair<String, String>(property, value));
-		else if(styleClass.equals(GdlPsis.Scope.gdlHover)) this.titleHoverCssNamesAndStyles.add(new Pair<String, String>(property, value));
+		else if(styleClass.equals(PSIs.Scope.gdlActive)) this.titleActiveCssNamesAndStyles.add(new Pair<String, String>(property, value));
+		else if(styleClass.equals(PSIs.Scope.gdlFocus)) this.titleFocusCssNamesAndStyles.add(new Pair<String, String>(property, value));
+		else if(styleClass.equals(PSIs.Scope.gdlHover)) this.titleHoverCssNamesAndStyles.add(new Pair<String, String>(property, value));
 	}
 	
 

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlView.java	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlView.java	Mon Aug 15 01:26:58 2011	(r726)
@@ -10,7 +10,7 @@
 import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
 import us.isidor.gdl.anaToMia.Widgets.base.ButtonableObject;
 import us.isidor.gdl.anaToMia.Widgets.base.GdlPosition;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
+import us.isidor.gdl.anaToMia.Widgets.base.PSIs;
 import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
 import us.isidor.gdl.anaToMia.Widgets.base.IGdlContainer;
 import us.isidor.gdl.anaToMia.Widgets.base.TmHelper;
@@ -60,9 +60,9 @@
 	
 	
 	public String getViewName()throws InvalidGdlSchemaException {
-		JsArray<Name> viewNames = super.tmRepresentative.getNames(tm.getTopicBySubjectIdentifier(tm.createLocator(GdlPsis.NameType.gdlViewName)));
+		JsArray<Name> viewNames = super.tmRepresentative.getNames(tm.getTopicBySubjectIdentifier(tm.createLocator(PSIs.NameType.gdlViewName)));
 		if(viewNames.length() != 1){
-			throw new InvalidGdlSchemaException("A view must be bound to a " + GdlPsis.NameType.gdlViewName + " instance");
+			throw new InvalidGdlSchemaException("A view must be bound to a " + PSIs.NameType.gdlViewName + " instance");
 		}
 		return viewNames.get(0).getValue();
 	}

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm	Mon Aug 15 00:59:52 2011	(r725)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm	Mon Aug 15 01:26:58 2011	(r726)
@@ -78,6 +78,7 @@
            {"subject_identifiers":["[gdl:float]"], "instance_of":["si:[tmcl:occurrence-type]"]},
            {"subject_identifiers":["[gdl:clear]"], "instance_of":["si:[tmcl:occurrence-type]"]},
            {"subject_identifiers":["[gdl:resize]"], "instance_of":["si:[tmcl:occurrence-type]"]},
+           {"subject_identifiers":["[gdl:vertical-align]"], "instance_of":["si:[tmcl:occurrence-type]"]},
            {"subject_identifiers":["[gdl:action-button]"], "instance_of":["si:[tmcl:occurrence-type]"]},
            {"subject_identifiers":["[gdl:font-size]"], "instance_of":["si:[tmcl:occurrence-type]"]},
            {"subject_identifiers":["[doc:default-creator-topic-view-1]"], "instance_of":["si:[gdl:Default-Creator-Topic-View]"], "names":[{"value": "Def. Creator View 1", "type":"si:[gdl:view-name]"}], "occurrences":[{"type":"si:[gdl:id]", "value":"default_creator_topic_view_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:background-color]", "value":"#ccc"}, {"type":"si:[gdl:width]", "value":"500px"}, {"type":"si:[gdl:height]", "value":"600px"}]},
@@ -118,9 +119,9 @@
            {"subject_identifiers":["[doc:unit-1-radio-button]"], "instance_of":["si:[gdl:Radio-Button]"], "occurrences":[{"type":"si:[gdl:id]", "value":"unit_1_radio_button_id"},{"type":"si:[gdl:content-orientation]", "value":"horizontal"}, {"type":"si:[gdl:background-color]", "value": "lime"}, {"type":"si:[gdl:margin-left]", "value":"15pt"}, {"type":"si:[gdl:font-size]", "value":"8pt"}]},
            {"subject_identifiers":["[doc:unit-1-check-box]"], "instance_of":["si:[gdl:Check-Box]"], "occurrences":[{"type":"si:[gdl:id]", "value":"unit_1_check_box_id"},{"type":"si:[gdl:content-orientation]", "value":"vertical"}, {"type":"si:[gdl:background-color]", "value": "lime"}, {"type":"si:[gdl:margin]", "value":"30pt"}, {"type":"si:[gdl:font-size]", "value":"8pt"}]},
            {"subject_identifiers":["[doc:unit-1-action-button]"], "instance_of":["si:[gdl:Action-Button]"], "occurrences":[{"type":"si:[gdl:id]","value":"unit_1_action_button"}]},
-           {"subject_identifiers":["[doc:list-item-1]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:padding-bottom]", "value":"5px"}, {"type":"si:[gdl:margin-bottom]", "value":"5px"}]},
-           {"subject_identifiers":["[doc:list-item-3]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_3_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:padding-bottom]", "value":"5px"}]},
-           {"subject_identifiers":["[doc:list-item-2]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_2_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:padding]", "value":"5px"}, {"type":"si:[gdl:margin-top]", "value":"5px"}]},
+           {"subject_identifiers":["[doc:list-item-1]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:padding-bottom]", "value":"5px"}, {"type":"si:[gdl:margin-bottom]", "value":"5px"}, {"type":"si:[gdl:vertical-align]", "value":"middle"}]},
+           {"subject_identifiers":["[doc:list-item-3]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_3_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:padding-bottom]", "value":"5px"}, {"type":"si:[gdl:vertical-align]", "value":"middle"}]},
+           {"subject_identifiers":["[doc:list-item-2]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_2_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:padding]", "value":"5px"}, {"type":"si:[gdl:margin-top]", "value":"5px"}, {"type":"si:[gdl:vertical-align]", "value":"middle"}]},
            {"subject_identifiers":["[gdl:List-Box]"]},
            {"subject_identifiers":["[doc:text-1]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"text_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:readonly]", "value":"false", "datatype":"[xsd:boolean]"}, {"type":"si:[gdl:resize]", "value":"both"}, {"type":"si:[gdl:border-style]", "value":"none"}, {"type":"si:[gdl:background-color]", "value":"#ccc"}]},
            {"subject_identifiers":["[doc:unit-1]"], "instance_of":["si:[gdl:Unit]"], "occurrences":[{"type":"si:[gdl:id]", "value":"unit_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:unit-name]", "value":"unit 1"}, {"type":"si:[gdl:width]", "value":"400px"}, {"type":"si:[gdl:height]", "value":"200px"}, {"type":"si:[gdl:border-style]", "value":"dashed"}, {"type":"si:[gdl:border-width]", "value":"1px"}, {"type":"si:[gdl:text-decoration]", "value":"line-through"},{"type":"si:[gdl:background-color]", "value":"lime"}]},




More information about the Isidorus-cvs mailing list