From: jprocter Date: Fri, 15 Dec 2006 11:12:32 +0000 (+0000) Subject: added a getter for the pickhandler interface in IClient X-Git-Tag: Release_0.2~208 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=dbbeea4a5931296bdfc3617d40c4d176c63b5843;p=vamsas.git added a getter for the pickhandler interface in IClient git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@312 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/uk/ac/vamsas/client/IClient.java b/src/uk/ac/vamsas/client/IClient.java index 5df2f20..877dcfe 100644 --- a/src/uk/ac/vamsas/client/IClient.java +++ b/src/uk/ac/vamsas/client/IClient.java @@ -139,4 +139,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(); + } diff --git a/src/uk/ac/vamsas/client/simpleclient/SimpleClient.java b/src/uk/ac/vamsas/client/simpleclient/SimpleClient.java index b2b1757..e66cb51 100644 --- a/src/uk/ac/vamsas/client/simpleclient/SimpleClient.java +++ b/src/uk/ac/vamsas/client/simpleclient/SimpleClient.java @@ -28,6 +28,7 @@ import uk.ac.vamsas.client.IObjectUpdate; import uk.ac.vamsas.client.InvalidSessionUrnException; import uk.ac.vamsas.client.SessionHandle; import uk.ac.vamsas.client.UserHandle; +import uk.ac.vamsas.client.picking.IPickManager; import uk.ac.vamsas.objects.core.ApplicationData; import uk.ac.vamsas.objects.core.Entry; import uk.ac.vamsas.objects.core.LockFile; @@ -414,4 +415,12 @@ public class SimpleClient implements IClient { // TODO Auto-generated method stub } + + /* (non-Javadoc) + * @see uk.ac.vamsas.client.IClient#getPickManager() + */ + public IPickManager getPickManager() { + // TODO Auto-generated method stub + return null; + } }