sepcialization type [message #172838] |
Mon, 18 February 2008 16:48 |
Eclipse User |
|
|
|
Originally posted by: ali.akar.geensys.com
hello,
the generated code is not able to create the view of my specialization
type, I have an Execution Exeption (). the specialization element has
the same edit behaviour of his element type.
any idea on what i'm missing or any tutorial about specialization type ?
another question, I want to change the display name of my element type,
so I change it in the .genmodel, but the ecore name still appear ??
thx in advance,
Ali
|
|
|
Re: sepcialization type [message #172883 is a reply to message #172838] |
Tue, 19 February 2008 07:55 |
Eclipse User |
|
|
|
Originally posted by: jan.herriger.gmx.de
Hello Ali,
> the generated code is not able to create the view of my specialization
> type, I have an Execution Exeption (). the specialization element has
> the same edit behaviour of his element type.
>
>
> any idea on what i'm missing or any tutorial about specialization type ?
Sounds like you should add a constraint (basically it's a
domainSpecialization) inside the node mapping of your super type:
oclIsTypeOf(MyType)
> another question, I want to change the display name of my element type,
> so I change it in the .genmodel, but the ecore name still appear ??
There are names defined inside the xxx.edit plug-in (plugin.properties).
In addition, there are some strings inside plugin.properties and
message.properties of xxx.diagram plug-in. These strings do not change
after regeneration.
Regards
Jan
|
|
|
Re: sepcialization type [message #172893 is a reply to message #172883] |
Tue, 19 February 2008 09:10 |
Eclipse User |
|
|
|
Originally posted by: ali.akar.geensys.com
thx Yan,
yes the problem was in the visual registry, the constraint was not well
evaluated.
I will see for the names.
Regards,
Ali
Jan Herriger a écrit :
> Hello Ali,
>
>> the generated code is not able to create the view of my specialization
>> type, I have an Execution Exeption (). the specialization element has
>> the same edit behaviour of his element type.
>>
>>
>> any idea on what i'm missing or any tutorial about specialization type ?
>
> Sounds like you should add a constraint (basically it's a
> domainSpecialization) inside the node mapping of your super type:
> oclIsTypeOf(MyType)
>
>> another question, I want to change the display name of my element
>> type, so I change it in the .genmodel, but the ecore name still appear ??
>
> There are names defined inside the xxx.edit plug-in (plugin.properties).
> In addition, there are some strings inside plugin.properties and
> message.properties of xxx.diagram plug-in. These strings do not change
> after regeneration.
>
> Regards
> Jan
|
|
|
Powered by
FUDForum. Page generated in 0.03232 seconds