New Project / New File Comtext Menu shortcut [message #508362] |
Mon, 18 January 2010 09:54  |
Eclipse User |
|
|
|
Hello,
I have my own Navigator View just as my own perspective.
Now I want in the context menu (right click) of my view under the "New.Button" MyProject and MyFile to appear.
I've already added the WizardShortcuts in my perspective via
private void defineShortcuts(IPageLayout pLayout) {
pLayout.addNewWizardShortcut("eu....projectWizardEntry");
pLayout.addNewWizardShortcut("eu.....fileWizardEntry");
}
In the Package explorer they do appear but not in my view.
I think I have to add the correct viewActionBinding to my view but I do not know the id
<viewerActionBinding
viewerId="eu.emundo.atomspro.architecturemodeler.architecturmodelerview">
<includes>
<actionExtension pattern="org.eclipse.ui.*"/>
</includes>
</viewerActionBinding>
I would appreciate any help!
Thanks in advance & best regards
Alex
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03507 seconds