Changes between Version 19 and Version 20 of FormAnnotate


Ignore:
Timestamp:
02/13/08 13:47:08 (10 years ago)
Author:
pichota
Comment:

basic use case

Legend:

Unmodified
Added
Removed
Modified
  • FormAnnotate

    v19 v20  
    7979He expands various tree nodes before the desired class is found and clicks on it. The corresponding properties are presented on the right-handside 
    8080(served by [source:trunk/kaukolu/src/de/opendfki/kaukoluwiki/servlet/AnnotationContentServlet.java AnnotationContentServlet].getAnnotationFormHtml()). 
    81 He enters some information and clicks in "Create". This triggers 
     81He enters some information and clicks on "Create". This triggers 
    8282[source:trunk/kaukolu/src/de/opendfki/kaukoluwiki/servlet/AnnotationActionServlet.java AnnotationActionServlet].createAnnotation(), 
    8383followed by 
     
    8787The page reloads. The user hovers the annotated text, does a right-click, expands "Edit Annotation" and selects the underlying annotations. The annotation panel opens showing the descent tree on the right-hand side 
    8888(served by [source:trunk/kaukolu/src/de/opendfki/kaukoluwiki/servlet/AnnotationContentServlet.java AnnotationContentServlet].getDescentTree()) 
    89 and the currently stored properties in the right hand side, generated by the usual method. The click on "Update" goes a similar way to 
     89and the currently stored properties on the right hand side, generated by the usual method. The click on "Update" goes a similar way to 
    9090[source:trunk/kaukolu/src/de/opendfki/kaukoluwiki/storage/AnnotationStore.java].updateAnnotation(). 
    9191 
    92 A click on "Delete Annotation" i nthe context menu results in a call to 
     92A click on "Delete Annotation" in the context menu results in a call to 
    9393[source:trunk/kaukolu/src/de/opendfki/kaukoluwiki/storage/AnnotationStore.java].removeAnnotation() 
    9494in the end. 
     95 
     96Key functions in [source:trunk/kaukolu/WebContent/scripts/annotation.js annotation.js]: 
     97 * initAnnotationFormCallback() -- initializes the form and handles submission 
     98 * fillAnnotationSearchTree() -- performs the class search 
     99 * editAnnotation() -- edit an annotation 
     100 * jsonFromInstanceParams() -- creates the property string for an annotation 
    95101 
    96102