|Re: [EEF] Suppress/filter properties in runtime [message #1405527 is a reply to message #1405351]
||Thu, 07 August 2014 14:54
| Al B
Registered: June 2012
I failed to mention that I tried to remove both the view and the component of those properties in the .components model generated by EEF, but that's an all or nothing decision for that type of object so that is not a solution.|
I also specialized the LinkItemProvider.getPropertyDescriptors such that whether or not it returns those properties and it works perfect with the traditional Eclipse properties view, but EEF ignores that. It's too bad since EEF should use the semantic rules defined in the EMF Edit providers at runtime for what to show and what to hide.
The "addBusinessFilterToXYZ" method doesn't seem to be a solution either because it doesn't hide the property, it only filters what the user has to select from a list of object as the value of that property. Besides the fact that my lowerBound and upperBound properties are Text fields so "addBusinessFilterToXYZ" methods are not generated.
Thanks in advance for any help or comments.
[Updated on: Thu, 07 August 2014 14:55]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03005 seconds