Hi Stefan,

>@Larry: I guess this error also appears in SKyJUMP?

I haven't been able to duplicate the problem in SkyJUMP, but it could be
timing related.  I guess you are asking me because I'm the culprit who did
the tuning on selection size?  :-)  I'll take a look at the code when I get
a chance.  Haven't been doing much JUMP programming lately.

regards,
Larry

On Thu, Mar 13, 2008 at 10:21 PM, Stefan Steiniger <[EMAIL PROTECTED]>
wrote:

> Hei,
>
> I just submitted a workaround/fix.
>
> Error is in SelectionManager.getSelectedItemsCount() but the problem is
> resolved by a work around in
> EnableCheckFactory.createAtLeastNItemsMustBeSelectedCheck. Optimally
> changes need to be done in SelectionManager.updatePanel(). The error was
> introduced by the speed tuning related to the frequent call of
> EnableCheck for the selection size. Here the size check of the selection
> was replaced by a setting a variable during panel updates, instead
> calculating the selection size. I guess that
> SelectionManager.updatePanel() is not called when a selection in
> ViewAttributesFrame is done?
>
> @Larry: I guess this error also appears in SKyJUMP?
>
> Maybe you have a better idea to fixing it. For now the workaround works
> with the identified problems and functions that used the specific enable
> check - but it may be that other functions using
> SelectionManager.getSelectedItemsCount() have the same problem.
>
> Interestingly only #createAtLeastNItemsMustBeSelectedCheck() uses
> (SelectionManagerProxy)iFrame), all others use .getActiveInternalFrame()
>
> stefan
>
> >>>>
> >>>> Uwe Dalluege wrote:
> >>>>> Hi,
> >>>>>
> >>>>> in OJ weekly build is
> >>>>> the Feature Info Button in the
> >>>>> View/Edit Attributes Window always gray!
> >>>>>
> >>>>> 1. View/Edit Attributes
> >>>>> 2. Mark a row in the table.
> >>>>> 3. The Feature Info button is still gray!
> >>>>>
> >>>>> Regards
> >>>>>
> >>>>> Uwe
> >>>>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>



-- 
http://amusingprogrammer.blogspot.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to