I'm creating RCP application based on E4 with compatibility layer. I'm reusing JavaScript Perspective in my Application.
I add File and New Menu in RCP using ApplicationActionBarAdvisor like following:
protected void makeActions(IWorkbenchWindow window) {
newMenuMgr = new MenuManager("&New", "new");
newActionItem = ActionFactory.NEW.create(window);
}
protected void fillMenuBar(IMenuManager menuBar) {
MenuManager fileMenu = new MenuManager("&File", "file");
menuBar.add(fileMenu);
newMenuMgr.add(newActionItem);
fileMenu.add(newMenuMgr);
}
After that Application is look like following:

My question is because JavaScript Perspective implements PerspectiveExtension point they why JavaScript Project and JavaScript file like in eclipse following is not showing for my application:

Even i extends b]PerspectiveExtension [/b]point and implement it but still no helps.
So what i'm missing, because File->New->Other.. is showing.
[Updated on: Fri, 21 June 2013 07:26] by Moderator