Skip to main content



      Home
Home » Eclipse Projects » GEF » Enriched Draw2d Printing?
Enriched Draw2d Printing? [message #525538] Tue, 06 April 2010 15:35 Go to next message
Eclipse UserFriend
I've developed an Eclipse view that utilizes draw2d. I need to add printing support. I've looked at the PrintExample.jave in cvs: it is pretty basic.

I'd like to leverage as much as possible from GEF and GMF ideally providing "Page Setup", Print Preview", page breaks, etc... (i.e., all the nice user friendly stuff).

Can someone highly familiar with this technology suggest how I would best approach this task?

Thanks in advance.

Steve Punte
Re: Enriched Draw2d Printing? [message #525673 is a reply to message #525538] Wed, 07 April 2010 08:52 Go to previous message
Eclipse UserFriend
In GMF printing has been implimented....

You can study the code from GMF and try to rewrite the same for "Page Setup", Print Preview", page breaks, etc

GEF also has these functionalities then again you have to dig....

for start see org.eclipse.gef.ui.actions.PrintAction and
org.eclipse.gmf.runtime.diagram.ui.printing.actions.PrintPre viewAction
Previous Topic:GEF documentation and examples is lacking - we need a GEF WIKI!
Next Topic:How to make SelectionTool select nodes with intersection
Goto Forum:
  


Current Time: Tue Jul 22 18:58:38 EDT 2025

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

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

Back to the top