Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "FAQ How do I link the Navigator with the currently active editor?"

 
 
Line 33: Line 33:
  
 
[[FAQ_How_do_I_hide_referenced_libraries_in_the_Package_Explorer%3F]]
 
[[FAQ_How_do_I_hide_referenced_libraries_in_the_Package_Explorer%3F]]
 +
 +
<hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font>

Latest revision as of 16:09, 14 March 2006

The Navigator provides a view of the workspace and shows resources available on the file system. From the Navigator, files can be opened in an editor. When multiple editors are opened, it can be difficult to keep track of where the related resources are in the Navigator. For this reason, the Navigator has support to synchronize its tree view with the currently edited resource.


To link resources between the Navigator and the editors in the workbench, locate the Link button in the Navigator toolbar at the top of its UI. The Link button is an icon with two arrows pointing to each other. Move the mouse over it; hover help should read Link with Editor. This technique also applies to the JDT&#146;s Package Explorer.



If you are creating views with input linked to the selection in other views or editors, consider introducing a similar link option in your view&#146;s toolbar. The platform has been grappling with this issue of view linking for years, and we have found that letting the user decide is the only viable option. A view that always links its input will usually cause the user to lose context, as the view continually jumps around, scrolls, and changes its selection. Very few users will leave linking turned on all the time but will instead toggle it on and off again to find the item they are currently editing.

See Also:

FAQ_How_do_I_hide_referenced_libraries_in_the_Package_Explorer?


This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.

Back to the top