| Display view in Eclipse menu Window-> Show View [message #495493] |
Thu, 05 November 2009 00:40  |
Abhinav Mishra Messages: 10 Registered: November 2009 |
Junior Member |
|
|
I have created an Eclipse plugin which creates a view in Eclipse. Currently it is displayed in the Eclipse menu as :
'Window->Show View->Others'.
I want to show it in 'Window -> Show View' and not under the submenu 'Others'.
I have tried it giving the 'Category' of the view in the plugin.xml file as 'org.eclipse.ui' but it is still showing the view in 'Others' submenu.
Is there any other way to do so? Any suggestions are helpful in this regard.
Thanks in advance,
Abhinav
[Updated on: Sat, 07 November 2009 13:06] Report message to a moderator
|
|
|
|
| Re: Display view in Eclipse menu Window-> Show View [message #496142 is a reply to message #495599] |
Sun, 08 November 2009 23:28   |
Abhinav Mishra Messages: 10 Registered: November 2009 |
Junior Member |
|
|
Dear David,
The piece of code you sent seems working as it brings the view shortcut into Window->Show View->Other..->General category. Earlier it was coming into Other...->Others category. But I want it to directly display under Window->Show View and not under Other..->General submenu. Do I need to change some Eclipse preferences to do so? I am not able to locate where I need to make change for that.
Also is it possible to completely hide/remove any view entry/shortcut to appear from Window->Show View menu? As I want to embed them in a separate menu.
Thanks a lot for your reply..
[Updated on: Sun, 08 November 2009 23:30] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07424 seconds