Hi,
please reply-to-all when responding to me. If you reply to me privately
(and I then reply to you privately by mistake, too), then basically I
spend my time exclusively for you. All the while others might have been
interested in the discussion and could have learnt from it.
> On Tue, 27 Jul 2010, Jon Kaplan wrote:
> The command listener is pretty much what I was looking for. The problem
> though is my intention is to create a plug in to keep track of an
> image's history. After toying with the CommandListener I realized it
> does not have the same access to plugins as the Recorder. I hadn't
> realized that the GenericDialog class has built in commands to send
> options to the Recorder. This problem causes the CommandListener to be
> notified immediately so calling Recorder.getCommandOptions() always
> seems to return null.
>
> I guess ideally I would have a listener on the Recorder's text area, but I
> don't know a good way of getting around that to get command options.
This is a fragile setup, since the recorder can get closed and reopened
(in which case it is _another_ recorder).
A better way might be to go with ImageJA (included in Fiji), which has a
CommandListenerPlus, providing you with more detailed information.
Ciao,
Johannes