Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Preference for the link open editors button in project exlporer?
Preference for the link open editors button in project exlporer? [message #331555] Thu, 11 September 2008 17:47 Go to next message
Eclipse UserFriend
Originally posted by: subs._nospam_consertum.com

Hi,

I want to always have the "Link open editors with content in the
Navigator" button 'on' (so the Project Explorer always shows which
source file I am editing). Is there a global preference I can set for it?

Thanks,
--
Derek
Re: Preference for the link open editors button in project exlporer? [message #331557 is a reply to message #331555] Thu, 11 September 2008 17:50 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
As far as I know there is no global preference, but it should remember
the state of this between sessions, if it's not doing that, please file
a bug.

You can also programmatically turn it on if you inclined that sort of
way. There is a method on CommonNavigator, which is the class that
implements the project explorer view.

Francis

Derek wrote:
> Hi,
>
> I want to always have the "Link open editors with content in the
> Navigator" button 'on' (so the Project Explorer always shows which
> source file I am editing). Is there a global preference I can set for it?
>
> Thanks,


--
*new* Common Navigator Framework section in:
3.4RC4 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: Preference for the link open editors button in project exlporer? [message #331567 is a reply to message #331557] Thu, 11 September 2008 18:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: subs._nospam_consertum.com

Francis,

Thanks for the info.

It is remembering the state, but I'd like all my workspaces to startup
with it on. So, how do I get a CommonNavigator? (I have plugins that I
can do this in, so if I can get that class, then I can do what I need).

Thanks,

Francis Upton (News) wrote:
> As far as I know there is no global preference, but it should remember
> the state of this between sessions, if it's not doing that, please file
> a bug.
>
> You can also programmatically turn it on if you inclined that sort of
> way. There is a method on CommonNavigator, which is the class that
> implements the project explorer view.
>
> Francis
>
> Derek wrote:
>> Hi,
>>
>> I want to always have the "Link open editors with content in the
>> Navigator" button 'on' (so the Project Explorer always shows which
>> source file I am editing). Is there a global preference I can set for it?
>>
>> Thanks,
>
>


--
Derek
Re: Preference for the link open editors button in project exlporer? [message #331573 is a reply to message #331567] Thu, 11 September 2008 20:40 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
CommonNavigator cn = (CommonNavigator)getWorkbenchPage()
.findView(ProjectExplorer.VIEW_ID);


Derek wrote:
> Francis,
>
> Thanks for the info.
>
> It is remembering the state, but I'd like all my workspaces to startup
> with it on. So, how do I get a CommonNavigator? (I have plugins that I
> can do this in, so if I can get that class, then I can do what I need).
>
> Thanks,
>
> Francis Upton (News) wrote:
>> As far as I know there is no global preference, but it should remember
>> the state of this between sessions, if it's not doing that, please
>> file a bug.
>>
>> You can also programmatically turn it on if you inclined that sort of
>> way. There is a method on CommonNavigator, which is the class that
>> implements the project explorer view.
>>
>> Francis
>>
>> Derek wrote:
>>> Hi,
>>>
>>> I want to always have the "Link open editors with content in the
>>> Navigator" button 'on' (so the Project Explorer always shows which
>>> source file I am editing). Is there a global preference I can set for
>>> it?
>>>
>>> Thanks,
>>
>>
>
>


--
*new* Common Navigator Framework section in:
3.4RC4 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: Preference for the link open editors button in project exlporer? [message #331588 is a reply to message #331573] Fri, 12 September 2008 09:09 Go to previous message
Eclipse UserFriend
Originally posted by: subs._nospam_consertum.com

Thanks - I've now added my own preference for this.

Francis Upton (News) wrote:
> CommonNavigator cn = (CommonNavigator)getWorkbenchPage()
> .findView(ProjectExplorer.VIEW_ID);
>
>
> Derek wrote:
>> Francis,
>>
>> Thanks for the info.
>>
>> It is remembering the state, but I'd like all my workspaces to startup
>> with it on. So, how do I get a CommonNavigator? (I have plugins that I
>> can do this in, so if I can get that class, then I can do what I need).
>>
>> Thanks,
>>
>> Francis Upton (News) wrote:
>>> As far as I know there is no global preference, but it should
>>> remember the state of this between sessions, if it's not doing that,
>>> please file a bug.
>>>
>>> You can also programmatically turn it on if you inclined that sort of
>>> way. There is a method on CommonNavigator, which is the class that
>>> implements the project explorer view.
>>>
>>> Francis
>>>
>>> Derek wrote:
>>>> Hi,
>>>>
>>>> I want to always have the "Link open editors with content in the
>>>> Navigator" button 'on' (so the Project Explorer always shows which
>>>> source file I am editing). Is there a global preference I can set
>>>> for it?
>>>>
>>>> Thanks,
>>>
>>>
>>
>>
>
>


--
Derek
Previous Topic:how to check in derived resources?
Next Topic:Patch to Eclipse plug-in
Goto Forum:
  


Current Time: Tue Jul 23 02:38:50 GMT 2024

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

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

Back to the top