X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fuk%2Fac%2Fvamsas%2Fclient%2FIClient.java;h=cf61bb2a2e5a8e1fa76fc8748a7521f8e4fefda1;hb=4aeaba257ad7e3206158565b356da7e4b15bf0a2;hp=5df2f205205fc8fb1924f1928986b9bd1916ad18;hpb=ea8b10ee787a2b1e2b35f2acb4dccaf12fd2a6fd;p=vamsas.git diff --git a/src/uk/ac/vamsas/client/IClient.java b/src/uk/ac/vamsas/client/IClient.java index 5df2f20..cf61bb2 100644 --- a/src/uk/ac/vamsas/client/IClient.java +++ b/src/uk/ac/vamsas/client/IClient.java @@ -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(); + }