Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EuGENia] Problem customizing the GMF editor
[EuGENia] Problem customizing the GMF editor [message #532506] Mon, 10 May 2010 10:11 Go to next message
Syed Imran is currently offline Syed ImranFriend
Messages: 25
Registered: October 2009
Location: Ireland
Junior Member
Hi,

I have been following the article "Customizing a GMF editor generated by
EuGENia" and trying to set @gmf.compartment(layout="list".. .

In classdiagram.gmfgraph the ClazzAttributeCompartmentFigure has a child set
to Stack.layout. But seems like it is not working and I still see in GMF
editor the attributes layout not as list as proposed by the article. I am
wondering how to solve this problem so that the attributes values will be
shown as list.



Regards

Syed
Re: [EuGENia] Problem customizing the GMF editor [message #532507 is a reply to message #532506] Mon, 10 May 2010 10:16 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Syed,

Have you by any chance missed the following step?

> Right click the generated .gmfgen model and select
Eugenia->Synchronize GMF gen model

Cheers,
Dimitris

Syed Imran wrote:
> Hi,
>
> I have been following the article "Customizing a GMF editor generated by
> EuGENia" and trying to set @gmf.compartment(layout="list".. .
>
> In classdiagram.gmfgraph the ClazzAttributeCompartmentFigure has a child set
> to Stack.layout. But seems like it is not working and I still see in GMF
> editor the attributes layout not as list as proposed by the article. I am
> wondering how to solve this problem so that the attributes values will be
> shown as list.
>
>
>
> Regards
>
> Syed
>
>


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EuGENia] Problem customizing the GMF editor [message #532522 is a reply to message #532507] Mon, 10 May 2010 10:53 Go to previous messageGo to next message
Syed Imran is currently offline Syed ImranFriend
Messages: 25
Registered: October 2009
Location: Ireland
Junior Member
Hi Dimitris,



Yes exactly you are right, I had not Synchronize GMF gen model.



But now another problem, whenever I tried to synchronize the GMF gen model,
I get an error message "Method 'getAnnotationValue' not found".



Any idea, I am using almost the same .emf model as given in article except I
have added (foo='bar') in @gmf.diagram annotation. Regards Syed Imran
"Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
news:hs8mf1$h8i$1@build.eclipse.org...
> Hi Syed,
>
> Have you by any chance missed the following step?
>
> > Right click the generated .gmfgen model and select
> Eugenia->Synchronize GMF gen model
>
> Cheers,
> Dimitris
>
> Syed Imran wrote:
>> Hi,
>>
>> I have been following the article "Customizing a GMF editor generated by
>> EuGENia" and trying to set @gmf.compartment(layout="list".. .
>>
>> In classdiagram.gmfgraph the ClazzAttributeCompartmentFigure has a child
>> set to Stack.layout. But seems like it is not working and I still see in
>> GMF editor the attributes layout not as list as proposed by the article.
>> I am wondering how to solve this problem so that the attributes values
>> will be shown as list.
>>
>>
>>
>> Regards
>>
>> Syed
>>
>>
>
>
> --
> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
> Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EuGENia] Problem customizing the GMF editor [message #532523 is a reply to message #532522] Mon, 10 May 2010 11:04 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Syed,

I can't seem to be able to reproduce this. Could you please zip you
project and send it to me at dskolovos gmail com?

Cheers,
Dimitris

Syed Imran wrote:
> Hi Dimitris,
>
>
>
> Yes exactly you are right, I had not Synchronize GMF gen model.
>
>
>
> But now another problem, whenever I tried to synchronize the GMF gen model,
> I get an error message "Method 'getAnnotationValue' not found".
>
>
>
> Any idea, I am using almost the same .emf model as given in article except I
> have added (foo='bar') in @gmf.diagram annotation. Regards Syed Imran
> "Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
> news:hs8mf1$h8i$1@build.eclipse.org...
>> Hi Syed,
>>
>> Have you by any chance missed the following step?
>>
>>> Right click the generated .gmfgen model and select
>> Eugenia->Synchronize GMF gen model
>>
>> Cheers,
>> Dimitris
>>
>> Syed Imran wrote:
>>> Hi,
>>>
>>> I have been following the article "Customizing a GMF editor generated by
>>> EuGENia" and trying to set @gmf.compartment(layout="list".. .
>>>
>>> In classdiagram.gmfgraph the ClazzAttributeCompartmentFigure has a child
>>> set to Stack.layout. But seems like it is not working and I still see in
>>> GMF editor the attributes layout not as list as proposed by the article.
>>> I am wondering how to solve this problem so that the attributes values
>>> will be shown as list.
>>>
>>>
>>>
>>> Regards
>>>
>>> Syed
>>>
>>>
>>
>> --
>> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
>> Follow Epsilon on Twitter: http://twitter.com/epsilonews
>
>


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EuGENia] Problem customizing the GMF editor [message #532524 is a reply to message #532523] Mon, 10 May 2010 11:07 Go to previous messageGo to next message
Syed Imran is currently offline Syed ImranFriend
Messages: 25
Registered: October 2009
Location: Ireland
Junior Member
Sure, I do so.

Syed.

"Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
news:hs8p98$nik$1@build.eclipse.org...
> Hi Syed,
>
> I can't seem to be able to reproduce this. Could you please zip you
> project and send it to me at dskolovos gmail com?
>
> Cheers,
> Dimitris
>
> Syed Imran wrote:
>> Hi Dimitris,
>>
>>
>>
>> Yes exactly you are right, I had not Synchronize GMF gen model.
>>
>>
>>
>> But now another problem, whenever I tried to synchronize the GMF gen
>> model, I get an error message "Method 'getAnnotationValue' not found".
>>
>>
>>
>> Any idea, I am using almost the same .emf model as given in article
>> except I have added (foo='bar') in @gmf.diagram annotation. Regards Syed
>> Imran
>> "Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
>> news:hs8mf1$h8i$1@build.eclipse.org...
>>> Hi Syed,
>>>
>>> Have you by any chance missed the following step?
>>>
>>>> Right click the generated .gmfgen model and select
>>> Eugenia->Synchronize GMF gen model
>>>
>>> Cheers,
>>> Dimitris
>>>
>>> Syed Imran wrote:
>>>> Hi,
>>>>
>>>> I have been following the article "Customizing a GMF editor generated
>>>> by EuGENia" and trying to set @gmf.compartment(layout="list".. .
>>>>
>>>> In classdiagram.gmfgraph the ClazzAttributeCompartmentFigure has a
>>>> child set to Stack.layout. But seems like it is not working and I still
>>>> see in GMF editor the attributes layout not as list as proposed by the
>>>> article. I am wondering how to solve this problem so that the
>>>> attributes values will be shown as list.
>>>>
>>>>
>>>>
>>>> Regards
>>>>
>>>> Syed
>>>>
>>>>
>>>
>>> --
>>> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
>>> Follow Epsilon on Twitter: http://twitter.com/epsilonews
>>
>>
>
>
> --
> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
> Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EuGENia] Problem customizing the GMF editor [message #532529 is a reply to message #532524] Mon, 10 May 2010 11:47 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Syed,

The column (:) separates the name and the type of the attribute (e.g.
name : String). To add a 2nd attribute you need to use the Attribute
creation tool in the palette.

Cheers,
Dimitris

Syed Imran wrote:
> Sure, I do so.
>
> Syed.
>
> "Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
> news:hs8p98$nik$1@build.eclipse.org...
>> Hi Syed,
>>
>> I can't seem to be able to reproduce this. Could you please zip you
>> project and send it to me at dskolovos gmail com?
>>
>> Cheers,
>> Dimitris
>>
>> Syed Imran wrote:
>>> Hi Dimitris,
>>>
>>>
>>>
>>> Yes exactly you are right, I had not Synchronize GMF gen model.
>>>
>>>
>>>
>>> But now another problem, whenever I tried to synchronize the GMF gen
>>> model, I get an error message "Method 'getAnnotationValue' not found".
>>>
>>>
>>>
>>> Any idea, I am using almost the same .emf model as given in article
>>> except I have added (foo='bar') in @gmf.diagram annotation. Regards Syed
>>> Imran
>>> "Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
>>> news:hs8mf1$h8i$1@build.eclipse.org...
>>>> Hi Syed,
>>>>
>>>> Have you by any chance missed the following step?
>>>>
>>>>> Right click the generated .gmfgen model and select
>>>> Eugenia->Synchronize GMF gen model
>>>>
>>>> Cheers,
>>>> Dimitris
>>>>
>>>> Syed Imran wrote:
>>>>> Hi,
>>>>>
>>>>> I have been following the article "Customizing a GMF editor generated
>>>>> by EuGENia" and trying to set @gmf.compartment(layout="list".. .
>>>>>
>>>>> In classdiagram.gmfgraph the ClazzAttributeCompartmentFigure has a
>>>>> child set to Stack.layout. But seems like it is not working and I still
>>>>> see in GMF editor the attributes layout not as list as proposed by the
>>>>> article. I am wondering how to solve this problem so that the
>>>>> attributes values will be shown as list.
>>>>>
>>>>>
>>>>>
>>>>> Regards
>>>>>
>>>>> Syed
>>>>>
>>>>>
>>>> --
>>>> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
>>>> Follow Epsilon on Twitter: http://twitter.com/epsilonews
>>>
>>
>> --
>> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
>> Follow Epsilon on Twitter: http://twitter.com/epsilonews
>
>


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EuGENia] Problem customizing the GMF editor [message #532542 is a reply to message #532529] Mon, 10 May 2010 12:30 Go to previous message
Syed Imran is currently offline Syed ImranFriend
Messages: 25
Registered: October 2009
Location: Ireland
Junior Member
Yes, Dimitris

you are absolutly right. I realize it now.

kind regards,
Syed Imran



"Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
news:hs8rpi$7te$1@build.eclipse.org...
> Hi Syed,
>
> The column (:) separates the name and the type of the attribute (e.g. name
> : String). To add a 2nd attribute you need to use the Attribute creation
> tool in the palette.
>
> Cheers,
> Dimitris
>
> Syed Imran wrote:
>> Sure, I do so.
>>
>> Syed.
>>
>> "Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
>> news:hs8p98$nik$1@build.eclipse.org...
>>> Hi Syed,
>>>
>>> I can't seem to be able to reproduce this. Could you please zip you
>>> project and send it to me at dskolovos gmail com?
>>>
>>> Cheers,
>>> Dimitris
>>>
>>> Syed Imran wrote:
>>>> Hi Dimitris,
>>>>
>>>>
>>>>
>>>> Yes exactly you are right, I had not Synchronize GMF gen model.
>>>>
>>>>
>>>>
>>>> But now another problem, whenever I tried to synchronize the GMF gen
>>>> model, I get an error message "Method 'getAnnotationValue' not found".
>>>>
>>>>
>>>>
>>>> Any idea, I am using almost the same .emf model as given in article
>>>> except I have added (foo='bar') in @gmf.diagram annotation. Regards
>>>> Syed Imran
>>>> "Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
>>>> news:hs8mf1$h8i$1@build.eclipse.org...
>>>>> Hi Syed,
>>>>>
>>>>> Have you by any chance missed the following step?
>>>>>
>>>>>> Right click the generated .gmfgen model and select
>>>>> Eugenia->Synchronize GMF gen model
>>>>>
>>>>> Cheers,
>>>>> Dimitris
>>>>>
>>>>> Syed Imran wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I have been following the article "Customizing a GMF editor generated
>>>>>> by EuGENia" and trying to set @gmf.compartment(layout="list".. .
>>>>>>
>>>>>> In classdiagram.gmfgraph the ClazzAttributeCompartmentFigure has a
>>>>>> child set to Stack.layout. But seems like it is not working and I
>>>>>> still see in GMF editor the attributes layout not as list as proposed
>>>>>> by the article. I am wondering how to solve this problem so that the
>>>>>> attributes values will be shown as list.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Syed
>>>>>>
>>>>>>
>>>>> --
>>>>> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
>>>>> Follow Epsilon on Twitter: http://twitter.com/epsilonews
>>>>
>>>
>>> --
>>> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
>>> Follow Epsilon on Twitter: http://twitter.com/epsilonews
>>
>>
>
>
> --
> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
> Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EuGENia] Problem customizing the GMF editor [message #589032 is a reply to message #532506] Mon, 10 May 2010 10:16 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Syed,

Have you by any chance missed the following step?

> Right click the generated .gmfgen model and select
Eugenia->Synchronize GMF gen model

Cheers,
Dimitris

Syed Imran wrote:
> Hi,
>
> I have been following the article "Customizing a GMF editor generated by
> EuGENia" and trying to set @gmf.compartment(layout="list".. .
>
> In classdiagram.gmfgraph the ClazzAttributeCompartmentFigure has a child set
> to Stack.layout. But seems like it is not working and I still see in GMF
> editor the attributes layout not as list as proposed by the article. I am
> wondering how to solve this problem so that the attributes values will be
> shown as list.
>
>
>
> Regards
>
> Syed
>
>


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EuGENia] Problem customizing the GMF editor [message #589042 is a reply to message #532507] Mon, 10 May 2010 10:53 Go to previous message
Syed Imran is currently offline Syed ImranFriend
Messages: 25
Registered: October 2009
Location: Ireland
Junior Member
Hi Dimitris,



Yes exactly you are right, I had not Synchronize GMF gen model.



But now another problem, whenever I tried to synchronize the GMF gen model,
I get an error message "Method 'getAnnotationValue' not found".



Any idea, I am using almost the same .emf model as given in article except I
have added (foo='bar') in @gmf.diagram annotation. Regards Syed Imran
"Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
news:hs8mf1$h8i$1@build.eclipse.org...
> Hi Syed,
>
> Have you by any chance missed the following step?
>
> > Right click the generated .gmfgen model and select
> Eugenia->Synchronize GMF gen model
>
> Cheers,
> Dimitris
>
> Syed Imran wrote:
>> Hi,
>>
>> I have been following the article "Customizing a GMF editor generated by
>> EuGENia" and trying to set @gmf.compartment(layout="list".. .
>>
>> In classdiagram.gmfgraph the ClazzAttributeCompartmentFigure has a child
>> set to Stack.layout. But seems like it is not working and I still see in
>> GMF editor the attributes layout not as list as proposed by the article.
>> I am wondering how to solve this problem so that the attributes values
>> will be shown as list.
>>
>>
>>
>> Regards
>>
>> Syed
>>
>>
>
>
> --
> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
> Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EuGENia] Problem customizing the GMF editor [message #589047 is a reply to message #532522] Mon, 10 May 2010 11:04 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Syed,

I can't seem to be able to reproduce this. Could you please zip you
project and send it to me at dskolovos gmail com?

Cheers,
Dimitris

Syed Imran wrote:
> Hi Dimitris,
>
>
>
> Yes exactly you are right, I had not Synchronize GMF gen model.
>
>
>
> But now another problem, whenever I tried to synchronize the GMF gen model,
> I get an error message "Method 'getAnnotationValue' not found".
>
>
>
> Any idea, I am using almost the same .emf model as given in article except I
> have added (foo='bar') in @gmf.diagram annotation. Regards Syed Imran
> "Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
> news:hs8mf1$h8i$1@build.eclipse.org...
>> Hi Syed,
>>
>> Have you by any chance missed the following step?
>>
>>> Right click the generated .gmfgen model and select
>> Eugenia->Synchronize GMF gen model
>>
>> Cheers,
>> Dimitris
>>
>> Syed Imran wrote:
>>> Hi,
>>>
>>> I have been following the article "Customizing a GMF editor generated by
>>> EuGENia" and trying to set @gmf.compartment(layout="list".. .
>>>
>>> In classdiagram.gmfgraph the ClazzAttributeCompartmentFigure has a child
>>> set to Stack.layout. But seems like it is not working and I still see in
>>> GMF editor the attributes layout not as list as proposed by the article.
>>> I am wondering how to solve this problem so that the attributes values
>>> will be shown as list.
>>>
>>>
>>>
>>> Regards
>>>
>>> Syed
>>>
>>>
>>
>> --
>> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
>> Follow Epsilon on Twitter: http://twitter.com/epsilonews
>
>


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EuGENia] Problem customizing the GMF editor [message #589056 is a reply to message #532523] Mon, 10 May 2010 11:07 Go to previous message
Syed Imran is currently offline Syed ImranFriend
Messages: 25
Registered: October 2009
Location: Ireland
Junior Member
Sure, I do so.

Syed.

"Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
news:hs8p98$nik$1@build.eclipse.org...
> Hi Syed,
>
> I can't seem to be able to reproduce this. Could you please zip you
> project and send it to me at dskolovos gmail com?
>
> Cheers,
> Dimitris
>
> Syed Imran wrote:
>> Hi Dimitris,
>>
>>
>>
>> Yes exactly you are right, I had not Synchronize GMF gen model.
>>
>>
>>
>> But now another problem, whenever I tried to synchronize the GMF gen
>> model, I get an error message "Method 'getAnnotationValue' not found".
>>
>>
>>
>> Any idea, I am using almost the same .emf model as given in article
>> except I have added (foo='bar') in @gmf.diagram annotation. Regards Syed
>> Imran
>> "Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
>> news:hs8mf1$h8i$1@build.eclipse.org...
>>> Hi Syed,
>>>
>>> Have you by any chance missed the following step?
>>>
>>>> Right click the generated .gmfgen model and select
>>> Eugenia->Synchronize GMF gen model
>>>
>>> Cheers,
>>> Dimitris
>>>
>>> Syed Imran wrote:
>>>> Hi,
>>>>
>>>> I have been following the article "Customizing a GMF editor generated
>>>> by EuGENia" and trying to set @gmf.compartment(layout="list".. .
>>>>
>>>> In classdiagram.gmfgraph the ClazzAttributeCompartmentFigure has a
>>>> child set to Stack.layout. But seems like it is not working and I still
>>>> see in GMF editor the attributes layout not as list as proposed by the
>>>> article. I am wondering how to solve this problem so that the
>>>> attributes values will be shown as list.
>>>>
>>>>
>>>>
>>>> Regards
>>>>
>>>> Syed
>>>>
>>>>
>>>
>>> --
>>> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
>>> Follow Epsilon on Twitter: http://twitter.com/epsilonews
>>
>>
>
>
> --
> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
> Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EuGENia] Problem customizing the GMF editor [message #589063 is a reply to message #532524] Mon, 10 May 2010 11:47 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Syed,

The column (:) separates the name and the type of the attribute (e.g.
name : String). To add a 2nd attribute you need to use the Attribute
creation tool in the palette.

Cheers,
Dimitris

Syed Imran wrote:
> Sure, I do so.
>
> Syed.
>
> "Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
> news:hs8p98$nik$1@build.eclipse.org...
>> Hi Syed,
>>
>> I can't seem to be able to reproduce this. Could you please zip you
>> project and send it to me at dskolovos gmail com?
>>
>> Cheers,
>> Dimitris
>>
>> Syed Imran wrote:
>>> Hi Dimitris,
>>>
>>>
>>>
>>> Yes exactly you are right, I had not Synchronize GMF gen model.
>>>
>>>
>>>
>>> But now another problem, whenever I tried to synchronize the GMF gen
>>> model, I get an error message "Method 'getAnnotationValue' not found".
>>>
>>>
>>>
>>> Any idea, I am using almost the same .emf model as given in article
>>> except I have added (foo='bar') in @gmf.diagram annotation. Regards Syed
>>> Imran
>>> "Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
>>> news:hs8mf1$h8i$1@build.eclipse.org...
>>>> Hi Syed,
>>>>
>>>> Have you by any chance missed the following step?
>>>>
>>>>> Right click the generated .gmfgen model and select
>>>> Eugenia->Synchronize GMF gen model
>>>>
>>>> Cheers,
>>>> Dimitris
>>>>
>>>> Syed Imran wrote:
>>>>> Hi,
>>>>>
>>>>> I have been following the article "Customizing a GMF editor generated
>>>>> by EuGENia" and trying to set @gmf.compartment(layout="list".. .
>>>>>
>>>>> In classdiagram.gmfgraph the ClazzAttributeCompartmentFigure has a
>>>>> child set to Stack.layout. But seems like it is not working and I still
>>>>> see in GMF editor the attributes layout not as list as proposed by the
>>>>> article. I am wondering how to solve this problem so that the
>>>>> attributes values will be shown as list.
>>>>>
>>>>>
>>>>>
>>>>> Regards
>>>>>
>>>>> Syed
>>>>>
>>>>>
>>>> --
>>>> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
>>>> Follow Epsilon on Twitter: http://twitter.com/epsilonews
>>>
>>
>> --
>> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
>> Follow Epsilon on Twitter: http://twitter.com/epsilonews
>
>


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EuGENia] Problem customizing the GMF editor [message #589071 is a reply to message #532529] Mon, 10 May 2010 12:30 Go to previous message
Syed Imran is currently offline Syed ImranFriend
Messages: 25
Registered: October 2009
Location: Ireland
Junior Member
Yes, Dimitris

you are absolutly right. I realize it now.

kind regards,
Syed Imran



"Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
news:hs8rpi$7te$1@build.eclipse.org...
> Hi Syed,
>
> The column (:) separates the name and the type of the attribute (e.g. name
> : String). To add a 2nd attribute you need to use the Attribute creation
> tool in the palette.
>
> Cheers,
> Dimitris
>
> Syed Imran wrote:
>> Sure, I do so.
>>
>> Syed.
>>
>> "Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
>> news:hs8p98$nik$1@build.eclipse.org...
>>> Hi Syed,
>>>
>>> I can't seem to be able to reproduce this. Could you please zip you
>>> project and send it to me at dskolovos gmail com?
>>>
>>> Cheers,
>>> Dimitris
>>>
>>> Syed Imran wrote:
>>>> Hi Dimitris,
>>>>
>>>>
>>>>
>>>> Yes exactly you are right, I had not Synchronize GMF gen model.
>>>>
>>>>
>>>>
>>>> But now another problem, whenever I tried to synchronize the GMF gen
>>>> model, I get an error message "Method 'getAnnotationValue' not found".
>>>>
>>>>
>>>>
>>>> Any idea, I am using almost the same .emf model as given in article
>>>> except I have added (foo='bar') in @gmf.diagram annotation. Regards
>>>> Syed Imran
>>>> "Dimitris Kolovos" <dskolovos@gmail.com> wrote in message
>>>> news:hs8mf1$h8i$1@build.eclipse.org...
>>>>> Hi Syed,
>>>>>
>>>>> Have you by any chance missed the following step?
>>>>>
>>>>>> Right click the generated .gmfgen model and select
>>>>> Eugenia->Synchronize GMF gen model
>>>>>
>>>>> Cheers,
>>>>> Dimitris
>>>>>
>>>>> Syed Imran wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I have been following the article "Customizing a GMF editor generated
>>>>>> by EuGENia" and trying to set @gmf.compartment(layout="list".. .
>>>>>>
>>>>>> In classdiagram.gmfgraph the ClazzAttributeCompartmentFigure has a
>>>>>> child set to Stack.layout. But seems like it is not working and I
>>>>>> still see in GMF editor the attributes layout not as list as proposed
>>>>>> by the article. I am wondering how to solve this problem so that the
>>>>>> attributes values will be shown as list.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Syed
>>>>>>
>>>>>>
>>>>> --
>>>>> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
>>>>> Follow Epsilon on Twitter: http://twitter.com/epsilonews
>>>>
>>>
>>> --
>>> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
>>> Follow Epsilon on Twitter: http://twitter.com/epsilonews
>>
>>
>
>
> --
> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
> Follow Epsilon on Twitter: http://twitter.com/epsilonews
Previous Topic:[EuGENia] Problem customizing the GMF editor
Next Topic:[EuGENia] Defining the list of Attributes with static key and variable value.
Goto Forum:
  


Current Time: Tue Dec 23 01:50:29 GMT 2014

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

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