Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » CNF
CNF [message #334871] Thu, 05 March 2009 13:12 Go to next message
Ali Koudri is currently offline Ali KoudriFriend
Messages: 118
Registered: July 2009
Senior Member
Hi All,

I try to provide my own navigator subclassing the CommonNavigator
class. The problem is the method getCommonViewer always returns a null
pointer, any idea ?

thx
Re: CNF [message #334874 is a reply to message #334871] Thu, 05 March 2009 15:10 Go to previous messageGo to next message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
You have to make sure it's configured as a view in your plugin.xml and
the view is started.

exquisitus wrote:
> Hi All,
>
> I try to provide my own navigator subclassing the CommonNavigator
> class. The problem is the method getCommonViewer always returns a null
> pointer, any idea ?
>
> thx


--
Common Navigator Framework section in Platform Plugin Developer Guide
(Programmer's Guide)

http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm

http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases


You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go


Re: CNF [message #334879 is a reply to message #334874] Fri, 06 March 2009 07:46 Go to previous messageGo to next message
Ali Koudri is currently offline Ali KoudriFriend
Messages: 118
Registered: July 2009
Senior Member
Yas it is registrered and launched at run-time.

Francis Upton (News) a écrit :
> You have to make sure it's configured as a view in your plugin.xml and
> the view is started.
>
> exquisitus wrote:
>> Hi All,
>>
>> I try to provide my own navigator subclassing the CommonNavigator
>> class. The problem is the method getCommonViewer always returns a null
>> pointer, any idea ?
>>
>> thx
>
>
Re: CNF [message #334880 is a reply to message #334879] Fri, 06 March 2009 08:22 Go to previous message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
Set a breakpoint at CommonNavigator.createPartControl(). That's where
the CommonViewer is set and created.

exquisitus wrote:
> Yas it is registrered and launched at run-time.
>
> Francis Upton (News) a écrit :
>> You have to make sure it's configured as a view in your plugin.xml and
>> the view is started.
>>
>> exquisitus wrote:
>>> Hi All,
>>>
>>> I try to provide my own navigator subclassing the CommonNavigator
>>> class. The problem is the method getCommonViewer always returns a
>>> null pointer, any idea ?
>>>
>>> thx
>>
>>


--
Common Navigator Framework section in Platform Plugin Developer Guide
(Programmer's Guide)

http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm

http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases


You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go


Previous Topic:wizards
Next Topic:Activator.stop() is not called at shutdown of OS (Windows XP)
Goto Forum:
  


Current Time: Tue Jul 30 20:18:20 GMT 2024

Powered by FUDForum. Page generated in 0.02963 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top