Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » compartment background transparent
compartment background transparent [message #776777] Mon, 09 January 2012 09:09 Go to next message
Chris B. is currently offline Chris B.Friend
Messages: 37
Registered: November 2011
Member
Hello everyone,

is it possible to set the background of a compartment to transparent instead of white so that the borderline of the compartment isn't visible and the background is the same as the element that holds the compartment? For example if i place some labels in the compartment it should look like they are part of the container class.
In other words, there should be no visible difference between the the parent container class and the contained class.

regards
bj
Re: compartment background transparent [message #776782 is a reply to message #776777] Mon, 09 January 2012 09:13 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi,

did you set fill to false in the gmfgraph model for the figure representing your compartment?

Ralph
Re: compartment background transparent [message #776838 is a reply to message #776782] Mon, 09 January 2012 10:57 Go to previous messageGo to next message
Chris B. is currently offline Chris B.Friend
Messages: 37
Registered: November 2011
Member
Hi Ralph,

thank you for your quick reply. Yes, the fill property is set to false.
I could change the background of the compartment, but the
problem is that the color of the container is gradient,
so the transition from child to parent element is permanently visible.
Any other suggestions for that issue? Thanks.

bj
Re: compartment background transparent [message #776889 is a reply to message #776838] Mon, 09 January 2012 13:16 Go to previous message
Chris B. is currently offline Chris B.Friend
Messages: 37
Registered: November 2011
Member
Hi Ralph,

thanks for the hint. You were right, the fill property was the solution.
For any reason it didn't work out with the diagram i was working on.I created a new
diagram and the background disappeared. Thank you very much.

best regards
bj

[Updated on: Mon, 09 January 2012 13:47]

Report message to a moderator

Previous Topic:Shorcut disappears from diagram
Next Topic:changing output format (XMI)
Goto Forum:
  


Current Time: Thu Apr 25 11:06:30 GMT 2024

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

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

Back to the top