Using Eclipse-1 Ver 1.0 © 2005 Aptech Limited 1 Lab Deliverable 18 Using Eclipse-1 Part II 1. Consider the project created in Exercise 2. Use embedded editors to create a file. Add a word file to the project. Solution: 1. Select the Project from the Navigator. 2. Select File New File. The New File dialog box appears. 3. Enter the name of the File. 4. Click Finish. The Navigator screen appears as shown in Figure 25.1. Figure 25.1: Creating Word Document 2 Ver 1.0 © 2005 Aptech Limited JSP and Struts 2. Consider Example 1 in Part II, where you created the Word file. Use the Edit menu to delete the Word document from the project. Solution: 5. Select the word document from the Navigator. 6. Select Edit Delete. The Confirm Resource Delete dialog box appears as shown in Figure 25.2. Figure 25.2: Confirm Resource Delete Dialog Box 7. Click Yes to delete the file. 3. Consider Example 1 in Part II to rename a file or folder in the project. Use the File menu to rename a file or folder. Solution: 1. Select a file or folder from the Navigator. 2. Select File Rename. 3. Enter the new name for the file. Using Eclipse-1 Ver 1.0 © 2005 Aptech Limited 3 Do It Yourself 1. Search a text string in the Workbench. Use the search menu to search the text string across the resources that are shown in the Navigator. Solution: 1. Select Search Search. The Search dialog box appears as shown in Figure 25.3 Figure 25.3: Search Dialog Box 2. From the File Search tab, enter workbench in the Containing text field. 3. Click Search. The Search view is visible at the bottom of the screen. The screen appears as shown in Figure 25.4. 4 Ver 1.0 © 2005 Aptech Limited JSP and Struts Figure 25.4: Search Results 2. Bookmarks are a simple way to navigate to resources that are used frequently. Add a bookmark to the file in the project. Solution: 1. Select a File from the Navigator. 2. Select Edit Add Bookmark. The Add Bookmark dialog box appears as shown in Figure 25.5. Figure 25.5: Add Bookmark Dialog Box Using Eclipse-1 Ver 1.0 © 2005 Aptech Limited 5 3. Enter a name for the bookmark in the Enter bookmark name text box. 4. Click OK. . Using Eclipse-1 Ver 1.0 © 2005 Aptech Limited 1 Lab Deliverable 18 Using Eclipse-1 Part II 1. Consider the project created in Exercise. from the Navigator. 2. Select File Rename. 3. Enter the new name for the file. Using Eclipse-1 Ver 1.0 © 2005 Aptech Limited 3 Do It Yourself 1. Search a text string in the. box appears as shown in Figure 25.5. Figure 25.5: Add Bookmark Dialog Box Using Eclipse-1 Ver 1.0 © 2005 Aptech Limited 5 3. Enter a name for the bookmark in the Enter bookmark