| Home » Eclipse Projects » Eclipse Platform » Preference for the link open editors button in project exlporer?
 Goto Forum:| 
| Preference for the link open editors button in project exlporer? [message #331555] | Thu, 11 September 2008 13: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 14: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 16:40   |  | 
| Eclipse User  |  |  |  |  | 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 05: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
 |  |  |  | 
 
 
 Current Time: Fri Oct 31 04:39:24 EDT 2025 
 Powered by FUDForum . Page generated in 0.32994 seconds |