Login  Register

Re: WindowManager listener

Posted by Patrick Pirrotte on Jul 13, 2006; 4:08pm
URL: http://imagej.273.s1.nabble.com/WindowManager-listener-tp3702180p3702182.html

Hi Gabriel,

Thanks for the tip. I was browsing through an old source tree w/o
ImageListener and I was finding it strange that ImageJ had not implemented
anything of the type. But luckily I was wrong: It works like a charm now.

Thank you,

Patrick

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
Gabriel Landini
Sent: 13 July 2006 16:38
To: [hidden email]
Subject: Re: WindowManager listener


On Thursday 13 July 2006 15:29, Patrick Pirrotte wrote:
> Basically, what
> I would need is for a way to register a listener to WindowManager
> which would fire an event as soon as the list of ImageWindow changes
> and tell me to update my list of Listeners on the individual
> ImageWindows. But maybe there's another solution? Does somebody have a
> clue on how to solve this problem (besides modifying the WindowManager
> itself)?

Hi Patrick,
Have you looked into the image listener?

http://rsb.info.nih.gov/ij/plugins/image-listener.html

Cheers,

Gabriel