Use org.eclipse.ui. Menus extension point. Remember, menu can have commands and menu can have menu too.
This self-containment allows you to implement sub-menus.
Use org.eclipse.ui. Menus extension point. Remember, menu can have commands and menu can have menu too.
This self-containment allows you to implement sub-menus. Sample Plugin. Xml Checkout this eclipse-rcp tutorial for more details: vogella.de/articles/EclipseRCP/article.html.
Thanks a lot for the answer. But still I have difficulty to open a view when the cascaded menu item is clicked. Could you please help me on this?
– Dinup kandel Apr 27 at 6:41 @user642391: Sure. But I will need a some code to look at. Specifically, how you are trying to handle the menu item selection and your current way of accessing/opening the view.
– Favonius Apr 27 at 8:49 1 @user642391 Favonius' answer is correct (with regards to how you formulated your question), so you should accept it (and upvote it). As for the other part of your question, which you posted in the comments rather then in the question itself, you should check out this tutorial by Lars Vogel: vogella. De/articles/EclipseRCP/article.
Html#commands_menu. To programmatically show the view, see this: stackoverflow. Com/questions/171824/… – Sandman Apr 27 at 14:51 – Dinup kandel Apr 28 at 4:24 I am using a menulistener class to show the view as public class MenuListener implements IWorkbenchWindowActionDelegate { @Override public void run(IAction action) { IWorkbenchPage wbp = PlatformUI.getWorkbench().
GetActiveWorkbenchWindow().getActivePage(); try { if (action.getId().toString(). Equals("mnuListMem")) { wbp. ShowView("MemberRecordView"); } else if (action.getId().toString().
Equals("mnuAddMem")) { wbp. ShowView("MemberRegistration"); } – Dinup kandel Apr 28 at 4:28.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.