Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Exported class diagrams missing text
Exported class diagrams missing text [message #986192] Mon, 19 November 2012 11:49 Go to next message
Andy Key is currently offline Andy KeyFriend
Messages: 3
Registered: July 2009
Junior Member
I have a few class diagrams in a model that I would like to export as an image. When I try either clicking on the model and the "Export all diagrams..." option, or right-clicking inside a diagram and "File -> Save as image file", the images are generated. However, most of the labels in the classes are missing, ie. the properties and operations are not present in the exported diagrams - except of course for one particular property. At times, not even the class names are present, just the applied stereotypes. No exceptions are written to .metadata/.log when running the export. It seems to me that it is attempting to render the properties, and runs into an exception which is caught and ignored, without being logged (just a theory of course).

Has anyone else seen this?

index.php/fa/12437/0/
Re: Exported class diagrams missing text [message #986216 is a reply to message #986192] Mon, 19 November 2012 13:49 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 511
Registered: February 2011
Senior Member
Hello,

It works correctly for me. What version of Papyrus do you use ?


Regards,
Camille


Camille Letavernier
Papyrus developer
Re: Exported class diagrams missing text [message #986218 is a reply to message #986192] Mon, 19 November 2012 13:49 Go to previous messageGo to next message
Christian W. Damus is currently offline Christian W. DamusFriend
Messages: 847
Registered: July 2009
Senior Member
Hi, Andy,

What file format are you exporting to? And on what platform?

I've found that GMF can't reliably export PNG on Mac OS X. Text is one
of the problems. I use the JPG option exclusively on Mac.

Cheers,

Christian

On 2012-11-19 11:49:25 +0000, Andy Key said:

> I have a few class diagrams in a model that I would like to export as
> an image. When I try either clicking on the model and the "Export all
> diagrams..." option, or right-clicking inside a diagram and "File ->
> Save as image file", the images are generated. However, most of the
> labels in the classes are missing, ie. the properties and operations
> are not present in the exported diagrams - except of course for one
> particular property. At times, not even the class names are present,
> just the applied stereotypes. No exceptions are written to
> .metadata/.log when running the export. It seems to me that it is
> attempting to render the properties, and runs into an exception which
> is caught and ignored, without being logged (just a theory of course).
>
> Has anyone else seen this?
>
>
> <image>
Re: Exported class diagrams missing text [message #986362 is a reply to message #986216] Tue, 20 November 2012 09:00 Go to previous message
Andy Key is currently offline Andy KeyFriend
Messages: 3
Registered: July 2009
Junior Member
@Camille:

I am using the latest release of Topcased, 5.2.0, which has Papyrus 0.8.2.v201204031124, at least according to the eclipse installation details page. Running Ubuntu 12.04 64-bit, OpenJdk 1.6.0_24-b24. Was trying to save the diagrams as PNG.

@Christian:

It appears that PNG output on 64-bit Ubuntu is also borked. JPEG exported correctly with all text. Thanks for the tip!
Previous Topic:My question to specialist of MARTE
Next Topic:Peut-on faire du reverse d'un programme Java avec Papyrus ?
Goto Forum:
  


Current Time: Mon Dec 22 04:15:46 GMT 2014

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

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