"New" Sub Menu entries [message #632250] |
Tue, 12 October 2010 05:52  |
Eclipse User |
|
|
|
Hi,
hopefully, this is a quick one: I have written an Editor for a custom file type. it's currently hooked up to the "Code Gestalt" category in the "New" Dialog. Here is the corresponding piece from plugin.xml:
<extension
point="org.eclipse.ui.newWizards">
<category
id="edu.rwth.hci.codegestalt"
name="Code Gestalt">
</category>
<wizard
category="edu.rwth.hci.codegestalt"
class="edu.rwth.hci.codegestalt.wizard.CgtWizard"
icon="icons/CgtNew16.png"
id="edu.rwth.hci.codegestalt.wizard.CgtWizard"
name="Code Gestalt Diagram">
<description>
Create a Code Gestalt Diagram.
</description>
</wizard>
</extension>
I'd like to make it visible in the "File->New" submenu (Alt+Shift+N). I tried to add the wizard to org.ecplipse.ui.Basic (the General Category), but that was a dead end.
How must I proceed?
Regards,
Chris
|
|
|
|
Re: "New" Sub Menu entries [message #632499 is a reply to message #632383] |
Wed, 13 October 2010 04:56  |
Eclipse User |
|
|
|
Thanks. I didn't see it first, I had to reset the perspective, now it just works fine.
However, something is a bit strange: When I open "Customize perspective->Shortcuts", I see my Plug-In listed with an empty check box in front of it, but when I click it, the associated file tyoe is not shown on the right as with the other entries. Also the check box cannot be toggled.
Regards,
Chris
|
|
|
Powered by
FUDForum. Page generated in 0.03686 seconds