Author: lgiessmann Date: Mon Jul 11 08:17:54 2011 New Revision: 599
Log: gdl-frontend: Widgets: started to implement GdlInstantiator
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/GdlInstantiator.java Deleted: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPosition.java Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/IGdlContainer.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/container/GdlUnit.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/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/GdlView.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/IGdlContainer.java ============================================================================== --- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/IGdlContainer.java Mon Jul 11 08:07:34 2011 (r598) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/IGdlContainer.java Mon Jul 11 08:17:54 2011 (r599) @@ -3,5 +3,5 @@ import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
public interface IGdlContainer { - public void append(GdlVisibleObject ancestor, GdlVisibleObject descendant/*, Position position*/) throws InvalidGdlSchemaException; + public void append(GdlVisibleObject widget) throws InvalidGdlSchemaException; }
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:07:34 2011 (r598) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Mon Jul 11 08:17:54 2011 (r599) @@ -172,12 +172,6 @@ } @Override - public void append(GdlVisibleObject ancestor, GdlVisibleObject descendant)throws InvalidGdlSchemaException { - // TODO Auto-generated method stub - - } - - @Override public TopicMap getContent() { // TODO Auto-generated method stub return null;
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:07:34 2011 (r598) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java Mon Jul 11 08:17:54 2011 (r599) @@ -1252,7 +1252,7 @@ @Override - public void append(GdlVisibleObject ancestor, GdlVisibleObject descendant) throws InvalidGdlSchemaException { + public void append(GdlVisibleObject widget) throws InvalidGdlSchemaException { // TODO: implement }
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/GdlInstantiator.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/GdlInstantiator.java Mon Jul 11 08:17:54 2011 (r599) @@ -0,0 +1,12 @@ +package us.isidor.gdl.anaToMia.Widgets.environment; + +import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic; +import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject; + +public class GdlInstantiator { + public static GdlVisibleObject createJavaInstance(Topic tmRepresentative) throws InvalidGdlSchemaException{ + + + return null; + } +}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java ============================================================================== --- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java Mon Jul 11 08:07:34 2011 (r598) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlCreatorAssociationView.java Mon Jul 11 08:17:54 2011 (r599) @@ -56,12 +56,6 @@ } // TODO: implement
- @Override - public void append(GdlVisibleObject ancestor, GdlVisibleObject descendant) - throws InvalidGdlSchemaException { - // TODO Auto-generated method stub - - }
@Override public boolean validate() { @@ -436,4 +430,11 @@ return null; }
+ @Override + public void append(GdlVisibleObject widget) + throws InvalidGdlSchemaException { + // TODO Auto-generated method stub + + } + }
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java ============================================================================== --- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java Mon Jul 11 08:07:34 2011 (r598) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultCreatorTopicView.java Mon Jul 11 08:17:54 2011 (r599) @@ -53,12 +53,6 @@ return null; }
- @Override - public void append(GdlVisibleObject ancestor, GdlVisibleObject descendant) - throws InvalidGdlSchemaException { - // TODO Auto-generated method stub - - }
@Override public boolean validate() { @@ -479,4 +473,12 @@ // TODO Auto-generated method stub return null; } + + + @Override + public void append(GdlVisibleObject widget) + throws InvalidGdlSchemaException { + // TODO Auto-generated method stub + + } }
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultEditorTopicView.java ============================================================================== --- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultEditorTopicView.java Mon Jul 11 08:07:34 2011 (r598) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlDefaultEditorTopicView.java Mon Jul 11 08:17:54 2011 (r599) @@ -30,14 +30,7 @@ // TODO Auto-generated method stub return null; } - // TODO: implement
- @Override - public void append(GdlVisibleObject ancestor, GdlVisibleObject descendant) - throws InvalidGdlSchemaException { - // TODO Auto-generated method stub - - }
@Override public boolean validate() {
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java ============================================================================== --- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java Mon Jul 11 08:07:34 2011 (r598) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlEditorAssociationView.java Mon Jul 11 08:17:54 2011 (r599) @@ -55,14 +55,7 @@ // TODO Auto-generated method stub return null; } - // TODO: implement - - @Override - public void append(GdlVisibleObject ancestor, GdlVisibleObject descendant) - throws InvalidGdlSchemaException { - // TODO Auto-generated method stub - - } +
@Override public boolean validate() { @@ -481,6 +474,14 @@ // TODO Auto-generated method stub return null; } + + + @Override + public void append(GdlVisibleObject widget) + throws InvalidGdlSchemaException { + // TODO Auto-generated method stub + + }
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java ============================================================================== --- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java Mon Jul 11 08:07:34 2011 (r598) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialCreatorTopicView.java Mon Jul 11 08:17:54 2011 (r599) @@ -55,12 +55,7 @@ return null; }
- @Override - public void append(GdlVisibleObject ancestor, GdlVisibleObject descendant) - throws InvalidGdlSchemaException { - // TODO Auto-generated method stub - - } +
@Override public boolean validate() { @@ -482,5 +477,13 @@ // TODO Auto-generated method stub return null; } + + + @Override + public void append(GdlVisibleObject widget) + throws InvalidGdlSchemaException { + // TODO Auto-generated method stub + + } }
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java ============================================================================== --- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java Mon Jul 11 08:07:34 2011 (r598) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlSpecialEditorTopicView.java Mon Jul 11 08:17:54 2011 (r599) @@ -57,12 +57,7 @@ return null; }
- @Override - public void append(GdlVisibleObject ancestor, GdlVisibleObject descendant) - throws InvalidGdlSchemaException { - // TODO Auto-generated method stub - - } +
@Override public boolean validate() { @@ -484,5 +479,13 @@ // TODO Auto-generated method stub return null; } + + + @Override + public void append(GdlVisibleObject widget) + throws InvalidGdlSchemaException { + // TODO Auto-generated method stub + + } }
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.java ============================================================================== --- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.java Mon Jul 11 08:07:34 2011 (r598) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/views/GdlView.java Mon Jul 11 08:17:54 2011 (r599) @@ -77,6 +77,17 @@ return null; } + + public void append(GdlVisibleObject widget) throws InvalidGdlSchemaException{ + // TODO: implement + } + + + public void append(Topic widget) throws InvalidGdlSchemaException { + // TODO: implement + // TODO: use GdlInstantiator + }
+ public abstract TopicMap getContent(); } \ No newline at end of file