Skip to content

Commit

Permalink
Remove individual model wizards for Vorto model project wizards. Closes
Browse files Browse the repository at this point in the history
eclipse-vorto#190

Signed-off-by: Nagavijay Sivakumar <[email protected]>
  • Loading branch information
Nagavijay Sivakumar committed May 25, 2016
1 parent d96d631 commit 63f808b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 158 deletions.
2 changes: 1 addition & 1 deletion bundles/org.eclipse.vorto.codegen.ui/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<extension
point="org.eclipse.ui.newWizards">
<wizard
category="org.eclipse.vorto.functionblock.ui.wizards"
category="org.eclipse.vorto.model.ui.wizards"
class="org.eclipse.vorto.codegen.ui.wizard.GeneratorWizard"
finalPerspective="org.eclipse.jdt.ui.JavaPerspective"
icon="icons/generator.gif"
Expand Down
163 changes: 6 additions & 157 deletions bundles/org.eclipse.vorto.wizard/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,174 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.eclipse.vorto.project.menu">
<command
commandId="org.eclipse.vorto.datatypeeditor.ui.command1.newdatatypeproject"
icon="platform:/plugin/org.eclipse.vorto.core.ui/icons/add_exc.gif"
label="Create new Entity">
<parameter
name="org.eclipse.vorto.editor.datatype.newdatatype.project"
value="entity">
</parameter>
</command>
<command
commandId="org.eclipse.vorto.datatypeeditor.ui.command1.newdatatypeproject"
icon="platform:/plugin/org.eclipse.vorto.core.ui/icons/add_exc.gif"
label="Create new Enum">
<parameter
name="org.eclipse.vorto.editor.datatype.newdatatype.project"
value="enum">
</parameter>
</command>
<command
commandId="org.eclipse.vorto.editor.functionblock.ui.command1.newfbproject"
icon="platform:/plugin/org.eclipse.vorto.core.ui/icons/add_exc.gif"
label="Create new Function Block Model">
</command>
<command
commandId="org.eclipse.vorto.infomodeleditor.ui.command1.newimproject"
icon="platform:/plugin/org.eclipse.vorto.core.ui/icons/add_exc.gif"
label="Create new Information Model">
</command>
<command
commandId="org.eclipse.vorto.wizard.mapping.commoand.NewMappingModelHandler"
icon="platform:/plugin/org.eclipse.vorto.core.ui/icons/add_exc.gif"
label="Create new Mapping Model">
<visibleWhen
checkEnabled="true">
<with
variable="selection">
<iterate
ifEmpty="false"
operator="and">
<instanceof
value="org.eclipse.core.resources.IProject">
</instanceof>
</iterate>
</with>
</visibleWhen>
</command>
<separator name="additions1" visible="true"/>
</menuContribution>

</extension>

<extension
point="org.eclipse.ui.commands">
<command
defaultHandler="org.eclipse.vorto.wizard.datatype.NewDatatypeProjectHandler"
id="org.eclipse.vorto.datatypeeditor.ui.command1.newdatatypeproject"
name="NewDataTypeProjectCommand">
<commandParameter
id="org.eclipse.vorto.editor.datatype.newdatatype.project"
name="NewDataTypeProject"
optional="true">
</commandParameter>
</command>
</extension>

<!-- Wizards -->

<extension
point="org.eclipse.ui.newWizards">
<category
name="Vorto"
id="org.eclipse.vorto.functionblock.ui.wizards">
id="org.eclipse.vorto.model.ui.wizards">
</category>
<wizard
category="org.eclipse.vorto.functionblock.ui.wizards"
class="org.eclipse.vorto.wizard.functionblock.FunctionBlockWizard"
category="org.eclipse.vorto.model.ui.wizards"
class="org.eclipse.vorto.wizard.vorto.VortoProjectWizard"
finalPerspective="org.eclipse.vorto.ui.perspective.VortoPerspective"
icon="platform:/plugin/org.eclipse.vorto.core.ui/icons/fb.png"
id="org.eclipse.vorto.fbeditor.ui.wizards.InfomodelWizard"
name="Function Block Model"
icon="platform:/plugin/org.eclipse.vorto.core.ui/icons/vorto-icon.png"
id="org.eclipse.vorto.ui.wizards.VortoModelWizard"
name="Vorto Model Project"
project="true">
</wizard>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.jdt.ui.PackageExplorer">
<menu
id="org.eclipse.vorto.project.menu"
label="Vorto">
</menu>
</menuContribution>
</extension>

<extension
point="org.eclipse.ui.commands">
<command defaultHandler="org.eclipse.vorto.wizard.functionblock.NewFunctionBlockProjectHandler"
id="org.eclipse.vorto.editor.functionblock.ui.command1.newfbproject" name="NewFunctionBlockProjectCommand">
</command>
</extension>

<!-- Infomodel -->
<extension
point="org.eclipse.ui.newWizards">
<category
name="Vorto"
id="org.eclipse.vorto.functionblock.ui.wizards">
</category>
<wizard
category="org.eclipse.vorto.functionblock.ui.wizards"
class="org.eclipse.vorto.wizard.infomodel.InfomodelWizard"
finalPerspective="org.eclipse.vorto.ui.perspective.VortoPerspective"
icon="platform:/plugin/org.eclipse.vorto.core.ui/icons/im.png"
id="org.eclipse.vorto.fbeditor.ui.wizards.InfomodelWizard"
name="Information Model"
project="true">
</wizard>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.jdt.ui.PackageExplorer">
<menu
id="org.eclipse.vorto.project.menu"
label="Vorto">
</menu>
</menuContribution>
</extension>

<extension point="org.eclipse.ui.newWizards">
<category
name="Vorto"
id="org.eclipse.vorto.functionblock.ui.wizards">
</category>
<wizard
category="org.eclipse.vorto.functionblock.ui.wizards"
class="org.eclipse.vorto.wizard.datatype.EntityWizard"
finalPerspective="org.eclipse.vorto.ui.perspective.VortoPerspective"
icon="platform:/plugin/org.eclipse.vorto.core.ui/icons/dt.png"
id="org.eclipse.vorto.editor.ui.internal.wizard.EntityWizard"
name="Entity"
project="true">
</wizard>
<wizard
category="org.eclipse.vorto.functionblock.ui.wizards"
class="org.eclipse.vorto.wizard.datatype.EnumWizard"
finalPerspective="org.eclipse.vorto.ui.perspective.VortoPerspective"
icon="platform:/plugin/org.eclipse.vorto.core.ui/icons/dt.png"
id="org.eclipse.vorto.editor.ui.internal.wizard.EnumWizard"
name="Enum"
project="true">
</wizard>
</extension>

<extension
point="org.eclipse.ui.commands">
<command defaultHandler="org.eclipse.vorto.wizard.infomodel.NewInfomodelHandler"
id="org.eclipse.vorto.infomodeleditor.ui.command1.newimproject" name="NewInfomodelCommand">
</command>
<command defaultHandler="org.eclipse.vorto.wizard.mapping.NewMappingModelHandler"
id="org.eclipse.vorto.wizard.mapping.commoand.NewMappingModelHandler" name="NewMappingModelCommand">
</command>
</extension>

</plugin>

0 comments on commit 63f808b

Please sign in to comment.