From 22724ef036aa4c1c6496b2d07b99d1f07061b7d2 Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 6 Mar 2007 12:57:09 +0000 Subject: [PATCH] stub for the dom tree update event generator. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@349 be28352e-c001-0410-b1a7-c7978e42abec --- .../ac/vamsas/objects/DocumentUpdaterEngine.java | 25 ++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/uk/ac/vamsas/objects/DocumentUpdaterEngine.java diff --git a/src/uk/ac/vamsas/objects/DocumentUpdaterEngine.java b/src/uk/ac/vamsas/objects/DocumentUpdaterEngine.java new file mode 100644 index 0000000..370fcc8 --- /dev/null +++ b/src/uk/ac/vamsas/objects/DocumentUpdaterEngine.java @@ -0,0 +1,25 @@ +package uk.ac.vamsas.objects; + +import uk.ac.vamsas.client.IClientDocument; + +public class DocumentUpdaterEngine { + private IDocumentUpdater hander; + /** + * initialise the engine with an implementation + * of the interface. + * @param hander + */ + public DocumentUpdaterEngine(IDocumentUpdater hander) { + super(); + this.hander = hander; + } + /** + * call the necessary update handlers at + * each point on the VamsasDocument OM + */ + public void callHandlers(IClientDocument cdoc) { + // TODO: walk down the hierarchy until we find an update and call the handler for it. + // TODO: determine if the User, private or public appData has changed + + } +} -- 1.7.10.2