Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Displaying a subset of reachable objects for property in property sheet(EMF Editor Property Sheet Property Selection)
Displaying a subset of reachable objects for property in property sheet [message #521112] Tue, 16 March 2010 13:50 Go to next message
Christoph Miksovic is currently offline Christoph MiksovicFriend
Messages: 12
Registered: March 2010
Junior Member
Using the emf editor, I have an emf instance tree with a property sheet. For a certain emf type, I have properties in the properties sheet. One of these properties is a list of other emf types.
By default the property sheet "tries" to display all reachable objects of this type. Now I want to display just a subset of all reachable types. I thought I may be able to the filterFlags upon calling "createItemPropertyDescriptor", but I am not rally sure if this is the right way. (Moreover, i don't find any docu an allowed values for filterFlags.)
Can u give me a hint towards the right direction?
Thank you very much for any help!
Cheers,
Christoph
Re: Displaying a subset of reachable objects for property in property sheet [message #521117 is a reply to message #521112] Tue, 16 March 2010 09:06 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Christoph,

Have a look at how EReferenceItemProvider.addEOppositePropertyDescriptor
specializes getChoiceOfValues.


Christoph Miksovic wrote:
> Using the emf editor, I have an emf instance tree with a property
> sheet. For a certain emf type, I have properties in the properties
> sheet. One of these properties is a list of other emf types. By
> default the property sheet "tries" to display all reachable objects of
> this type. Now I want to display just a subset of all reachable types.
> I thought I may be able to the filterFlags upon calling
> "createItemPropertyDescriptor", but I am not rally sure if this is the
> right way. (Moreover, i don't find any docu an allowed values for
> filterFlags.)
> Can u give me a hint towards the right direction? Thank you very much
> for any help!
> Cheers,
> Christoph


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Displaying a subset of reachable objects for property in property sheet [message #521125 is a reply to message #521112] Tue, 16 March 2010 14:20 Go to previous message
Christoph Miksovic is currently offline Christoph MiksovicFriend
Messages: 12
Registered: March 2010
Junior Member
Hi Ed, Thank you for the hint!
Previous Topic:[EMF Transaction] Beginner's question
Next Topic:[EMF Compare] Attribute Change Left Target problem
Goto Forum:
  


Current Time: Thu Apr 25 06:33:19 GMT 2024

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

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

Back to the top