Community
Participate
Working Groups
My model is an EMF one and consists of objects that implement EObject. I've registed an IAdapterFactory for EObject to provide an IActionFilter for them via plugin.xml. I've an Action that is enabled via objectState. However, when an EObject is selected in my view the adapter factory is never consulted, let alone the IActionFilter. I believe it's because org.eclipse.ui.internal.ActionExpression$ObjectStateExpression in its isEnabledFor method never asks the PlatformManager for an adaptable for type IActionFilter on the selected object. Basically if the selected object doesn't implement IAdaptable it doesn't work. Regards, Jack
*** This bug has been marked as a duplicate of 156581 ***