moved methods for opening a stored session document in a new vamsas session into...
[vamsas.git] / src / uk / ac / vamsas / client / IClient.java
index 5df2f20..cf61bb2 100644 (file)
@@ -98,7 +98,8 @@ public interface IClient {
     /**
      * Any application may call importDocument to merge a stored
      * vamsasDocument into the current session.
-     * Note: use a IClientFactory's implementation to make sessions out of vamsas documnts
+     * Note: use a IClientFactory's implementation to make sessions out of vamsas documents
+     * TODO: this is not currently implemented by SimpleClient - and may be dropped from the first version of the interface. 
      * LATER: VAMSAS: The IClient implementation will handle all ID 'relocations'
      * @param location
      */
@@ -139,4 +140,10 @@ public interface IClient {
      * LATER: create VAMSAS exception hierarchy (in a language agnostic manner)
      */
     public void joinSession() throws Exception;
+    /**
+     * get the Vamsas Pick Manager for registering pick handlers and sending messages for the current session. 
+     * @return an object implementing IPickManager (which maybe the same as the IClient implementer)
+     */
+    public uk.ac.vamsas.client.picking.IPickManager getPickManager();
+    
 }