< Day Day Up > |
Recipe 2.8 Linking Views to Editors2.8.1 ProblemThe items selected in a view are not tied closely to whichever editor is open. Switching editors, or even closing an editor, does not change the selection in a view by default. 2.8.2 SolutionClick the Link with Editor button. 2.8.3 DiscussionMany views, such as the Resource perspective's Navigator view and the Java perspective's Package Explorer, enable you to synchronize with editors. To synchronize, click the Link with Editor button shown in Figure 2-8. Figure 2-8. The Link with Editor buttonBy linking a view with an editor, you tie that view to the editor so that the view will always show the file currently being edited. 2.8.4 See AlsoChapter 1 of Eclipse (O'Reilly). |
< Day Day Up > |