Author: lgiessmann
Date: Mon Jul 11 23:53:15 2011
New Revision: 600
Log:
gdl-frontend: Widgets: implemented stub-widgets for all buttons, GdlLineBreak (stub), and GdlInfo(Stub); implemented the method GdlInstantiator.instantiate(Topic tmRepresentative), which creates a corresponding java instance of a passed topic
Added:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlLineBreak.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/button/GdlButton.java
- copied, changed from r599, branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/Button.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlCheckBox.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlCommitButton.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlCreateButton.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlDeleteButton.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlRadioButton.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlValidateButton.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlInfo.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/
- copied from r599, branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/
- copied from r599, branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/
Deleted:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/Button.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/GDL_Widgets.gwt.xml
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPanel.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.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/GdlDatePicker.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlDateTimePicker.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlTimePicker.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/value/AbsoluteNumValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/AutoNumUnitValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/AutoNumValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/BorderStyleValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ClearValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ColorValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ContentOrientationValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/CssValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/CursorValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/DirectionValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/FontWeightValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/HtmlValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ListStylePositionValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ListStyleTypeValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/NormalNumUnitValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/NumUnitValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/PositiveNumUnitValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ResizeValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/TextAlignValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/TextDecorationValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/TextTypeValue.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlCreatorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultEditorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlEditorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialEditorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlView.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/GDL_Widgets.gwt.xml
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/GDL_Widgets.gwt.xml Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/GDL_Widgets.gwt.xml Mon Jul 11 23:53:15 2011 (r600)
@@ -20,11 +20,11 @@
<!-- Specify the paths for translatable code -->
<source path="base"/>
- <source path="views"/>
+ <source path="view"/>
<source path="text"/>
<source path="container"/>
<source path="environment"/>
- <source path="values"/>
+ <source path="value"/>
<source path="isidorus"/>
<source path="complexData"/>
<source path="button"/>
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlLineBreak.java
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlLineBreak.java Mon Jul 11 23:53:15 2011 (r600)
@@ -0,0 +1,19 @@
+package us.isidor.gdl.anaToMia.Widgets.base;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+public class GdlLineBreak extends GdlVisibleObject {
+ // TODO: implement
+
+ // some constructors
+ protected GdlLineBreak() throws InvalidGdlSchemaException, ExecutionException {
+ super();
+ }
+
+
+ public GdlLineBreak(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
+ super(tmRepresentative);
+ }
+}
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 Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPanel.java Mon Jul 11 23:53:15 2011 (r600)
@@ -12,7 +12,8 @@
import us.isidor.gdl.anaToMia.Widgets.environment.ILoadSchemaCallback;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidContentException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
-import us.isidor.gdl.anaToMia.Widgets.views.GdlDefaultTopicView;
+import us.isidor.gdl.anaToMia.Widgets.view.GdlDefaultTopicView;
+
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.Composite;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java Mon Jul 11 23:53:15 2011 (r600)
@@ -14,7 +14,7 @@
public final static String gdlEditorAssociationView = gdl + "Editor-Association-View";
public final static String gdlTopicView = gdl + "Topic-View";
public final static String gdlDefaultTopicView = gdl + "Default-Topic-View";
- public final static String gdlDefaulCreatorTopicView = gdl + "Default-Creator-Topic-View";
+ public final static String gdlDefaultCreatorTopicView = gdl + "Default-Creator-Topic-View";
public final static String gdlDefaultEditorTopicView = gdl + "Default-Editor-Topic-View";
public final static String gdlSpecialTopicView = gdl + "Special-Topic-View";
public final static String gdlSpecialCreatorTopicView = gdl + "Special-Creator-TopicView";
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Mon Jul 11 23:53:15 2011 (r600)
@@ -12,15 +12,16 @@
import us.isidor.gdl.anaToMia.Widgets.environment.MultipleHandlerRegistration;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
import us.isidor.gdl.anaToMia.Widgets.environment.Pattern;
-import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.values.AutoNumValue;
-import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
-import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ContentOrientationValue;
-import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AbsoluteNumValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AutoNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AutoNumValue;
+import us.isidor.gdl.anaToMia.Widgets.value.BorderStyleValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ClearValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ContentOrientationValue;
+import us.isidor.gdl.anaToMia.Widgets.value.CursorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.NumUnitValue;
+
import com.google.gwt.core.client.JsArray;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.Style.Display;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Mon Jul 11 23:53:15 2011 (r600)
@@ -13,8 +13,8 @@
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
import us.isidor.gdl.anaToMia.Widgets.isidorus.LoadSchemaCallback;
-import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
-import us.isidor.gdl.anaToMia.Widgets.views.GdlView;
+import us.isidor.gdl.anaToMia.Widgets.value.CursorValue;
+import us.isidor.gdl.anaToMia.Widgets.view.GdlView;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.event.dom.client.ClickEvent;
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlActionButton.java
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlActionButton.java Mon Jul 11 23:53:15 2011 (r600)
@@ -0,0 +1,18 @@
+package us.isidor.gdl.anaToMia.Widgets.button;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+public class GdlActionButton extends GdlButton {
+ // TODO: implement
+
+ protected GdlActionButton(){
+ super();
+ }
+
+
+ public GdlActionButton(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
+ super(tmRepresentative);
+ }
+}
Copied and modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlButton.java (from r599, branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/Button.java)
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/Button.java Mon Jul 11 08:17:54 2011 (r599, copy source)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlButton.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,7 +1,19 @@
package us.isidor.gdl.anaToMia.Widgets.button;
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.text.GdlTextObject;
-public abstract class Button extends GdlTextObject {
+public abstract class GdlButton extends GdlTextObject {
// TODO: implement
+
+ protected GdlButton(){
+ super();
+ }
+
+
+ public GdlButton(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
+ super(tmRepresentative);
+ }
}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlCheckBox.java
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlCheckBox.java Mon Jul 11 23:53:15 2011 (r600)
@@ -0,0 +1,18 @@
+package us.isidor.gdl.anaToMia.Widgets.button;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+public class GdlCheckBox extends GdlButton {
+ // TODO: implement
+
+ protected GdlCheckBox(){
+ super();
+ }
+
+
+ public GdlCheckBox(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
+ super(tmRepresentative);
+ }
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlCommitButton.java
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlCommitButton.java Mon Jul 11 23:53:15 2011 (r600)
@@ -0,0 +1,18 @@
+package us.isidor.gdl.anaToMia.Widgets.button;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+public class GdlCommitButton extends GdlActionButton {
+ // TODO: implement
+
+ protected GdlCommitButton(){
+ super();
+ }
+
+
+ public GdlCommitButton(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
+ super(tmRepresentative);
+ }
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlCreateButton.java
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlCreateButton.java Mon Jul 11 23:53:15 2011 (r600)
@@ -0,0 +1,18 @@
+package us.isidor.gdl.anaToMia.Widgets.button;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+public class GdlCreateButton extends GdlActionButton {
+ // TODO: implement
+
+ protected GdlCreateButton(){
+ super();
+ }
+
+
+ public GdlCreateButton(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
+ super(tmRepresentative);
+ }
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlDeleteButton.java
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlDeleteButton.java Mon Jul 11 23:53:15 2011 (r600)
@@ -0,0 +1,18 @@
+package us.isidor.gdl.anaToMia.Widgets.button;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+public class GdlDeleteButton extends GdlActionButton {
+ // TODO: implement
+
+ protected GdlDeleteButton(){
+ super();
+ }
+
+
+ public GdlDeleteButton(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
+ super(tmRepresentative);
+ }
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlRadioButton.java
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlRadioButton.java Mon Jul 11 23:53:15 2011 (r600)
@@ -0,0 +1,18 @@
+package us.isidor.gdl.anaToMia.Widgets.button;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+public class GdlRadioButton extends GdlButton {
+ // TODO: implement
+
+ protected GdlRadioButton(){
+ super();
+ }
+
+
+ public GdlRadioButton(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
+ super(tmRepresentative);
+ }
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlValidateButton.java
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlValidateButton.java Mon Jul 11 23:53:15 2011 (r600)
@@ -0,0 +1,18 @@
+package us.isidor.gdl.anaToMia.Widgets.button;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+public class GdlValidateButton extends GdlActionButton {
+ // TODO: implement
+
+ protected GdlValidateButton(){
+ super();
+ }
+
+
+ public GdlValidateButton(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
+ super(tmRepresentative);
+ }
+}
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 Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlAudio.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,7 +1,5 @@
package us.isidor.gdl.anaToMia.Widgets.complexData;
-import org.apache.commons.lang.NotImplementedException;
-
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlDatePicker.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlDatePicker.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlDatePicker.java Mon Jul 11 23:53:15 2011 (r600)
@@ -22,7 +22,6 @@
import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.DOM;
-import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.datepicker.client.DatePicker;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMapsTypes;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlDateTimePicker.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlDateTimePicker.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlDateTimePicker.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,6 +1,21 @@
package us.isidor.gdl.anaToMia.Widgets.complexData;
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
public class GdlDateTimePicker extends GdlComplexData {
// TODO: implement
-
+
+
+ // some constructors
+ protected GdlDateTimePicker(){
+ super();
+ }
+
+
+ public GdlDateTimePicker(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
+ super(tmRepresentative);
+ // create a date-time widget for each tm-construct
+ }
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlTimePicker.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlTimePicker.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/complexData/GdlTimePicker.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,5 +1,21 @@
package us.isidor.gdl.anaToMia.Widgets.complexData;
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
public class GdlTimePicker extends GdlComplexData {
// TODO: implement
+
+
+ // some constructors
+ protected GdlTimePicker(){
+ super();
+ }
+
+
+ public GdlTimePicker(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
+ super(tmRepresentative);
+ // create a time widget for each tm-construct
+ }
}
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 Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java Mon Jul 11 23:53:15 2011 (r600)
@@ -36,8 +36,8 @@
import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
-import us.isidor.gdl.anaToMia.Widgets.values.ListStylePositionValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ListStyleTypeValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ListStylePositionValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ListStyleTypeValue;
public class GdlList extends GdlVisibleObject{
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 Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java Mon Jul 11 23:53:15 2011 (r600)
@@ -38,12 +38,12 @@
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
import us.isidor.gdl.anaToMia.Widgets.text.GdlTextObject;
-import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
-import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.values.TextDecorationValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AbsoluteNumValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AutoNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.BorderStyleValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.NumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.TextDecorationValue;
public class GdlUnit extends GdlTextObject implements IGdlContainer {
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 Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/GdlInstantiator.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,12 +1,134 @@
package us.isidor.gdl.anaToMia.Widgets.environment;
+
+import com.google.gwt.core.client.JsArray;
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Locator;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
+import us.isidor.gdl.anaToMia.Widgets.base.GdlLineBreak;
+import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+import us.isidor.gdl.anaToMia.Widgets.button.GdlActionButton;
+import us.isidor.gdl.anaToMia.Widgets.button.GdlCheckBox;
+import us.isidor.gdl.anaToMia.Widgets.button.GdlCommitButton;
+import us.isidor.gdl.anaToMia.Widgets.button.GdlCreateButton;
+import us.isidor.gdl.anaToMia.Widgets.button.GdlDeleteButton;
+import us.isidor.gdl.anaToMia.Widgets.button.GdlRadioButton;
+import us.isidor.gdl.anaToMia.Widgets.button.GdlValidateButton;
+import us.isidor.gdl.anaToMia.Widgets.complexData.GdlAudio;
+import us.isidor.gdl.anaToMia.Widgets.complexData.GdlDatePicker;
+import us.isidor.gdl.anaToMia.Widgets.complexData.GdlDateTimePicker;
+import us.isidor.gdl.anaToMia.Widgets.complexData.GdlImage;
+import us.isidor.gdl.anaToMia.Widgets.complexData.GdlTimePicker;
+import us.isidor.gdl.anaToMia.Widgets.complexData.GdlVideo;
+import us.isidor.gdl.anaToMia.Widgets.container.GdlList;
+import us.isidor.gdl.anaToMia.Widgets.container.GdlUnit;
+import us.isidor.gdl.anaToMia.Widgets.text.GdlInfo;
+import us.isidor.gdl.anaToMia.Widgets.text.GdlListBox;
+import us.isidor.gdl.anaToMia.Widgets.text.GdlReference;
+import us.isidor.gdl.anaToMia.Widgets.text.GdlText;
+import us.isidor.gdl.anaToMia.Widgets.text.GdlTitle;
+import us.isidor.gdl.anaToMia.Widgets.view.GdlCreatorAssociationView;
+import us.isidor.gdl.anaToMia.Widgets.view.GdlDefaultCreatorTopicView;
+import us.isidor.gdl.anaToMia.Widgets.view.GdlDefaultEditorTopicView;
+import us.isidor.gdl.anaToMia.Widgets.view.GdlEditorAssociationView;
+import us.isidor.gdl.anaToMia.Widgets.view.GdlSpecialCreatorTopicView;
+import us.isidor.gdl.anaToMia.Widgets.view.GdlSpecialEditorTopicView;
+
public class GdlInstantiator {
- public static GdlVisibleObject createJavaInstance(Topic tmRepresentative) throws InvalidGdlSchemaException{
+ // a helper that returns the topic bound to the identifier via a subject identifier
+ private static Topic getTopicByPsi(String subjectIdentifier, TopicMap tm){
+ if(subjectIdentifier == null || tm == null) return null;
+ Locator loc = tm.createLocator(subjectIdentifier);
+ return tm.getTopicBySubjectIdentifier(loc);
+ }
+
+
+ // returns true if the passed topic instance is a subtype of the topic bound to the passed
+ // type subjectIdenifier; the instance must have only one type, otherwise the result is false
+ private static boolean isInstanceOf(Topic instance, String typeSubjectIdentifier){
+ TopicMap tm = instance.getTopicMap();
- return null;
+ JsArray<Topic> types = instance.getTypes();
+ if(types.length() != 1){
+ return false;
+ }else{
+ Topic type = getTopicByPsi(typeSubjectIdentifier, tm);
+ if(type == null) return false;
+ else return types.get(0).equals(type);
+ }
+ }
+
+
+ // returns a java instance of a GdlVisibleObject that corresponds to the
+ // set topic type of the passed topic instance
+ public static GdlVisibleObject instantiate(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
+ if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlLineBreak)){
+ return new GdlLineBreak(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlInfo)){
+ return new GdlInfo(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlTitle)){
+ return new GdlTitle(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlReference)){
+ return new GdlReference(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlRadioButton)){
+ return new GdlRadioButton(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlCheckBox)){
+ return new GdlCheckBox(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlActionButton)){
+ return new GdlActionButton(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlValidateButton)){
+ return new GdlValidateButton(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlCreateButton)){
+ return new GdlCreateButton(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlDeleteButton)){
+ return new GdlDeleteButton(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlCommitButton)){
+ return new GdlCommitButton(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlImage)){
+ return new GdlImage(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlVideo)){
+ return new GdlVideo(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlAudio)){
+ return new GdlAudio(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlDatePicker)){
+ return new GdlDatePicker(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlTimePicker)){
+ return new GdlTimePicker(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlDateTimePicker)){
+ return new GdlDateTimePicker(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlUnit)){
+ return new GdlUnit(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlText)){
+ return new GdlText(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlList)){
+ return new GdlList(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlListBox)){
+ return new GdlListBox(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlDefaultCreatorTopicView)){
+ return new GdlDefaultCreatorTopicView(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlDefaultEditorTopicView)){
+ return new GdlDefaultEditorTopicView(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlSpecialCreatorTopicView)){
+ return new GdlSpecialCreatorTopicView(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlSpecialEditorTopicView)){
+ return new GdlSpecialEditorTopicView(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlCreatorAssociationview)){
+ return new GdlCreatorAssociationView(tmRepresentative);
+ }else if(isInstanceOf(tmRepresentative, GdlPsis.TopicType.gdlEditorAssociationView)){
+ return new GdlEditorAssociationView(tmRepresentative);
+ }else{
+ String values = "";
+ for(int i = 0; i != tmRepresentative.getTypes().length(); ++i){
+ if(i != tmRepresentative.getTypes().length() - 1){
+ values += GdlPsis.getAnyIdOfTopic(tmRepresentative.getTypes().get(i)) + ", ";
+ }else {
+ values += GdlPsis.getAnyIdOfTopic(tmRepresentative.getTypes().get(i));
+ }
+ }
+ throw new InvalidGdlSchemaException("the topic " + GdlPsis.getAnyIdOfTopic(tmRepresentative) + " is an instance of an unsupported visible topic type or an abstract topic type: " + values);
+ }
}
}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlInfo.java
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlInfo.java Mon Jul 11 23:53:15 2011 (r600)
@@ -0,0 +1,19 @@
+package us.isidor.gdl.anaToMia.Widgets.text;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+public class GdlInfo extends GdlTextObject {
+ // TODO: implement
+
+ protected GdlInfo() throws InvalidGdlSchemaException, ExecutionException {
+ super();
+ }
+
+
+ public GdlInfo(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
+ super(tmRepresentative);
+ // TODO: create an info element for each TM-elem
+ }
+}
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 Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlListBox.java Mon Jul 11 23:53:15 2011 (r600)
@@ -30,23 +30,7 @@
public GdlListBox(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
super(tmRepresentative);
// TODO: create a ListBox element for each TM-elem
- ListBox lb = this.createNewListBox(); // TODO: remove only for debugging
- lb.addItem("value-1", Direction.LTR);
- lb.addItem("value-2", Direction.LTR);
- lb.addItem("value-3", Direction.LTR);
- lb.addItem("value-4", Direction.LTR);
- lb.addItem("value-5", Direction.LTR);
- lb.addItem("value-6", Direction.LTR);
- lb.addItem("value-1", Direction.LTR);
- lb.addItem("value-2", Direction.LTR);
- lb.addItem("value-3", Direction.LTR);
- lb.addItem("value-4", Direction.LTR);
- lb.addItem("value-5", Direction.LTR);
- lb.addItem("value-6", Direction.LTR);
- lb = this.createNewListBox(); // TODO: remove only for debugging
- lb.addItem("value-1", Direction.LTR);
- lb.addItem("value-2", Direction.LTR);
- lb.addItem("value-3", Direction.LTR);
+ this.createNewListBox();
}
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 Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java Mon Jul 11 23:53:15 2011 (r600)
@@ -25,9 +25,9 @@
import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
-import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.TextDecorationValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.CursorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.TextDecorationValue;
public class GdlReference extends GdlTextObject implements IGdlHasValue{
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Mon Jul 11 23:53:15 2011 (r600)
@@ -24,12 +24,12 @@
import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
-import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
-import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ResizeValue;
-import us.isidor.gdl.anaToMia.Widgets.values.TextTypeValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AbsoluteNumValue;
+import us.isidor.gdl.anaToMia.Widgets.value.BorderStyleValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.NumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ResizeValue;
+import us.isidor.gdl.anaToMia.Widgets.value.TextTypeValue;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java Mon Jul 11 23:53:15 2011 (r600)
@@ -8,13 +8,13 @@
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
-import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.DirectionValue;
-import us.isidor.gdl.anaToMia.Widgets.values.FontWeightValue;
-import us.isidor.gdl.anaToMia.Widgets.values.NormalNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.values.PositiveNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.values.TextAlignValue;
-import us.isidor.gdl.anaToMia.Widgets.values.TextDecorationValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.DirectionValue;
+import us.isidor.gdl.anaToMia.Widgets.value.FontWeightValue;
+import us.isidor.gdl.anaToMia.Widgets.value.NormalNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.PositiveNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.TextAlignValue;
+import us.isidor.gdl.anaToMia.Widgets.value.TextDecorationValue;
public abstract class GdlTextObject extends GdlVisibleObject {
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 Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTitle.java Mon Jul 11 23:53:15 2011 (r600)
@@ -12,14 +12,15 @@
import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
-import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.DirectionValue;
-import us.isidor.gdl.anaToMia.Widgets.values.FontWeightValue;
-import us.isidor.gdl.anaToMia.Widgets.values.NormalNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.values.PositiveNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.values.TextAlignValue;
-import us.isidor.gdl.anaToMia.Widgets.values.TextDecorationValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AutoNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.DirectionValue;
+import us.isidor.gdl.anaToMia.Widgets.value.FontWeightValue;
+import us.isidor.gdl.anaToMia.Widgets.value.NormalNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.PositiveNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.TextAlignValue;
+import us.isidor.gdl.anaToMia.Widgets.value.TextDecorationValue;
+
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.Style.FontStyle;
import com.google.gwt.event.dom.client.BlurEvent;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/AbsoluteNumValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/AbsoluteNumValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/AbsoluteNumValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/AutoNumUnitValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/AutoNumUnitValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/AutoNumUnitValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/AutoNumValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/AutoNumValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/AutoNumValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/BorderStyleValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/BorderStyleValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/BorderStyleValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
public enum BorderStyleValue implements CssValue{
NONE,
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ClearValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/ClearValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ClearValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
public enum ClearValue implements CssValue{
NONE,
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ColorValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/ColorValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ColorValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ContentOrientationValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/ContentOrientationValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ContentOrientationValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
public enum ContentOrientationValue implements CssValue{
HORIZONTAL,
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/CssValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/CssValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/CssValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
public interface CssValue {
public String getCssValue();
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/CursorValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/CursorValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/CursorValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
public enum CursorValue implements CssValue{
AUTO,
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/DirectionValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/DirectionValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/DirectionValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
public enum DirectionValue implements CssValue {
LTR,
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/FontWeightValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/FontWeightValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/FontWeightValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
public enum FontWeightValue implements CssValue {
NORMAL,
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/HtmlValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/HtmlValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/HtmlValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
public interface HtmlValue {
public String getHtmlValue();
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ListStylePositionValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/ListStylePositionValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ListStylePositionValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
public enum ListStylePositionValue implements CssValue {
INSIDE,
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ListStyleTypeValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/ListStyleTypeValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ListStyleTypeValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
public enum ListStyleTypeValue implements CssValue{
DECIMAL,
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/NormalNumUnitValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/NormalNumUnitValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/NormalNumUnitValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/NumUnitValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/NumUnitValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/NumUnitValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/PositiveNumUnitValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/PositiveNumUnitValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/PositiveNumUnitValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ResizeValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/ResizeValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/ResizeValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
public enum ResizeValue implements CssValue {
BOTH,
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/TextAlignValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/TextAlignValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/TextAlignValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
public enum TextAlignValue implements CssValue{
LEFT,
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/TextDecorationValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/TextDecorationValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/TextDecorationValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
public enum TextDecorationValue implements CssValue {
UNDERLINE,
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/TextTypeValue.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/values/TextTypeValue.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/value/TextTypeValue.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.values;
+package us.isidor.gdl.anaToMia.Widgets.value;
public enum TextTypeValue implements HtmlValue{
Text,
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlAssociationView.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlAssociationView.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.views;
+package us.isidor.gdl.anaToMia.Widgets.view;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlCreatorAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlCreatorAssociationView.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.views;
+package us.isidor.gdl.anaToMia.Widgets.view;
import java.util.ArrayList;
@@ -26,14 +26,14 @@
import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
-import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
-import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ContentOrientationValue;
-import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AbsoluteNumValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AutoNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.BorderStyleValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ClearValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ContentOrientationValue;
+import us.isidor.gdl.anaToMia.Widgets.value.CursorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.NumUnitValue;
public class GdlCreatorAssociationView extends GdlAssociationView {
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultCreatorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultCreatorTopicView.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.views;
+package us.isidor.gdl.anaToMia.Widgets.view;
import java.util.ArrayList;
@@ -21,14 +21,14 @@
import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
-import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
-import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ContentOrientationValue;
-import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AbsoluteNumValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AutoNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.BorderStyleValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ClearValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ContentOrientationValue;
+import us.isidor.gdl.anaToMia.Widgets.value.CursorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.NumUnitValue;
public class GdlDefaultCreatorTopicView extends GdlDefaultTopicView{
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultEditorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultEditorTopicView.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultEditorTopicView.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,16 +1,20 @@
-package us.isidor.gdl.anaToMia.Widgets.views;
+package us.isidor.gdl.anaToMia.Widgets.view;
+
+import java.util.ArrayList;
import com.google.gwt.event.dom.client.ClickHandler;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMapsTypes;
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
-public abstract class GdlDefaultEditorTopicView extends GdlDefaultTopicView {
+public class GdlDefaultEditorTopicView extends GdlDefaultTopicView {
public GdlDefaultEditorTopicView(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException {
super(tmRepresentative);
@@ -49,6 +53,20 @@
// TODO Auto-generated method stub
}
+
+
+ @Override
+ public ArrayList<String> getStringValue() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+
+ @Override
+ public ArrayList<Pair<TopicMapsTypes, Object>> getTmValue() {
+ // TODO Auto-generated method stub
+ return null;
+ }
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultTopicView.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultTopicView.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.views;
+package us.isidor.gdl.anaToMia.Widgets.view;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlEditorAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlEditorAssociationView.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.views;
+package us.isidor.gdl.anaToMia.Widgets.view;
import java.util.ArrayList;
@@ -26,13 +26,13 @@
import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
-import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
-import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AbsoluteNumValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AutoNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.BorderStyleValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ClearValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.CursorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.NumUnitValue;
public class GdlEditorAssociationView extends GdlAssociationView {
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialCreatorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialCreatorTopicView.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.views;
+package us.isidor.gdl.anaToMia.Widgets.view;
import java.util.ArrayList;
@@ -25,13 +25,13 @@
import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
-import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
-import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AbsoluteNumValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AutoNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.BorderStyleValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ClearValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.CursorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.NumUnitValue;
public class GdlSpecialCreatorTopicView extends GdlSpecialTopicView{
// TODO: implement
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialEditorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialEditorTopicView.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.views;
+package us.isidor.gdl.anaToMia.Widgets.view;
import java.util.ArrayList;
@@ -25,13 +25,13 @@
import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
-import us.isidor.gdl.anaToMia.Widgets.values.AbsoluteNumValue;
-import us.isidor.gdl.anaToMia.Widgets.values.AutoNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.values.BorderStyleValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ClearValue;
-import us.isidor.gdl.anaToMia.Widgets.values.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.CursorValue;
-import us.isidor.gdl.anaToMia.Widgets.values.NumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AbsoluteNumValue;
+import us.isidor.gdl.anaToMia.Widgets.value.AutoNumUnitValue;
+import us.isidor.gdl.anaToMia.Widgets.value.BorderStyleValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ClearValue;
+import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.CursorValue;
+import us.isidor.gdl.anaToMia.Widgets.value.NumUnitValue;
public class GdlSpecialEditorTopicView extends GdlSpecialTopicView{
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialTopicView.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialTopicView.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.views;
+package us.isidor.gdl.anaToMia.Widgets.view;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlTopicView.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlTopicView.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.views;
+package us.isidor.gdl.anaToMia.Widgets.view;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
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/views/GdlView.java Mon Jul 11 08:17:54 2011 (r599)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlView.java Mon Jul 11 23:53:15 2011 (r600)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.views;
+package us.isidor.gdl.anaToMia.Widgets.view;
import java.util.ArrayList;