Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » : Creating Custom Property cell editor in GMF 2.0
: Creating Custom Property cell editor in GMF 2.0 [message #104117] Thu, 15 February 2007 07:13 Go to next message
Eclipse User
Originally posted by: biju_gopinathan.rediffmail.com

Hi friends,


How can I give a custom property cell editor, for my properties in the
Property Sheet Page in GMF 2.0.

The solution for GMF 1.0 is at the following link, but this does not
apply to GMF 2.0 since it does not use XXXPropertyProvider, does it? Any
idea how to solve the problem in this context?

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

Thanks in Advance Regards biju
Re: : Creating Custom Property cell editor in GMF 2.0 [message #104475 is a reply to message #104117] Fri, 16 February 2007 06:45 Go to previous messageGo to next message
Eclipse User
Originally posted by: biju_gopinathan.rediffmail.com

Hi friends,

I got the solution, that is to override the
diagram.sheet.XXPropertySection#getPropertySource(Object object)
and return your custom property sheet.

Cheers biju

biju wrote:
> Hi friends,
>
>
> How can I give a custom property cell editor, for my properties in
> the Property Sheet Page in GMF 2.0.
>
> The solution for GMF 1.0 is at the following link, but this does not
> apply to GMF 2.0 since it does not use XXXPropertyProvider, does it? Any
> idea how to solve the problem in this context?
>
> http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg04052.html
>
> Thanks in Advance Regards biju
Re: : Creating Custom Property cell editor in GMF 2.0 [message #104490 is a reply to message #104117] Fri, 16 February 2007 06:48 Go to previous messageGo to next message
Eclipse User
Originally posted by: biju_gopinathan.rediffmail.com

Hi friends,

I got the solution, that is to override the
diagram.sheet.XXPropertySection#getPropertySource(Object object)
and return your custom property source, to return custom property
descriptor, which will return custom cell editor.

Cheers biju

biju wrote:
> Hi friends,
>
>
> How can I give a custom property cell editor, for my properties in
> the Property Sheet Page in GMF 2.0.
>
> The solution for GMF 1.0 is at the following link, but this does not
> apply to GMF 2.0 since it does not use XXXPropertyProvider, does it? Any
> idea how to solve the problem in this context?
>
> http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg04052.html
>
> Thanks in Advance Regards biju
Re: : Creating Custom Property cell editor in GMF 2.0 [message #721448 is a reply to message #104490] Thu, 01 September 2011 19:23 Go to previous messageGo to next message
pavithra Missing name is currently offline pavithra Missing name
Messages: 12
Registered: May 2011
Junior Member
Hi biju,
I'm having the same problem. Can you please tell me how did you override getPropertySource(Object object) method?

Thanks in advance.
Re: : Creating Custom Property cell editor in GMF 2.0 [message #721599 is a reply to message #721448] Fri, 02 September 2011 08:55 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael Istria
Messages: 755
Registered: July 2009
Location: Grenoble, France
Senior Member
If you use the default properties sheet, then it is not generated by
GMF, but by EMF.Edit.

Then you can tweak the default EMF property sheet as explained here:
http://wiki.eclipse.org/EMF/Recipes#Recipe:_Create_your_own_property_editor_in_a_generated_application

HTH
--
http://mickaelistria.wordpress.com
http://twitter.com/#!/mickaelistria
http://www.petalslink.com
Re: : Creating Custom Property cell editor in GMF 2.0 [message #731820 is a reply to message #721599] Mon, 03 October 2011 08:24 Go to previous message
vinny503 Missing name is currently offline vinny503 Missing name
Messages: 156
Registered: August 2011
Senior Member
Hi,

Can you please tell me in detail that what are the changes that I have to make to get the custom property cell editor.
Like how to override getPropertySource(Object object) in xxxPropertySection.

Thanks,
Vinay
Previous Topic:GMF Runtime - Creating an editor manually
Next Topic:[SOLVED] How to make properties non editable
Goto Forum:
  


Current Time: Sat Sep 20 12:11:27 GMT 2014

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

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