[isidorus-cvs] r683 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: . base
lgiessmann at common-lisp.net
lgiessmann at common-lisp.net
Wed Jul 27 20:33:01 UTC 2011
Author: lgiessmann
Date: Wed Jul 27 13:33:01 2011
New Revision: 683
Log:
gdl-frontend: Widgets: started to implement IHasValueGroup
Added:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/IHasValueGroup.java
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt Wed Jul 27 11:27:16 2011 (r682)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt Wed Jul 27 13:33:01 2011 (r683)
@@ -1,3 +1,11 @@
+* Implement all IHasValueGroup to:
+ * GdlText
+ * GdlInfo
+ * GdlTitle
+ * GdlReference
+ * GdlButton
+ * GdlComplexData
+ * GdlListBox
* Implement TopicMaps data consumption
* Implement TopicMaps data generation
* Fix css-pseudo-class-handlers (=> Buttons)
\ No newline at end of file
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/IHasValueGroup.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/IHasValueGroup.java Wed Jul 27 13:33:01 2011 (r683)
@@ -0,0 +1,26 @@
+package us.isidor.gdl.anaToMia.Widgets.base;
+
+import java.util.ArrayList;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+public interface IHasValueGroup {
+ // returns the topic that represents a value group topic
+ public Topic getValueGroup() throws InvalidGdlSchemaException;
+
+ // returns the constraint that is bound to the value group topic
+ public Topic getConstraint() throws InvalidGdlSchemaException;
+
+ // returns all topics that are set as default values for this value group
+ public ArrayList<Topic> getDefaultTmValues() throws InvalidGdlSchemaException;
+
+ // returns the literal default value for this value group
+ public String getDefaultLiteralValue() throws InvalidGdlSchemaException;
+
+ // returns all possible topics that can be used as values for this value group
+ public ArrayList<Topic> getTmValues() throws InvalidGdlSchemaException;
+
+ // returns all possible literals that can be used as values for this value group
+ public ArrayList<String> getLiteralValues() throws InvalidGdlSchemaException;
+}
More information about the Isidorus-cvs
mailing list