Some sort of filtering in the property sheets [message #188114] |
Wed, 21 May 2008 09:23 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02983 seconds