Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Showing/hiding "visibility" of parameters in operation
Showing/hiding "visibility" of parameters in operation [message #1008508] Tue, 12 February 2013 18:59 Go to next message
Kirsten M. Z. is currently offline Kirsten M. Z.
Messages: 131
Registered: July 2010
Senior Member
I loved Papyrus with all its features and possibilities from the very beginning, but I never used it because of one trivial reason: problems in adjusting the appearance. This is not a big deal in "daily business" and engineering, but I also build lectures and take lots of screenshots, so I want to visualize diagrams in a "common" way.

In fact, Papyrus offers more possibilities than most other tools. However, an important flag seems to be buggy since years. Therefore, I wanted to ask, if this is an "known" issue. I would be looking forward to use Papyrus as my favorite UML tool.

The problem (#1):

Why are the flags for showing/hiding the visibility of operation and it parameters not independent from each other? I want to show "+ operation ( param : int )". But the only possibilities I have are "operation ( param : int )" or "+ operation (+ param : int )". The later version is almost never shown in regular publications.

Problem (#2):

There is almost the same problem with modifiers. However, I can see two flags "modifiers" and "parameter modifiers". The problem is that "parameter modifiers" does not switch anything and "modifier" switches the visibility of both (operation and its parameters)

I am using Papyrus 0.10.0.v201302090551

I didn't want to ask a question until now, because I thought that the new CSS feature could help. However, according to the only resource I found (http://www.eclipse.org/papyrus/usersTutorials/resources/PapyrusTutorial_OnDiagramStylesheets.pdf), showing/hiding elements with CSS is not possible yet.

Are these issues known? Shall we enter a "bug"?

[Updated on: Wed, 13 February 2013 00:52]

Report message to a moderator

Re: Showing/hiding "visibility" of parameters in operation [message #1008558 is a reply to message #1008508] Wed, 13 February 2013 00:42 Go to previous messageGo to next message
Eclipse User
Hi Kirsten,

just want to add that adjusting visualization does really matter, and
Papyrus would need some improvement here. What bothers me is actually the
inability of Papyrus (at least until 0.9.1) to line-break labels. Labels
commonly become quite long.

Actually, does anyone from the dev team know whether there is an issue
reported for the missing word wrapping functionality, or if there is already
a plan to incorporate this feature.

Marc-Florian

"Kirsten M. Z." schrieb im Newsbeitrag
news:kfe3f5$8f1$1@xxxxxxxxe.org...

I loved Papyrus with all its features and possibilities from the very
beginning, but I never used it because of one trivial reason: problems in
adjusting the appearance. This is not a big deal in "daily business" and
engineering, but I also build lectures and make lots of screenshots, so I
would visualize diagrams in a "common" way.

In fact, Papyrus offers more possibilities than most other tools. However,
an important flag seems to be buggy since year. Therefore, I wanted to ask,
if this is an "known" issue. I would be looking forward to use Papyrus as my
favorite UML tool.

The problem (#1):

Why is the flag for showing/hiding the visibility of operation and it
parameters not independent from each other? I want to show "+ operation (
param : int )". But the only possibilities I have are "operation ( param :
int )" or "+ operation (+ param : int )". The later version is almost never
shown in regular publications.

Problem (#2):

There is almost the same problem with modifiers. However, I can see two
flags "modifiers" and "parameter modifiers". The problem is that "parameter
modifiers" does not switch anything and "modifier" switches the visibility
of both (operation and its parameters)

I am using Papyrus 0.10.0.v201302090551

I didn't want to ask a question until now, because I thought that the new
CSS feature could help. However, according to the only resource I found
(http://www.eclipse.org/papyrus/usersTutorials/resources/PapyrusTutorial_OnDiagramStylesheets.pdf),
showing/hiding elements with CSS is not possible yet.

Are these issues known? Shall we enter a "bug"?
Re: Showing/hiding "visibility" of parameters in operation [message #1008607 is a reply to message #1008558] Wed, 13 February 2013 09:32 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille Letavernier
Messages: 483
Registered: February 2011
Senior Member
Hello Kirsten, hello Marc-Florian,


These issues are known. However, as far as I know, there isn't anything planed yet to fix them. The CSS stylesheets should be extended to support the following cases:

- Stereotypes
- Labels
- Compartments
- Visibility (This may already be supported for some elements... Probably not all... Better consider that it is not supported)
- Custom styles (In a generic way, for all GMF Custom Styles (i.e. "named styles"))

And for each feature (Especially Labels and Visibility), we should also improve the way it is handled through properties view.

But unfortunately, this is not on our official roadmap yet.


Regards,
Camille


Camille Letavernier
Papyrus developer
Re: Showing/hiding "visibility" of parameters in operation [message #1008645 is a reply to message #1008607] Wed, 13 February 2013 12:07 Go to previous message
Kirsten M. Z. is currently offline Kirsten M. Z.
Messages: 131
Registered: July 2010
Senior Member
Ok, thanks for your comment. Is there an item we can track?
Previous Topic:State entry/exit/do behavior : reusing existing behavior
Next Topic:How to create a Template Class with Papyrus
Goto Forum:
  


Current Time: Fri Oct 24 13:05:09 GMT 2014

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

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