Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Print diagram without editor
Print diagram without editor [message #247520] Wed, 25 February 2009 00:43 Go to next message
Felix L J Mayer is currently offline Felix L J MayerFriend
Messages: 202
Registered: July 2009
Senior Member
Is there a way to print a GEF diagram without opening its editor? For
example, suppose I want to display a print context menu item on my diagram
file in the resource view or package explorer. In that case I would like to
print directly from the print dialog without opening the editor first. Has
anybody done this before?

Thanks, Felix
Print diagram without editor [message #247525 is a reply to message #247520] Wed, 25 February 2009 12:55 Go to previous messageGo to next message
Andreas Herz is currently offline Andreas HerzFriend
Messages: 196
Registered: July 2009
Senior Member
I need this feature too!

Cool Idea.

I want generate the documentation of my Model and embedd the
screens of my GEF editors.

Greetings

Andreas

Felix LJ Mayer wrote:
> Is there a way to print a GEF diagram without opening its editor? For
> example, suppose I want to display a print context menu item on my diagram
> file in the resource view or package explorer. In that case I would like to
> print directly from the print dialog without opening the editor first. Has
> anybody done this before?
>
> Thanks, Felix
>
>
Re: Print diagram without editor [message #247651 is a reply to message #247525] Sat, 07 March 2009 04:58 Go to previous message
Felix L J Mayer is currently offline Felix L J MayerFriend
Messages: 202
Registered: July 2009
Senior Member
It seems the GMF class
org.eclipse.gmf.runtime.diagram.ui.render.util.CopyToImageUt il might be
doing this.

"FreeGroup" <a.herz@FreeGroup.de> wrote in message
news:go3f22$nci$2@build.eclipse.org...
>I need this feature too!
>
> Cool Idea.
>
> I want generate the documentation of my Model and embedd the
> screens of my GEF editors.
>
> Greetings
>
> Andreas
>
> Felix LJ Mayer wrote:
>> Is there a way to print a GEF diagram without opening its editor? For
>> example, suppose I want to display a print context menu item on my
>> diagram file in the resource view or package explorer. In that case I
>> would like to print directly from the print dialog without opening the
>> editor first. Has anybody done this before?
>>
>> Thanks, Felix
Previous Topic:[Announce] GEF 3.5.0 I200903061148 is available
Next Topic:[Zest] Removing Node and Connections
Goto Forum:
  


Current Time: Tue Apr 23 11:36:30 GMT 2024

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

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

Back to the top