PropertyDescriptors in Shapes Example [message #190738] |
Fri, 05 August 2005 17:48 |
Eclipse User |
|
|
|
Originally posted by: aroberts.optimistictech.com
I'm working my way through the Shapes example right now, and I can't
figure out why the models implement IPropertySource. I've never worked
with properties in Eclipse before, but it seems like Shapes sets up
Property descriptors for use in a property sheet, but I can't find
anywhere to actually view the property sheet.
Are these property descriptors used for some other purpose, or is the
Property Sheet just buried somewhere? If anyone could help me make
sense of this, I'd appreciate it.
Andrew
|
|
|
Re: PropertyDescriptors in Shapes Example [message #190770 is a reply to message #190738] |
Fri, 05 August 2005 19:03 |
Eclipse User |
|
|
|
Originally posted by: zx.us.ibm.com
Andrew Roberts wrote:
> I'm working my way through the Shapes example right now, and I can't
> figure out why the models implement IPropertySource. I've never worked
> with properties in Eclipse before, but it seems like Shapes sets up
> Property descriptors for use in a property sheet, but I can't find
> anywhere to actually view the property sheet.
>
> Are these property descriptors used for some other purpose, or is the
> Property Sheet just buried somewhere? If anyone could help me make
> sense of this, I'd appreciate it.
>
> Andrew
It's used by the Eclipse properties view, EditPart checks your model to
see if it implements IPropertySource and if it does it adapts properly
to IPropertySource.class
Cheers,
~ Chris
|
|
|
Re: PropertyDescriptors in Shapes Example [message #191049 is a reply to message #190738] |
Mon, 08 August 2005 16:47 |
Eclipse User |
|
|
|
Originally posted by: pbeagan.yahoo_nospam_.com
Yes, it's for the property sheet. It does not come up by default when
running the example. Window > Show View > Properties
Andrew Roberts wrote:
> I'm working my way through the Shapes example right now, and I can't
> figure out why the models implement IPropertySource. I've never worked
> with properties in Eclipse before, but it seems like Shapes sets up
> Property descriptors for use in a property sheet, but I can't find
> anywhere to actually view the property sheet.
>
> Are these property descriptors used for some other purpose, or is the
> Property Sheet just buried somewhere? If anyone could help me make
> sense of this, I'd appreciate it.
>
> Andrew
|
|
|
Powered by
FUDForum. Page generated in 0.06446 seconds