refactored to propery separate addToDocument,addFromDocument, updateToDocument, updat...
[jalview.git] / src / jalview / io / vamsas / LocalDocSyncObject.java
index 2c9eddc..50b0cdb 100644 (file)
@@ -22,8 +22,9 @@ import uk.ac.vamsas.client.Vobject;
 
 /**
  * Implement the basic logic for synchronising changes to or from the Vamsas
- * Document
- * 
+ * Document. This is a more generic and normalised framework than the one implemented in DatastoreItem,
+ * but probably more tedious to implement.
+ * .. abandoned. Nov 2008 
  * @author JimP
  */
 public abstract class LocalDocSyncObject extends DatastoreItem
@@ -48,14 +49,14 @@ public abstract class LocalDocSyncObject extends DatastoreItem
   /**
    * called if the local object can be safely updated from the bound document
    * object.
+  public abstract void updateToDoc();
    */
-  public abstract void updateFromDoc();
 
   /**
    * called if the associated document object can be safely updated with the
    * local changes
-   */
   public abstract void updateToDoc();
+   */
 
   /**
    * @return true if the local object is modified