Author: lgiessmann Date: Thu Oct 27 01:27:15 2011 New Revision: 1031
Log: gdl-frontend: Widgets: refactored all files and updated all TODOs
Modified: trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestLoadSchemaCallback.java trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlCreateButton.java trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlDeleteButton.java trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/GdlErrorTypes.java trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/LoadSchemaCallback.java
Modified: trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt ============================================================================== --- trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt Thu Oct 27 01:08:00 2011 (r1030) +++ trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt Thu Oct 27 01:27:15 2011 (r1031) @@ -1,8 +1,27 @@ * implement export of Fragments, e.g. exportJTM11Fragment(ArrayList<Topic> topics, ArrayList<Association> associaitions), e.i. the passed topics and associations must be exported with all characteristics and associations, and all referenced topics must be exported as stubs -* implement all constraints - * TM-generation - * TM-consumption - * TM-validation +* finalise GdltopicView.getContent() +* finalise TmHelper.getTmValuesForTypeConstraint() +* finalise GdlPanel.doValidate() +* finalise GdlCheckBox +* finalise GdlCommitButton +* finalise GdlCreateButton +* finalise GdlRadioButton +* finalise GdlUnit +* finalise GdlTitle.setWidth() +* finalise GdlTitle.getSelectedValues() +* finalise GdlInfo.GdlInfo() +* finalise GdlReference.GdlReference() +* finalise GdlReference.addSubItem() +* finalise GdlReference.ReferenceClickHandler.onClick() +* finalise GdlTopicView.getContent() +* finalise GdlSpecialTopicView +* finalise GdlSpecialEditorTopicView +* finalise GdlSpecialCreatorTopicView +* finalise GdlEditorAssociationView +* finalise GdlDefaultTopicView +* finalise GdlDefaultCreatorTopicView +* finalise GdlDefaultEditorTopicView +* finalise GdlAssociationView.getContent() * Fix css-pseudo-class-handlers \ No newline at end of file
Modified: trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestLoadSchemaCallback.java ============================================================================== --- trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestLoadSchemaCallback.java Thu Oct 27 01:08:00 2011 (r1030) +++ trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestLoadSchemaCallback.java Thu Oct 27 01:27:15 2011 (r1031) @@ -65,7 +65,7 @@ }catch(ExecutionException e){ Window.alert("Execution Error: " + e.getMessage()); }catch(Exception e){ - Window.alert("panel: " + panel + ", tm: " + panel.getSchemaTm() + "\ncaught error: " + e.getLocalizedMessage()); // TODO: implement smarter error handling + Window.alert("panel: " + panel + ", tm: " + panel.getSchemaTm() + "\ncaught error: " + e.getLocalizedMessage()); e.printStackTrace(); } } else {
Modified: trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlCreateButton.java ============================================================================== --- trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlCreateButton.java Thu Oct 27 01:08:00 2011 (r1030) +++ trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlCreateButton.java Thu Oct 27 01:27:15 2011 (r1031) @@ -8,7 +8,6 @@ import com.google.gwt.user.client.ui.Button;
public class GdlCreateButton extends GdlActionButton { - // TOOD: is this class really necessary or is GdlCommitButton sufficient??? // TODO: implement protected GdlCreateButton(){
Modified: trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlDeleteButton.java ============================================================================== --- trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlDeleteButton.java Thu Oct 27 01:08:00 2011 (r1030) +++ trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/button/GdlDeleteButton.java Thu Oct 27 01:27:15 2011 (r1031) @@ -12,8 +12,6 @@ import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
public class GdlDeleteButton extends GdlActionButton { - // TODO: implement - protected GdlDeleteButton(){ super(); }
Modified: trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java ============================================================================== --- trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java Thu Oct 27 01:08:00 2011 (r1030) +++ trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java Thu Oct 27 01:27:15 2011 (r1031) @@ -280,7 +280,6 @@
@Override public GdlVisibleObject append(Topic ancestor, Topic current) throws InvalidGdlSchemaException, ExecutionException { - // TODO Auto-generated method stub if(this.subElements.size() == 0) return null; if(this.storedItems == null) this.storedItems = this.containsItems();
Modified: trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/GdlErrorTypes.java ============================================================================== --- trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/GdlErrorTypes.java Thu Oct 27 01:08:00 2011 (r1030) +++ trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/environment/GdlErrorTypes.java Thu Oct 27 01:27:15 2011 (r1031) @@ -8,5 +8,4 @@ TopicMapsGenerationError, ViewCreationError, ExecutionError - // TODO: ... }
Modified: trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/LoadSchemaCallback.java ============================================================================== --- trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/LoadSchemaCallback.java Thu Oct 27 01:08:00 2011 (r1030) +++ trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/LoadSchemaCallback.java Thu Oct 27 01:27:15 2011 (r1031) @@ -70,7 +70,7 @@ }catch(ExecutionException e){ Window.alert("Execution Error: " + e.getMessage()); }catch(Exception e){ - Window.alert("panel: " + panel + ", tm: " + panel.getSchemaTm() + "\ncaught error: " + e.getLocalizedMessage()); // TODO: implement smarter error handling + Window.alert("panel: " + panel + ", tm: " + panel.getSchemaTm() + "\ncaught error: " + e.getLocalizedMessage()); e.printStackTrace(); } } else {