Login  Register

Re: Global shortcuts don't work in non-standard Resultsable

Posted by Rasband, Wayne (NIH/NIMH) [E] on Feb 02, 2011; 4:14pm
URL: http://imagej.273.s1.nabble.com/Global-shortcuts-don-t-work-in-non-standard-Resultsable-tp3685847p3685848.html

On Feb 2, 2011, at 10:06 AM, Wolfgang Gross wrote:

> Hi all,
>
> a standard results table (TextWindow title "Results") honors global shortcuts but this is not true for results tables using a different title.
> After digging into the code I found out that for standard tables this is accomplished by the line
>  textPanel.addKeyListener(ij)
> in  ImageJ.showResults.
> I was thinking about a plugin realising some special copy mechanism invoked by a global shortcut. This would not work for non-standard results tables.
> My question: Is there a reason for the shortcut restriction?
> Workaround: Extend resultstable overriding the show method and add the keylistener.
>
> Any other suggestions?

This bug is fixed in the 1.45a3 daily build.

-wayne