Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to write Feature Value spec body in java if it is supported
How to write Feature Value spec body in java if it is supported [message #47633] Thu, 14 September 2006 04:29 Go to next message
Junyan is currently offline JunyanFriend
Messages: 10
Registered: July 2009
Junior Member
Hi,

Dose anyone know how to write the body of the "Feature Value spec" in java
if it is supported? If not, where should I go to add my own code inialize?
Or is there any more detailed document about it? Thanks for advance.

best regards
Junyan
Re: How to write Feature Value spec body in java if it is supported [message #47794 is a reply to message #47633] Thu, 14 September 2006 09:08 Go to previous messageGo to next message
Radomil Dvorak is currently offline Radomil DvorakFriend
Messages: 249
Registered: July 2009
Senior Member
Hi Junyan,

In case of 'java' language, the body does not define a java implementation,
but expects an identifier, which will be used
to derive the real name of corresponding java skeleton method in the
generated code. The custom java implementation is
to be provided by the user in the generated skeleton.

FYI, we will add support for pure Java initializer of domain elements soon,
in order to eliminate the per-feature partitioning
of the initialization logic for Java. This should help in simplification of
writing a complex init code.

Regards,
/Radek


"Junyan" <alexmajy@gmail.com> wrote in message
news:ff353b398c9d4943dec6a76579a598bb$1@www.eclipse.org...
> Hi,
>
> Dose anyone know how to write the body of the "Feature Value spec" in java
> if it is supported? If not, where should I go to add my own code inialize?
> Or is there any more detailed document about it? Thanks for advance.
>
> best regards
> Junyan
>
Re: How to write Feature Value spec body in java if it is supported [message #48126 is a reply to message #47794] Thu, 14 September 2006 15:10 Go to previous message
Junyan is currently offline JunyanFriend
Messages: 10
Registered: July 2009
Junior Member
Radek Dvorak wrote:
> Hi Junyan,
>
> In case of 'java' language, the body does not define a java implementation,
> but expects an identifier, which will be used
> to derive the real name of corresponding java skeleton method in the
> generated code. The custom java implementation is
> to be provided by the user in the generated skeleton.
>
> FYI, we will add support for pure Java initializer of domain elements soon,
> in order to eliminate the per-feature partitioning
> of the initialization logic for Java. This should help in simplification of
> writing a complex init code.
>
> Regards,
> /Radek
>
>
> "Junyan" <alexmajy@gmail.com> wrote in message
> news:ff353b398c9d4943dec6a76579a598bb$1@www.eclipse.org...
>> Hi,
>>
>> Dose anyone know how to write the body of the "Feature Value spec" in java
>> if it is supported? If not, where should I go to add my own code inialize?
>> Or is there any more detailed document about it? Thanks for advance.
>>
>> best regards
>> Junyan
>>
>
>

Thank you Radek
Previous Topic:can domain model updates drive graphical definition model updates?
Next Topic:Layout for Canvas
Goto Forum:
  


Current Time: Sun Dec 22 06:30:20 GMT 2024

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

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

Back to the top