[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Declared AdapterFactories not found without Startup extension

Perfect! Thanks Felix.

Craig

On Sun, 12 Apr 2009 07:55:55 +0200, Felix Dorner wrote:

> Hi Craig,
> 
>  > Platform.getAdapterManager().getAdapter(myObj, MyClass.class) returns
>  > null. With the Startup extension and empty IStartup implementation
>  > the factory is found and my adapter is returned.
> 
> I recently read this good article about eclipse adapters. When it comes
> to loading an adapter from the platform adapter manager, it uses
> 'loadAdapter', not 'getAdapter' and thats in bold letters...
> 
> http://www.eclipse.org/articles/article.php?file=Article-Adapters/
index.html
> 
> 
> Felix