[isidorus-cvs] r526 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets: lib src/us/isidor/gdl/anaToMia/Widgets src/us/isidor/gdl/anaToMia/Widgets/base src/us/isidor/gdl/anaToMia/Widgets/environment src/us/isidor/gdl/anaToMia/Widgets/views src/us/isidor/gdl/anaToMia/Widgets/widgets
lgiessmann at common-lisp.net
lgiessmann at common-lisp.net
Tue Jun 28 16:18:46 UTC 2011
Author: lgiessmann
Date: Tue Jun 28 09:18:45 2011
New Revision: 526
Log:
gdl-frontend: Widgets: modified the referenced jar GDL_TopicMaps_Model.jar; restructured the package skeleton; added the bsae abstract classes for gdl:View
Added:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/
- copied from r521, branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/widgets/
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlDescriptor.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/environment/IWidgetClickHandler.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/IWidgetEventHandler.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/InvalidGdlSchemaException.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultEditorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.java
Deleted:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/Environment.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/widgets/
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/lib/GDL_TopicMaps_Model.jar
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/TestClass.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/lib/GDL_TopicMaps_Model.jar
==============================================================================
Binary file (source and/or target). No diff available.
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 Tue Jun 28 08:49:19 2011 (r525)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/GDL_Widgets.gwt.xml Tue Jun 28 09:18:45 2011 (r526)
@@ -15,11 +15,12 @@
<inherits name='us.isidor.gdl.anaToMia.TmEngine.GDL_TmEngine' />
<!-- Specify the app entry point class. -->
- <entry-point class='us.isidor.gdl.anaToMia.Widgets.widgets.TestClass'/>
+ <entry-point class='us.isidor.gdl.anaToMia.Widgets.base.TestClass'/>
<!-- Specify the paths for translatable code -->
+ <source path="base"/>
+ <source path="views"/>
<source path="environment"/>
- <source path="widgets"/>
<!-- Reference the javascript file that is necessary for tmjs -->
<script src="lib/tm.min.js" />
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlDescriptor.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/GdlDescriptor.java Tue Jun 28 09:18:45 2011 (r526)
@@ -0,0 +1,10 @@
+package us.isidor.gdl.anaToMia.Widgets.base;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+
+public abstract class GdlDescriptor {
+ public abstract void setTmRepresentative(Topic representative) throws InvalidGdlSchemaException;
+ public abstract Topic getTmRepresentative();
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.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/GdlVisibleObject.java Tue Jun 28 09:18:45 2011 (r526)
@@ -0,0 +1,7 @@
+package us.isidor.gdl.anaToMia.Widgets.base;
+
+public abstract class GdlVisibleObject extends GdlDescriptor{
+ // TODO: implement
+
+ public abstract String getViewName();
+}
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/widgets/TestClass.java Tue Jun 28 05:24:36 2011 (r521)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Tue Jun 28 09:18:45 2011 (r526)
@@ -1,4 +1,4 @@
-package us.isidor.gdl.anaToMia.Widgets.widgets;
+package us.isidor.gdl.anaToMia.Widgets.base;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.Window;
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/IWidgetClickHandler.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/environment/IWidgetClickHandler.java Tue Jun 28 09:18:45 2011 (r526)
@@ -0,0 +1,7 @@
+package us.isidor.gdl.anaToMia.Widgets.environment;
+import com.google.gwt.event.dom.client.ClickEvent;
+
+
+public interface IWidgetClickHandler {
+ public void onEvent(ClickEvent event, boolean success);
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/IWidgetEventHandler.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/environment/IWidgetEventHandler.java Tue Jun 28 09:18:45 2011 (r526)
@@ -0,0 +1,6 @@
+package us.isidor.gdl.anaToMia.Widgets.environment;
+
+
+public interface IWidgetEventHandler {
+ public void onEvent(String message);
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/InvalidGdlSchemaException.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/environment/InvalidGdlSchemaException.java Tue Jun 28 09:18:45 2011 (r526)
@@ -0,0 +1,13 @@
+package us.isidor.gdl.anaToMia.Widgets.environment;
+
+public class InvalidGdlSchemaException extends Exception {
+ private static final long serialVersionUID = 1L;
+
+
+ protected InvalidGdlSchemaException() {}
+
+
+ public InvalidGdlSchemaException(String message){
+ super(message);
+ }
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlAssociationView.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/views/GdlAssociationView.java Tue Jun 28 09:18:45 2011 (r526)
@@ -0,0 +1,6 @@
+package us.isidor.gdl.anaToMia.Widgets.views;
+
+
+public abstract class GdlAssociationView extends GdlView {
+ // TODO: implement
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.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/views/GdlCreatorAssociationView.java Tue Jun 28 09:18:45 2011 (r526)
@@ -0,0 +1,28 @@
+package us.isidor.gdl.anaToMia.Widgets.views;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+
+public class GdlCreatorAssociationView extends GdlAssociationView {
+
+ @Override
+ public String getViewName() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public void setTmRepresentative(Topic representative)
+ throws InvalidGdlSchemaException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public Topic getTmRepresentative() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+ // TODO: implement
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.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/views/GdlDefaultCreatorTopicView.java Tue Jun 28 09:18:45 2011 (r526)
@@ -0,0 +1,29 @@
+package us.isidor.gdl.anaToMia.Widgets.views;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+
+public class GdlDefaultCreatorTopicView extends GdlDefaultTopicView{
+ // TODO: implement
+
+ @Override
+ public String getViewName() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public void setTmRepresentative(Topic representative)
+ throws InvalidGdlSchemaException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public Topic getTmRepresentative() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultEditorTopicView.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/views/GdlDefaultEditorTopicView.java Tue Jun 28 09:18:45 2011 (r526)
@@ -0,0 +1,30 @@
+package us.isidor.gdl.anaToMia.Widgets.views;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+
+public class GdlDefaultEditorTopicView extends GdlDefaultTopicView {
+
+ @Override
+ public String getViewName() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public void setTmRepresentative(Topic representative)
+ throws InvalidGdlSchemaException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public Topic getTmRepresentative() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+ // TODO: implement
+
+
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultTopicView.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/views/GdlDefaultTopicView.java Tue Jun 28 09:18:45 2011 (r526)
@@ -0,0 +1,5 @@
+package us.isidor.gdl.anaToMia.Widgets.views;
+
+public abstract class GdlDefaultTopicView extends GdlTopicView {
+ // TODO: implement
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.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/views/GdlEditorAssociationView.java Tue Jun 28 09:18:45 2011 (r526)
@@ -0,0 +1,28 @@
+package us.isidor.gdl.anaToMia.Widgets.views;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+
+public class GdlEditorAssociationView extends GdlAssociationView {
+
+ @Override
+ public String getViewName() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public void setTmRepresentative(Topic representative)
+ throws InvalidGdlSchemaException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public Topic getTmRepresentative() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+ // TODO: implement
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.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/views/GdlSpecialCreatorTopicView.java Tue Jun 28 09:18:45 2011 (r526)
@@ -0,0 +1,28 @@
+package us.isidor.gdl.anaToMia.Widgets.views;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+public class GdlSpecialCreatorTopicView extends GdlSpecialTopicView{
+ // TODO: implement
+
+ @Override
+ public String getViewName() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public void setTmRepresentative(Topic representative)
+ throws InvalidGdlSchemaException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public Topic getTmRepresentative() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.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/views/GdlSpecialEditorTopicView.java Tue Jun 28 09:18:45 2011 (r526)
@@ -0,0 +1,29 @@
+package us.isidor.gdl.anaToMia.Widgets.views;
+
+import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
+import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
+
+
+public class GdlSpecialEditorTopicView extends GdlSpecialTopicView{
+ // TODO: implement
+
+
+ @Override
+ public String getViewName() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public void setTmRepresentative(Topic representative)
+ throws InvalidGdlSchemaException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public Topic getTmRepresentative() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialTopicView.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/views/GdlSpecialTopicView.java Tue Jun 28 09:18:45 2011 (r526)
@@ -0,0 +1,5 @@
+package us.isidor.gdl.anaToMia.Widgets.views;
+
+public abstract class GdlSpecialTopicView extends GdlTopicView {
+ // TODO: implement
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlTopicView.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/views/GdlTopicView.java Tue Jun 28 09:18:45 2011 (r526)
@@ -0,0 +1,6 @@
+package us.isidor.gdl.anaToMia.Widgets.views;
+
+
+public abstract class GdlTopicView extends GdlView {
+ // TODO: implement
+}
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.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/views/GdlView.java Tue Jun 28 09:18:45 2011 (r526)
@@ -0,0 +1,44 @@
+package us.isidor.gdl.anaToMia.Widgets.views;
+
+import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
+
+
+public abstract class GdlView extends GdlVisibleObject{
+ // TODO: Implement => Default-Topic-View
+
+ // on load (IWidgetEventHandler)
+ // on commit (IWidgetClickHandler)
+ // on validate (IWidgetClickHandler)
+ // on delete (IWidgetClickHandler)
+ // on error (IWidgetEventHandler)
+
+ // set tm engine
+ // on request
+ // do request
+ // do commit
+ // do validate
+ // do load
+ // do delete
+ // (partial) load GDL handler
+ // (partial) commit GDL handler
+ // (partial) delete GDL handler
+
+ // request instance
+ // request types
+ // generate tmData
+
+
+
+
+ // hierarchy
+ //
+ // => Default-Topic-View => Default-Creator-Topic-View
+ // => Default-Editor-Topic-View
+ // => Topic-View
+ // => Special-Topic-view => Special-Creator-Topic-view
+ // => Special-Editor-Topic-View
+ // Visible-Object => View
+ //
+ // => Association-view => Creator-Association-view
+ // => Editor-Association-View
+}
More information about the Isidorus-cvs
mailing list