Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to draw and save Draw2D images in a standalone Java application.
How to draw and save Draw2D images in a standalone Java application. [message #511294] Mon, 01 February 2010 07:22 Go to next message
Asha Ramegowda is currently offline Asha RamegowdaFriend
Messages: 77
Registered: July 2009
Member
Hi All,

Did not find a dedicate Draw2d newsgroup.
Hope am posting at the right place.

I have a requirement to draw something similar to drawing class diagrams or
uml diagrams from a standalone java application and save them as jpeg or
gif. Though am familiar with the Draw2D API not sure how can I draw them
with out using the shell and save them on to the system so that they can be
later opened using any application that can load a the mentioned formats.
Hope it's possible using Draw2D. Would like to know if there are any useful
resources on the web if possible.

Thank you,

Asha R.
Re: How to draw and save Draw2D images in a standalone Java application. [message #511301 is a reply to message #511294] Mon, 01 February 2010 08:17 Go to previous message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
refer to
http://www.eclipse.org/forums/index.php?t=msg&th=160915& amp;start=0&

In draw2d you just have to create the figure hierarchy and call paint method on the rootfigure as specified in the post....


---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
Previous Topic:How to bind SelectAll functionality with Ctrl+A in GEF ShapeEditor
Next Topic:[RESOLVED]I think GEF is dead!(Some life is Left)
Goto Forum:
  


Current Time: Fri Apr 19 20:29:17 GMT 2024

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

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

Back to the top