Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Reset perspective causes modal tools to disappear

Thanks Jesse I think we need to debug MapEditorActionBarContributor.  Maurio may be working on a similar issue.
I have seen this problem myself; but you are the first person to sort out what is going wrong.
Is there any way we can listen to the perspective change?

I am still a bit confused; the tools are listed but show up blank? Perhaps we could see what that looks like in the debugger and sort out how to respond?

Jody

On 15/07/2010, at 5:30 AM, Jesse Varner wrote:

> Hi,
> I noticed this behavior both in the latest win32 uDig 1.2-snapshot, and also in my custom application built on uDig SDK 1.2-RC3:
> If you have a map editor open, and you reset your perspective, the modal tool icons disappear, leaving blank buttons in their place. The icons usually come back if you click on one of the blank spots.
> I see that the modal tools are added in udig.project.ui.internal.MapEditorActionBarContributor, but this code doesn't get called when you reset the perspective while a map is open.
> Can anyone suggest a workaround for this problem? Can I force it to re-add those tools in my CustomPerspectiveFactory.createInitialLayout() method?
> 
> Thanks,
> Jesse Varner
> 
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top