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 |
Eclipse User |
|
|
|
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 #331567 is a reply to message #331557] |
Thu, 11 September 2008 18:39 |
Eclipse User |
|
|
|
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 |
Francis Upton IV 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
Platform UI Committer for Common Navigator
http://wiki.eclipse.org/index.php/Common_Navigator_Framework
http://help.eclipse.org/galileo/topic/org.eclipse.platform.d oc.isv/guide/cnf.htm
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Goto Forum:
Current Time: Fri Nov 08 22:38:32 GMT 2024
Powered by FUDForum. Page generated in 0.03178 seconds
|