Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Export to PNG and Problems with class diagrams
Export to PNG and Problems with class diagrams [message #554706] Tue, 24 August 2010 07:20 Go to next message
Angi  is currently offline Angi
Messages: 16
Registered: August 2010
Junior Member
Hello,

i have to use Eclipse with Papyrus in my practical semester.

No I've got some problems.

First, i wish there would be a step by step tutorial for Papyrus, because i spent a lot of time by learning how this modelling tool works....


My next Point is that i haven't found an option to export my created diagrams into png or something else...


And last, i can't add on class diagrams return parameters.


Can someone help me?
Re: Export to PNG and Problems with class diagrams [message #554737 is a reply to message #554706] Tue, 24 August 2010 09:40 Go to previous messageGo to next message
Patrick Tessier is currently offline Patrick Tessier
Messages: 142
Registered: July 2009
Senior Member
Normaly, you can export image by using contextual menu on a diagram:
File>Save as image file. If this is not the case, this is a bug

About parameters, are they "return parameters of operation"?

Papyrus team


"Angi" <princiangi@googlemail.com> a
Re: Export to PNG and Problems with class diagrams [message #554743 is a reply to message #554706] Tue, 24 August 2010 10:10 Go to previous messageGo to next message
Angi  is currently offline Angi
Messages: 16
Registered: August 2010
Junior Member
There is no print symbol, no print in the menu, oder something like save as image.

Yes i wanna add a return parameter on an operation in a class diagram
Re: Export to PNG and Problems with class diagrams [message #555018 is a reply to message #554706] Wed, 25 August 2010 08:21 Go to previous messageGo to next message
Angi  is currently offline Angi
Messages: 16
Registered: August 2010
Junior Member
Another very funny debug is that in a sequence diagram, if i add an action to a lifeline, and a second one which is on the first action and then i wanna change the order of these actions, the orders are permutes. If i click "send to back" it brings it to the front *g* and if i click "send to front" it goes to back ......
Re: Export to PNG and Problems with class diagrams [message #555040 is a reply to message #555018] Wed, 25 August 2010 08:36 Go to previous messageGo to next message
Thibault Landré is currently offline Thibault Landré
Messages: 24
Registered: July 2009
Junior Member
Angi a écrit :
> Another very funny debug is that in a sequence diagram, if i add an
> action to a lifeline, and a second one which is on the first action and
> then i wanna change the order of these actions, the orders are permutes.
> If i click "send to back" it brings it to the front *g* and if i click
> "send to front" it goes to back ......
>

Hello Angi,

Thanks for pointing this out.
Could you open a bug against MDT Papyrus on the Eclipse bugzilla ?
https://bugs.eclipse.org/bugs/

Even if we are trying our best, MDT Papyrus is not yet free of bugs.
Any help and suggestions are more than welcome :) (by reporting bugs,
providing patchs, discussing the implementation / specification...).


Best Regards,

Thibault
Re: Export to PNG and Problems with class diagrams [message #555271 is a reply to message #554743] Thu, 26 August 2010 07:28 Go to previous messageGo to next message
Patrick Tessier is currently offline Patrick Tessier
Messages: 142
Registered: July 2009
Senior Member
In the property view, you can create a parameter for an operation, then
select the parameter, you can change the direction "in", "out", "inout",
"return".

About the save of diagram, it is already fixed for the next release at the
end of september.

Papyrus team,

"Angi" <princiangi@googlemail.com> a
Re: Export to PNG and Problems with class diagrams [message #555273 is a reply to message #554706] Thu, 26 August 2010 07:41 Go to previous messageGo to next message
Angi  is currently offline Angi
Messages: 16
Registered: August 2010
Junior Member
Thank you,

it works but how can i show it in the class diagram?
I added a parameter but there is nothing in the view.

Just in the Modelexplorer i see my parameter.
Re: Export to PNG and Problems with class diagrams [message #555918 is a reply to message #554706] Mon, 30 August 2010 08:35 Go to previous messageGo to next message
Angi  is currently offline Angi
Messages: 16
Registered: August 2010
Junior Member
But how can i display it in the diagram( the return parameter)?
I can create it, but it is not shown in the diagram....

And how can i create an actor symbol as a lifeline head in the sequenze diagram?
Re: Export to PNG and Problems with class diagrams [message #556249 is a reply to message #554743] Tue, 31 August 2010 13:18 Go to previous messageGo to next message
Markus Lorenz is currently offline Markus Lorenz
Messages: 11
Registered: August 2010
Junior Member
Angi wrote on Tue, 24 August 2010 06:10
There is no print symbol, no print in the menu, oder something like save as image.


Maybe you misunderstood Patrick?
The option to export images can be found in the context menu. You have to click into the diagram with the right button of your mouse.Then the context menu appears next to your mouse pointer. The option can not be found in the menu at the top of the window!

In the context menu there are several items starting with "Filter views...", "Add", "Navigate", and the fourth item is "File". Inside "File" you can find "Save As Image File...". You can choose between several formats like GIF, PNG, SVG, and PDF in the dialog. Though PDF is not working for me.

EDIT: The context menu can have different items, depending on where on your diagram you click. The items I listed appear if you right click somewhere into the diagram where no element is placed. If you do right click on an element some items are missing. But "File" is always there.

[Updated on: Tue, 31 August 2010 13:25]

Report message to a moderator

Re: Export to PNG and Problems with class diagrams [message #556453 is a reply to message #554706] Wed, 01 September 2010 12:02 Go to previous message
Angi  is currently offline Angi
Messages: 16
Registered: August 2010
Junior Member
Oh Thank you,
I found it now and it works. But If someone is new at papyrus he doesn't find this option Smile

I think it's a main function which is needed every time....
Previous Topic:Problem with model-view update
Next Topic:How to re-open a diagram?
Goto Forum:
  


Current Time: Thu Oct 23 16:31:36 GMT 2014

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

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