Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Some sort of filtering in the property sheets
Some sort of filtering in the property sheets [message #188114] Wed, 21 May 2008 09:23
Eclipse UserFriend
Originally posted by: gregory.vanseghbroeck.intec.ugent.be

Hello everybody,

Suppose I have the following model:
- Parent:
- name <String>
- children <Child - opposite:parent>
- Child:
- name <String>
- parent <Parent - opposite:children>
- favorite_sibling <Child>

When setting the favorite_sibling property of a Child node in it's
automatically generated PropertySheet, I can choose between all available
children. But clearly I only want to be able to choose between the
children which have the same parent. What's the best practice to achieve
this functionality in the PropertySheet? Is this something that needs to
be implemented as a custom propertysheet or that needs to be implemented
in the ChildItemProvider?
Some extra functionality will then be: disable the favorite_sibling
property when there is no parent setup yet. How can this be achieved?

Many thanks,
Gregory
Previous Topic:copy/paste doesn't lavish but superficial
Next Topic:Rename model and diagram files programmatically
Goto Forum:
  


Current Time: Wed Apr 24 17:13:48 GMT 2024

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

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

Back to the top