Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Printing with out opening a diagram
Printing with out opening a diagram [message #198686] Wed, 23 July 2008 18:48
Eclipse UserFriend
Originally posted by: julan1984.gmail.com

Guys,

Is there anyway I can print a gmf diagram with out opening it in diagram.
I am printing a no of diagrams using a custom print by opening all the
diagrams and printing them. But opening all the diagrams causes memory
issues.I get this.

java.lang.OutOfMemoryError: Java heap space
at java.util.zip.InflaterInputStream.<init>(InflaterInputStream.java:170)
at java.util.zip.ZipFile$1.<init>(ZipFile.java:212)
at java.util.zip.ZipFile.getInputStream(ZipFile.java:212)
at java.util.zip.ZipFile.getInputStream(ZipFile.java:180)
....

I have all the diagram files with full path in an array. Is there anyway I
can print the diagrams with out opening it? Is there any method like that
in GMF?

if not

is there anyway I can open a diagram,print it and close it in an iterative
fashion.

Hope to hear from someone.

Thank You

Julan
Previous Topic:LinkConstraint
Next Topic:[Announce] GMF 2.2.0 I200807211239 is available
Goto Forum:
  


Current Time: Thu Apr 25 16:34:52 GMT 2024

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

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

Back to the top