- Add new Extension Point –
     “org.eclipse.ui.perspectiveExtensions” in “plugin.xml” file under
     “Extensions” page.
- Give the targetID*
     value. This value should be same as your new created perspective id.
     R-Click on this perspectiveExtension -> New -> viewShortcut
- Provide the id* value
     as “org.eclipse.ui.console.ConsoleView” to add shortcut of Console View in
     your perspective.
- Add new “perspectiveShortcut”
     under “perspectiveExtension” and give any existing perspective id*
     value like: “org.eclipse.pde.ui.PDEPerspective” (Plug-in Perspective ID).
- Run the project.
- Now you can found a new
     view shortcut of Console is added under “Window -> Show View” menu.
- Also found the new shortcut menu of Plug-in development perspective under “Window -> Open Perspective” menu.
|  | 
| Add new menu shortcut of "Plug-in Development" perspective | 
Attachment: To Download this project click here.





 
No comments:
Post a Comment