plugin.xml 1.46 KB
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
    <extension
            point="org.eclipse.ui.popupMenus">
        <objectContribution
                id="fr.femtost.disc.eclipse.sysml2vhdlams.ui.popup.object"
                objectClass="org.eclipse.core.resources.IFile"
                nameFilter="*.sysml">
            <!-- USER put in nameFiler the extension of the input models of your transformation -->
            <menu
                    id="fr.femtost.disc.papyrus.export"
                    label="SysML2VHDLAMS"
                    path="additions">
                <separator name="hydraCoreGroup"/>
            </menu>
            <action
                  class="fr.femtost.disc.eclipse.sysml2vhdlams.ui.actions.GenerateAction"
                  enablesFor="1"
                  id="fr.femtost.disc.eclipse.sysml2vhdlams.ui.actions.GenerateAction"
                  label="Generate VHDL-AMS code"
                  menubarPath="fr.femtost.disc.papyrus.export/hydraCoreGroup">
            </action>
            <action
                    id="fr.femtost.disc.eclipse.sysml2vhdlams.ui.actions.ExportAction"
                    label="Export to VHDL-AMS model"
                    enablesFor="1"
                    menubarPath="fr.femtost.disc.papyrus.export/hydraCoreGroup"
                    class="fr.femtost.disc.eclipse.sysml2vhdlams.ui.actions.ExportAction">
            </action>
        </objectContribution>
    </extension>

</plugin>