Hi Jody,

Many thanks! I completely forgot that some of these menu items are registered programmatically in the ActionBarAdvisor. I was focussed on searching xml contributions.

Now it works. And I'll have a look at the UDIGActionBarAdvisor.

Matthias




Am 15.02.2011 12:45, schrieb Jody Garnett:
Interesting; the export wizard is contributed there.

Are you sure you have included the export menu option in your application?
Some of the details are in the custom app tutorial; with a few more
notes here:
-
http://udig.refractions.net/confluence/display/DEV/Using+the+UDIGWorkbenchAdvisor

So we can probably hunt down a workbench action bar advisor of some sort:
-
http://gitorious.org/udig/udig-platform/blobs/master/plugins/net.refractions.udig.ui/src/net/refractions/udig/internal/ui/UDIGActionBarAdvisor.java

Which shows the following:

fileMenu.add(ActionFactory.IMPORT.create(window));
fileMenu.add(ActionFactory.EXPORT.create(window));

These actions provided by eclipse will pop open the normal export wizard
which should include export map?

Jody Garnett

On Tuesday, 15 February 2011 at 7:11 PM, Matthias Lendholt wrote:

Hi Andrea,

yes, this "Map to Image" functionality is needed. However, this plugin
is included but the File->Export menu item doesn't exist. Dependencies
on xml level to eclipse plugins?

Cheers, Matthias

Am 14.02.2011 17:42, schrieb andrea antonello:
Hi Matthias,
if you mean the export wizard for the "Map to image", then it is in
the net.refractions.udig.project.ui
plugin.

Ciao,
Andrea

On Mon, Feb 14, 2011 at 5:39 PM, Matthias Lendholt
<[email protected]
<mailto:[email protected]>> wrote:
Hi all,

which uDig plug-in do I have to include into my application to have the
export map as image functionality? I couldn't find it. Or are there
eclipse
plug-ins that must be added also to have the menu item "Export" created?

Thanks
Matthias

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

Reply via email to