Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Creating compartment wiithin a compartment using GMF(Creating compartment wiithin a compartment using GMF)
Creating compartment wiithin a compartment using GMF [message #522319] Mon, 22 March 2010 10:29 Go to next message
walnut23  is currently offline walnut23 Friend
Messages: 23
Registered: March 2010
Junior Member
Hi,

Is there a way we could create a compartment withing another compartment using GMF?

eg.

I have a structure like this Organization , Manager and Employees. My requirement is to create a node mapping for Organization ,within organization i want to create a compartment to iclude the Manager and within Manager i want to create another compartment to hold the employees.

Please help!

Thanks!
Re: Creating compartment wiithin a compartment using GMF [message #522916 is a reply to message #522319] Wed, 24 March 2010 14:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mail.hamburg.googlemail.com

> Hi,
>
> Is there a way we could create a compartment withing another compartment
> using GMF?
>
> eg.
>
> I have a structure like this Organization , Manager and Employees. My
> requirement is to create a node mapping for Organization ,within
> organization i want to create a compartment to iclude the Manager and
> within Manager i want to create another compartment to hold the employees.
>
> Please help!
>
> Thanks!
>

Hello, yes, it is possible. For example:

Top Node Reference Organisation
--Node Mapping Organisation
--ChildReference <containsManagers:Manager/Manager_Node>
--NodeMapping Manager
--Child Reference<containsEmployees:Employee/Employee_Node>
--Node Mapping <Employee/Employee_Node>
--Compartment Mapping <CompartmentForEmployees>
--Compartment Mapping <CompartmentForManagers>

I hope it is clear and i didn't make any mistake.
Just set the children-attribute of a compartment to elements which
should be added to your compartment in the editor.
Re: Creating compartment wiithin a compartment using GMF [message #523127 is a reply to message #522916] Thu, 25 March 2010 08:59 Go to previous message
walnut23  is currently offline walnut23 Friend
Messages: 23
Registered: March 2010
Junior Member
Thankyou very much! It worked for me!
Previous Topic:Remove Arrow close to Node
Next Topic:Two Diagrams connected but Entities are beeing cast wrong...
Goto Forum:
  


Current Time: Fri Oct 23 22:38:41 GMT 2020

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

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

Back to the top