[udig-devel] MapEditor and context menu
Jesse Eichar
jeichar at refractions.net
Thu Oct 4 12:00:33 PDT 2007
Hi Jan,
I'm looking at the code. It seems to me that the method is called
everytime the context menu is opened. So the tool can just adjust
what it returns. I haven't actually tried this so you'll have to let
me know how it works.
Jesse
On Oct 4, 2007, at 3:32 AM, Jan Jezek wrote:
> Hi uDigers,
>
> I'm playing with modal tool that should contribute some items into
> the MapEditor context menu. It works good (by implemnting
> IContextMenuContributionTool), but I would like also to be able to
> delete all the stuff that is there and this is currently not
> possible AFAIK.
>
> Do you think that we should give the ability to contributors also
> to remove
> the items from context menu in their ModalTools - if you agree I
> can try to fix it.
>
> I guess that it jut needs minor changes in ToolManager, MapEditor
> and also
> extends IContextMenuContributionTool interface.
>
> So what do you think?
>
> Cheers,
> Jan.
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
More information about the udig-devel
mailing list