So I was able to get the OSGI Transforms to work eventually.
I looked at the activities as well but I was not successful at removing
udig operations. I think this is because udig operations are not UI
contributions - activities seem to work only on UI contributions? UDig
operations are added to the menu via the OperationMenuFactory and not
any extension point? If you understand otherwise please let me know;
I'm still trying to figure this stuff out.
Emily
On 17/01/2013 12:23 AM, andrea antonello wrote:
Hi Emily,
I just disabled a bunch of extension points in the IDE plugin for the
geoscript editor.
For several reasons I didn't use the osgi transforms suggested by Pana though.
I did instead use activities, which made the thinga 5 minutes hack.
I will try to dig the commit out if you think that is what you need.
Btw I used the documentation of the wiki to get there.
Cheers,
Andrea
On Thu, Jan 17, 2013 at 1:20 AM, Emily Gouge <[email protected]> wrote:
Thanks Frank.
I did eventually find the discussion on the mailing list. I am not having
much luck at the moment with the product customization, the documentation is
not the best. If I do get something working I will share.
Emily
On 16/01/2013 1:35 PM, Frank Gasdorf wrote:
Emily, very interesting question! I guess the eclipse-wiki discuss
several ways to manipulate the plugins before they are loaded into
registry. Have a look at the product customization page:
http://wiki.eclipse.org/Product_Customization
An other way to customize your application is to work with activities
and capabilities :
http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench_scalability.htm
I guess the later has been discussed on the mailing list a few weeks/month
ago.
For this particular Requirement I would prefer the first way to solve
it. I never done it but I guess its a good point to investigate
Let us know how you solved it ;)
Frank
* could you try to
http://stackoverflow.com/a/8182692
Ver
2013/1/16 Emily Gouge <[email protected]>:
I would like to disable some of the operations that appear in the
right-click menu of the Layers view. In particular I would like to
disable
the "Make Hole", "Select all features", "Merge Selected" operations.
Both of these operations are a part of the
net.refractions.udig.project.ui
packages so I can't exclude the plugin from my app. Is there a simple
way
to remove operations?
Thanks,
Emily
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel