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

Reply via email to