Hi,
here is an example you can use in you plugin.xml:

<extension point="org.eclipse.ui.newWizards">
     <?gmfgen generated="false"?>
       <wizard
          name="%newWizardName"
          icon="icons/obj16/EventBDiagramFile.gif"
          category="org.topcased.facilities.newWizards/my_category"
class="com.clearsy.eventb.model.diagram.part.EventBCreationWizard" id="com.clearsy.eventb.model.diagram.part.EventBCreationWizardID"> <description>%newWizardDesc</description> </wizard>
     <category
          id="my_category"
          name="Topcased Diagrams"
          parentCategory="org.topcased.facilities.newWizards">
    </category>
  </extension>

Regards,

Philippe BLANC

Tarachandra, Swetha IN BLR SISL a écrit :
Hi,
I want to link my Diagram which I have generated from the GMF Editor in the TOPCASED environment such that I can open the diagram from the Menu,
File --->New--->My Diagram.
Currently it is displayed in the path File--->New -->Example-->MyDiagram. The entries in the plugin.xml file is as follows:

<extension point="org.eclipse.ui.newWizards">

<?gmfgen generated="true"?>

<category

id = "org.eclipse.emf.ecore.Wizard.category.ID"

name="%_UI_Wizard_category">

</category>

<wizard

name="%newWizardName"

icon="icons/obj16/OutLineViewDNDDiagramFile.gif"

category="org.eclipse.ui.Examples"

class="org.eclipse.mockup.outLineViewDND.diagram.part.OutLineViewDNDCreationWizard"

id="org.eclipse.mockup.outLineViewDND.diagram.part.OutLineViewDNDCreationWizardID">

<description>%newWizardDesc</description>

</wizard>

</extension>

I am of the opinion that because the category is mentioned as org.eclipse.ui.Examples,MyDiagram is being linked through it.But I have no clue what to change here.

Can you please let me know what exactly I need to change in the plugin.xml file. Regards, Swetha.

Important notice:This e-mail and any attachment thereto contains corporate proprietary information. If you have received it by mistake, please notify us immediately by reply e-mail and delete this e-mail and its attachments from your system.
Thank You.

------------------------------------------------------------------------

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to