Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Distinguish Containers(How to Distinguish Containers)
Distinguish Containers [message #1121163] Mon, 30 September 2013 06:33 Go to next message
Victor Lopez is currently offline Victor Lopez
Messages: 21
Registered: August 2013
Junior Member
Hello everybody,

I have one big rectangle with a vertical line in the middle. At the right and at the left i have other rectangle (invisible). I can drag another object in both sides but i want to know where I have added it (wether at right or left). Both right and left sides are linked to the same kind of class (one of my metamodel called Graph) so I cannot get information from it (no name or something similar to distinguish).

is it possible to establish some Tag or Name to the containers or rectangles so i can access to them when I am adding and see where I am doing it? Or is there another option?

Thank you very much,

VĂ­ctor.
Re: Distinguish Containers [message #1121197 is a reply to message #1121163] Mon, 30 September 2013 07:19 Go to previous messageGo to next message
Michael Wenz is currently offline Michael Wenz
Messages: 1574
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Victor,

you can add Properties to each graphical object in Graphiti to identify the
to rectangles (getPropertries.add(...) on a shape, or GA).

Michael
Re: Distinguish Containers [message #1121212 is a reply to message #1121197] Mon, 30 September 2013 07:39 Go to previous message
Victor Lopez is currently offline Victor Lopez
Messages: 21
Registered: August 2013
Junior Member
That is exactly what I was looking for. Thank you very much Wink
Previous Topic:How to disable multi selection of elements in graphiti
Next Topic:Delete of pictogram element using keyboard is not working
Goto Forum:
  


Current Time: Sat Jul 26 09:25:37 EDT 2014

Powered by FUDForum. Page generated in 0.01493 seconds