Hello CopyToImageUtil! [message #229603] |
Tue, 12 May 2009 13:04 |
No real name Messages: 1 Registered: July 2009 |
Junior Member |
|
|
I'm trying to write a plugin to export all diagrams of an UML model to
image files. I.e. automate the task of selecting "File - Save As Image
File.." for each diagram.
I understand that CopyToImageUtil.copyToImage() can be used for this. The
problem is that usage of this method requires a good understanding of GMF,
specifically how to instansiate the method parameters of type Diagram,
IPath, IProgressMonitor and PreferencesHint.
What I'm looking for is a way to implement a method with two parameters:
Parameter 1: Specifies a model in the project explorer
Parameter 2: Specifies the directory where to create the files
Can this be achieved as a second step after succefully completed a Hello
world! plugin? Or, do I have have to aquire GMF skills first?
Of course, any tips and pointers are vey much appreciated.
|
|
|
Powered by
FUDForum. Page generated in 0.02820 seconds