Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to add Save As Image command
How to add Save As Image command [message #205576] Tue, 16 September 2008 13:11 Go to next message
Eclipse UserFriend
Originally posted by: knakov.scopeset.de

Hi,

I know there is a CopyToImageAction which will show a wizard to export
the current diagram in an image file. Unfortunately I couldn't make it
work. I have added a dependency to
org.eclipse.gmf.runtime.diagram.ui.render.actions, but I can't create
the action since I don't know which is the best place to add it. Perhaps
I can add it in plugin.xml or somewhere in my WorkbenchWindowAdvisor,
but I don't know how. Can you help?

Thanks in advance,
Kalin
Re: How to add Save As Image command [message #210968 is a reply to message #205576] Wed, 12 November 2008 11:15 Go to previous message
Jevon  is currently offline Jevon Friend
Messages: 164
Registered: July 2009
Senior Member
Hi Kalin,

You can add the dependency for
"org.eclipse.gmf.runtime.diagram.ui.render" in your plugin.xml: open it
and select the "Dependencies" tab, and then add this package under
Required Plug-ins.

Jevon

Kalin Nakov wrote:
> Hi,
>
> I know there is a CopyToImageAction which will show a wizard to export
> the current diagram in an image file. Unfortunately I couldn't make it
> work. I have added a dependency to
> org.eclipse.gmf.runtime.diagram.ui.render.actions, but I can't create
> the action since I don't know which is the best place to add it. Perhaps
> I can add it in plugin.xml or somewhere in my WorkbenchWindowAdvisor,
> but I don't know how. Can you help?
>
> Thanks in advance,
> Kalin
Previous Topic:Get rid of node's children elements
Next Topic:How to change the parent of an edit part
Goto Forum:
  


Current Time: Thu Apr 22 15:27:01 GMT 2021

Powered by FUDForum. Page generated in 0.02485 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top