Community
Participate
Working Groups
Build Identifier: 20110916-0149 The AdaptExpression#evaluate method only checks if there is an adapter provided by the AdapterFactory. An object implementing the IAdaptable-Interface may return additional adapters not available through the AdapterManager. Examples are the FileStoreEditorInput or WorkbenchPart-Subclasses. This was a major problem when implementing our Common Navigator Framework ContentProvider, where contribution didn't appear. Workaround: Never define an Adapter inside an IAdaptable, always delegate to the Platform AdapterManager as implemented in PlatformObject and register a AdapterFactory via ExtensionPoint. Reproducible: Always Steps to Reproduce: 1. Create a Class implementing IAdaptable and returning an adapter 2. Invoke a AdaptExpression tesing for the adapter on a selection containing the adaptable
*** This bug has been marked as a duplicate of bug 201743 ***