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.