Skip to main content



      Home
Home » Eclipse Projects » GEF » PropertySource
PropertySource [message #169013] Mon, 21 February 2005 04:50 Go to next message
Eclipse UserFriend
Originally posted by: seb01016.fh-hagenber.at

Hello!

I use EMF and GEF in combination to create my own editor. I have added
serveral Property Sources that implement IPropertySource. So I can see the
properties in the default property view. If I use code generation
mechanism of EMF it generates classes (some Adapters in EMF.Edit) which
create entries in the property sheet too. I am interested in the editor
for collections. It offers a property entry, that has a button, which
opens a dialog, where the property values can be edited.

So my question is, how can i create such a PropertyDescriptor. It sould
allow a simple string, which sould not be editable and on the right hand
side a button, where I am able to open a dialog where I can edit the value
of the property.

Hopefully you can understand what I want to achieve.

thx in advance

Hannes
Re: PropertySource [message #169029 is a reply to message #169013] Mon, 21 February 2005 08:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: seb01016.fh-hag.at

Hi!

I have already found the solution. (Used my own PropertyDescriptor, that
uses a DialogCellEditor)

thx

Schoenboeck wrote:

> Hello!

> I use EMF and GEF in combination to create my own editor. I have added
> serveral Property Sources that implement IPropertySource. So I can see the
> properties in the default property view. If I use code generation
> mechanism of EMF it generates classes (some Adapters in EMF.Edit) which
> create entries in the property sheet too. I am interested in the editor
> for collections. It offers a property entry, that has a button, which
> opens a dialog, where the property values can be edited.

> So my question is, how can i create such a PropertyDescriptor. It sould
> allow a simple string, which sould not be editable and on the right hand
> side a button, where I am able to open a dialog where I can edit the value
> of the property.

> Hopefully you can understand what I want to achieve.

> thx in advance

> Hannes
Re: PropertySource [message #169093 is a reply to message #169029] Mon, 21 February 2005 11:03 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Can't you just reused EMF.Edit's celleditor?

"Schoenboeck" <seb01016@fh-hag.at> escreveu na mensagem
news:cvcndi$jls$1@www.eclipse.org...
> Hi!
>
> I have already found the solution. (Used my own PropertyDescriptor, that
> uses a DialogCellEditor)
>
> thx
>
> Schoenboeck wrote:
>
>> Hello!
>
>> I use EMF and GEF in combination to create my own editor. I have added
>> serveral Property Sources that implement IPropertySource. So I can see
>> the properties in the default property view. If I use code generation
>> mechanism of EMF it generates classes (some Adapters in EMF.Edit) which
>> create entries in the property sheet too. I am interested in the editor
>> for collections. It offers a property entry, that has a button, which
>> opens a dialog, where the property values can be edited.
>
>> So my question is, how can i create such a PropertyDescriptor. It sould
>> allow a simple string, which sould not be editable and on the right hand
>> side a button, where I am able to open a dialog where I can edit the
>> value of the property.
>
>> Hopefully you can understand what I want to achieve.
>
>> thx in advance
>
>> Hannes
>
>
Previous Topic:MVC or PAC
Next Topic:custom UpdateManager in Layer
Goto Forum:
  


Current Time: Sun Jun 15 21:16:16 EDT 2025

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

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

Back to the top