[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] MapEditor and context menu
|
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