Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » PropertyDescriptors in Shapes Example
PropertyDescriptors in Shapes Example [message #190738] Fri, 05 August 2005 17:48 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:SnaptoGeometry!!!
Next Topic:TextFlow and Text Alignment
Goto Forum:
  


Current Time: Tue Dec 10 15:08:16 GMT 2024

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

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

Back to the top