Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Table->Column design problems
Table->Column design problems [message #202135] Mon, 18 August 2008 07:25 Go to next message
Andreas  is currently offline Andreas Friend
Messages: 29
Registered: July 2009
Junior Member
Hi everybody,

sorry for my obstinacy but I still have the problem, that I want to
integrate an object (column) into an other object (table). It should look
like this:

|--------------| |--------------|
| Table 1 | | Table 2 |
|--------------| |--------------|
| Column 1 ---+----------+> Column 1 |
| |- ID | | |- ID |
| |- Name | | |- Name |
| |- ... | | |- ... |
| Column 2 ---+----------+> Column 2 |
| |- ... | | |- ... |
|--------------| |--------------|

I started with a very simple Model. Here it is

Workspace
|-> version :EString
|-> tables : Relation 0..* (Containment true)
Table
|-> version : EString
|-> name : EString
|-> iD : EString
|-> internalReferences: Relation 0..* (Containment false)

Now I want to extend the model with the following part:

Workspace
|-> version :EString
|-> tables : Relation 0..* (Containment true)
Table
|-> version : EString
|-> name : EString
|-> iD : EString
|-> tReferences : Relation 0..* (Containment false)
|-> columns : Relation 0..* (Containment true)
Column
|-> version : EString
|-> name : EString
|-> iD : EString
|-> cReferences : Relation 0..* (Containment false)

But it don't work. How can I do this?

Thanks for your help
Re: Table->Column design problems [message #202443 is a reply to message #202135] Tue, 19 August 2008 11:44 Go to previous messageGo to next message
Seweryn Niemiec is currently offline Seweryn NiemiecFriend
Messages: 80
Registered: July 2009
Member
Andreas wrote:
> Now I want to extend the model with the following part:
>
> Workspace
> |-> version :EString
> |-> tables : Relation 0..* (Containment true) Table
> |-> version : EString
> |-> name : EString
> |-> iD : EString
> |-> tReferences : Relation 0..* (Containment false)
> |-> columns : Relation 0..* (Containment true)
^^^^^^^
move "columns" relation from Workspace into Table
Re: Table->Column design problems [message #202611 is a reply to message #202443] Wed, 20 August 2008 09:18 Go to previous message
Andreas  is currently offline Andreas Friend
Messages: 29
Registered: July 2009
Junior Member
Thanks for you message,

but this isn't the problem. I just found out that i have to do some stuff
with the comparment figures. but i don't know how to do this. Does anyone
has a good tutorial for the comparment figures?

regards

andreas
Previous Topic:Connection figures
Next Topic:How To remove sub menus from Diagram Menu
Goto Forum:
  


Current Time: Fri Apr 26 23:18:15 GMT 2024

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

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

Back to the top