Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Container Style Round
Container Style Round [message #1737568] Sun, 10 July 2016 10:01 Go to next message
Xi Ng is currently offline Xi NgFriend
Messages: 26
Registered: June 2016
Junior Member
Hello,

I am new to Sirius and have a question about styles of a container:

In the editor, that I am creating, I would like to model the folowing situation:
There is node "C" and node "D".
"C" is represented by a circle.
"D" is represented by a dot.
I want the editor to work like this:
1. When modelling "C", there is an option to put "D" in it, e.g. the dot can be represented inside the circle.
2. But the dot "D" is not able to get modeled anywhere else, e.g. it can not exist outside of circle "D".

I first thought of modeling "C" as a container and then add "D" as a sub-node.
But I am struggeling to find an option to model a container as a circle. I only find squares or a parallelogram. Is there a way to model a round container?

If not, is there a better way than using a container in order to model the situation described above?

Thank you, regards!

Re: Container Style Round [message #1737572 is a reply to message #1737568] Sun, 10 July 2016 11:40 Go to previous messageGo to next message
Xi Ng is currently offline Xi NgFriend
Messages: 26
Registered: June 2016
Junior Member
Hello,

never mind. I found one solution:

"C" > New Style > Gradient
Gradient > Corner > Arc Height: 100
Gradient > Corner > Arg Width: 100
Gradient > Corner > Rounded Corner: tick

Regards

Re: Container Style Round [message #1737598 is a reply to message #1737572] Mon, 11 July 2016 07:34 Go to previous message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
Hi Xi,

Le 10/07/2016 à 13:40, Xi Ng a écrit :
> Hello,
> never mind. I found one solution:
> "C" > New Style > Gradient
> Gradient > Corner > Arc Height: 100 Gradient > Corner > Arg Width: 100
> Gradient > Corner > Rounded Corner: tick
> Regards
>
>

You might also use the image style.

Regards

--
Maxime - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:On double click opening the properties view
Next Topic:Expression to call the java methods
Goto Forum:
  


Current Time: Fri Apr 26 02:17:14 GMT 2024

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

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

Back to the top