[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
|
- From: Craig Foote <CraigFoote@xxxxxxxxx>
- Date: Sun, 12 Apr 2009 18:07:07 +0000 (UTC)
- Newsgroups: eclipse.newcomer
- Organization: EclipseCorner
- User-agent: Pan/0.132 (Waxed in Black)
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