Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Properties don´t show up in properties view after renaming
Properties don´t show up in properties view after renaming [message #101837] Wed, 07 February 2007 04:11 Go to next message
Eclipse UserFriend
Originally posted by: biju_gopinathan.rediffmail.com

Hi friends,

I am not able to see the properties of the nodes in the property view
in the diagram editor after I renamed my project and packages.

I found a following similar problem in the news group, but is not clear
with the solutions given.

http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg02884.html

Please help me to solve this problem

Thanks in advance Regards biju
Re: Properties don´t show up in properties view after renaming [message #101865 is a reply to message #101837] Wed, 07 February 2007 05:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: christian.daenekas.informatik.uni-oldenburg.de

Hello!

I think my problem back then had something to do with old code fragments
that were not removed as I regenerated the code. I´ve had a lot of
problems with changing EMF models and regenerating code, but I don´t
know the cause. If you don´t have too much handwritten code in your
project I´d say create a new project in another workspace, copy the
models in there and generate the code. After that you can paste in your
modifications and apply them to the model changes. That´s not really a
solution, but it should work.

Greetings,
Christian

biju schrieb:
> Hi friends,
>
> I am not able to see the properties of the nodes in the property
> view in the diagram editor after I renamed my project and packages.
>
> I found a following similar problem in the news group, but is not
> clear with the solutions given.
>
> http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg02884.html
>
> Please help me to solve this problem
>
> Thanks in advance Regards biju
>
Re: Properties don´t show up in properties view after renaming [message #101945 is a reply to message #101865] Wed, 07 February 2007 07:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: biju_gopinathan.rediffmail.com

Hi Friend,

Thanks for your reply,

I did a debug and find out that the
*PropertyProvider#getPropertySource(Object object) is returning null.

Any Idea of what might be wrong..

Thanks again Regards biju
Christian Dänekas wrote:
> Hello!
>
> I think my problem back then had something to do with old code fragments
> that were not removed as I regenerated the code. I´ve had a lot of
> problems with changing EMF models and regenerating code, but I don´t
> know the cause. If you don´t have too much handwritten code in your
> project I´d say create a new project in another workspace, copy the
> models in there and generate the code. After that you can paste in your
> modifications and apply them to the model changes. That´s not really a
> solution, but it should work.
>
> Greetings,
> Christian
>
> biju schrieb:
>> Hi friends,
>>
>> I am not able to see the properties of the nodes in the property
>> view in the diagram editor after I renamed my project and packages.
>>
>> I found a following similar problem in the news group, but is not
>> clear with the solutions given.
>>
>> http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg02884.html
>>
>> Please help me to solve this problem
>>
>> Thanks in advance Regards biju
>>
Re: Properties don´t show up in properties view after renaming [message #102021 is a reply to message #101945] Wed, 07 February 2007 08:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: christian.daenekas.informatik.uni-oldenburg.de

It seem that you use a 1.x version of GMF, since I got no
PropertyProvider classes. I´m not familiar with the problem that might
arise in this context. My only idea is to regenerate the model, edit and
diagram code (before that regenerate the gmfmap from the mapping model).
Sorry but thats all I can think of right now.

biju schrieb:
> Hi Friend,
>
> Thanks for your reply,
>
> I did a debug and find out that the
> *PropertyProvider#getPropertySource(Object object) is returning null.
>
> Any Idea of what might be wrong..
>
> Thanks again Regards biju
> Christian Dänekas wrote:
>> Hello!
>>
>> I think my problem back then had something to do with old code
>> fragments that were not removed as I regenerated the code. I´ve had a
>> lot of problems with changing EMF models and regenerating code, but I
>> don´t know the cause. If you don´t have too much handwritten code in
>> your project I´d say create a new project in another workspace, copy
>> the models in there and generate the code. After that you can paste in
>> your modifications and apply them to the model changes. That´s not
>> really a solution, but it should work.
>>
>> Greetings,
>> Christian
>>
>> biju schrieb:
>>> Hi friends,
>>>
>>> I am not able to see the properties of the nodes in the property
>>> view in the diagram editor after I renamed my project and packages.
>>>
>>> I found a following similar problem in the news group, but is not
>>> clear with the solutions given.
>>>
>>> http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg02884.html
>>>
>>> Please help me to solve this problem
>>>
>>> Thanks in advance Regards biju
>>>
Re: Properties don´t show up in properties view after renaming [message #102175 is a reply to message #102021] Thu, 08 February 2007 01:11 Go to previous message
Eclipse UserFriend
Originally posted by: biju_gopinathan.rediffmail.com

Hi Christian Dänekas,

Thanks for your reply,

finally I did as you said , I replaced teh edit and model code with
fresh ones and its now working.

Is this a bug in GMF ???
Thanks again Regards biju

Christian Dänekas wrote:
> It seem that you use a 1.x version of GMF, since I got no
> PropertyProvider classes. I´m not familiar with the problem that might
> arise in this context. My only idea is to regenerate the model, edit and
> diagram code (before that regenerate the gmfmap from the mapping model).
> Sorry but thats all I can think of right now.
>
> biju schrieb:
>> Hi Friend,
>>
>> Thanks for your reply,
>>
>> I did a debug and find out that the
>> *PropertyProvider#getPropertySource(Object object) is returning null.
>>
>> Any Idea of what might be wrong..
>>
>> Thanks again Regards biju
>> Christian Dänekas wrote:
>>> Hello!
>>>
>>> I think my problem back then had something to do with old code
>>> fragments that were not removed as I regenerated the code. I´ve had a
>>> lot of problems with changing EMF models and regenerating code, but I
>>> don´t know the cause. If you don´t have too much handwritten code in
>>> your project I´d say create a new project in another workspace, copy
>>> the models in there and generate the code. After that you can paste
>>> in your modifications and apply them to the model changes. That´s not
>>> really a solution, but it should work.
>>>
>>> Greetings,
>>> Christian
>>>
>>> biju schrieb:
>>>> Hi friends,
>>>>
>>>> I am not able to see the properties of the nodes in the property
>>>> view in the diagram editor after I renamed my project and packages.
>>>>
>>>> I found a following similar problem in the news group, but is
>>>> not clear with the solutions given.
>>>>
>>>> http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg02884.html
>>>>
>>>>
>>>> Please help me to solve this problem
>>>>
>>>> Thanks in advance Regards biju
>>>>
Previous Topic:Custom command to Generic Tool
Next Topic:Node constraint
Goto Forum:
  


Current Time: Fri May 23 15:22:00 EDT 2025

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

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

Back to the top