|extending actionfilters for existing resources [message #194190]
||Fri, 13 February 2004 18:17
Registered: July 2009
Up to the current 3.0 build, I am not aware of a mechanism to allow the|
IActionFilter testAttribute to be extended for already defined types
(IProject, for example, already has an WorkbenchProject adapter registered
which allows one to define enablement through a projects nature and its open
However, I realized that I could not conditionally enable an action for a
"simple" project, because it contains no natures. Checking the nature ID
with an equivalent value doesn't work for this case.
Is there a way to further adapt the resource object in question with an
already registered adapter for the type IActionFilter.class?
And also, what prevents N number of adapterfactories to be registered based
on the same types? Does this introduce buggy behavior?
Any thought would be great!
Powered by FUDForum
. Page generated in 0.06806 seconds