Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » how to extend main menu bar action of eclipse
how to extend main menu bar action of eclipse [message #896154] Tue, 17 July 2012 12:29 Go to next message
Srikrishna Bera is currently offline Srikrishna BeraFriend
Messages: 2
Registered: July 2012
Location: Bangalore
Junior Member
I would like handle the openInNewWindow or OpenInNewEditor action when a user selects WindoW->New Window or Window-> new Editor from main menuBar of Eclipse Runtime. I mean I want to create my own customized action class by extending some of the actions from main menubar. Please suggest how to do this.
Re: how to extend main menu bar action of eclipse [message #896168 is a reply to message #896154] Tue, 17 July 2012 13:38 Go to previous message
Joseph Carroll is currently offline Joseph CarrollFriend
Messages: 174
Registered: May 2012
Location: Milwaukee, WI
Senior Member

If you are utilizing an editor in 3.x, most of that plumbing already exists. Take a look at some of Lars' tutorials and the wiki documentation.

A good place to start is:

Again if you are within 3.x, the method you will need to focus on is doSave(). When you create your editor by extending from EditorPart, you will need to override this method.
Previous Topic:shared install: private plug-ins not showing up
Next Topic:Save Button in RCP Product
Goto Forum:

Current Time: Sun Sep 27 18:05:33 GMT 2020

Powered by FUDForum. Page generated in 0.04518 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top