This method is used by the LayerListener to unselect features after
deletion.  I don't suppose you have considered using the debugger?

Larry

On 10/11/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote:
> I think that I may have discovered a bug in the
> AbstractSelection.unselectItems(Layer layer, CollectionMap
> FeatureToItemCollectionMap) method. I call this method in my
> SuperSelect Tool. I've used log messages to determine that execution
> sucessfully passes from my code to the code in the unselectItems
> method.
>
> The problem is, nothing happens... That is, the unselectItems method
> doesn't appear to unselect any selected Features. I know this because
> even after this method is called I can still manipulate the Features
> in a selection. Also, the number of selected items shown below the
> LayerViewPanel never reduces. (I suppose this could be for a different
> reason, but it seems odd that features aren't unselected AND the
> selected feature count never gets smaller.)
>
> I want to go rooting around in the unselectItems method to see what is
> going on, but I thought it might be prudent to post here first.
> Perhaps someone knows something about the selection code in OpenJUMP
> that I don't. Can anyone think of a reason why this method wouldn't be
> performing properly? (Please note that my SuperSelect Tool can
> sucessfully select and clear selected items, just not unselect items.)
>
> Has anyone written a plug-in of their own that calls the
> AbstractSelection.unselectItems method?
>
> If no one has any suggestions for me then I will begin tearing apart
> the AbstractSelection code to find the problem.
>
> The Sunburned Surveyor
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Jump-pilot-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>


-- 
http://amusingprogrammer.blogspot.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to