From: Scooter Morris <scoo...@cgl.ucsf.edu>
Date: Tue, 11 Sep 2012 07:57:36 -0700
Local: Tues, Sep 11 2012 10:57 am
Subject: Re: [Cytoscape-discuss] Custom event listeners
Hi Omar,
MyClass myObject = new MyClass();
That way, all of your services are in the CyActivator, which makes them Of course, you can, as Jason suggested also pass the CyServiceRegistrar -- scooter
On 09/11/2012 07:24 AM, Jason Montojo wrote:
> You can (un)register OSGi services dynamically using a > Hope this helps,
> On Tue, Sep 11, 2012 at 12:40 AM, Omar Wagih <omarwa...@gmail.com > From the 3.0 cookbook, its states that if you want to create a
> // Define a class, which implements a listener interface
> // Register the listener in the CyActivator class
> However, I have a custom object I would like to update when a network is added. How do I do that if my listener class has to be instantiated inside my CyActivator class..?
> In other words, is there a way to register a listener class outside the CyActivator class?
> Thanks,
> -- > -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||