Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Re: As with many others.. (Wanting to useuDig insideanRCP app)

Hi David,

There is a Class called MenuBuilder which build the uDig Menu. I assume you are making your own menus. Take a look at it to see

1.  If  you can use it.
or
2.  What you need to add to your menu to fix the error.

The class is in the net.refraction.udig.ui plugin

Jesse

On 4-Jan-07, at 11:21 AM, David Fleig wrote:


I'm at the point where my application is trying to bring up the MapEditor
and it seems to be having an issue with attaching to a menu bar I'm
guessing:

Unable to create this part due to an internal error. Reason for the failure:
Group not found: additions

Which is caused from:

java.lang.IllegalArgumentException: Group not found: additions
	at
org.eclipse.jface.action.ContributionManager.addToGroup (ContributionManager.
java:125)
	at
org.eclipse.jface.action.ContributionManager.appendToGroup (ContributionManag
er.java:139)
	at
org.eclipse.jface.action.SubContributionManager.appendToGroup (SubContributio
nManager.java:84)
	at
net.refractions.udig.project.ui.internal.tool.display.ToolManager.cont ribute
ToMenu(ToolManager.java:604)
	at
net.refractions.udig.project.ui.internal.MapEditorActionBarContributor .contr
ibuteToMenu(MapEditorActionBarContributor.java:42)
	at
org.eclipse.ui.part.EditorActionBarContributor.init (EditorActionBarContribut
or.java:167)
	at
org.eclipse.ui.part.EditorActionBarContributor.init (EditorActionBarContribut
or.java:146)
	at
net.refractions.udig.project.ui.internal.MapEditorActionBarContributor .init(
MapEditorActionBarContributor.java:26)


What I'm guessing is that it is expecting me to have something defined
(looks like it has to do with "Navigation") that I don't. Any ideas what the
actionSet config should look like so that it will work?

Thanks,

David


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top