Commit c972a76c authored by Adrien's avatar Adrien Committed by Romain Bioteau
Browse files

feat(package explorer) new menu order (#1320)

* Elements in the new menu have the same order than in the package
explorer

closes [BS-18821](https://bonitasoft.atlassian.net/browse/BS-18821)
parent 2787fec9
......@@ -29,4 +29,5 @@ editFilterDef=Edit definition...
newFilterDef=New definition...
installOrganization=Install organization
newFilterImplMenu=Actor filter implementation...
newFilterDefMenu=Actor filter definition...
\ No newline at end of file
newFilterDefMenu=Actor filter definition...
newOrganizationLabel=Organization...
......@@ -102,12 +102,12 @@
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.bonitasoft.studio.application.project.explorer.new">
locationURI="popup:org.bonitasoft.studio.application.project.explorer.new?after=org.bonitasoft.studio.application.placeholder.organization">
<command
commandId="org.bonitasoft.studio.organization.manage"
icon="icons/organization.png"
id="org.bonitasoft.studio.organization.manage.popup.menu"
label="%actors_Label"
label="%newOrganizationLabel"
mnemonic="O"
style="push">
<visibleWhen
......@@ -129,10 +129,10 @@
</and>
</visibleWhen>
</command>
<separator
name="group1"
visible="true">
</separator>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.bonitasoft.studio.application.project.explorer.new?after=org.bonitasoft.studio.application.placeholder.actor">
<command
commandId="org.bonitasoft.studio.actors.newFilterDef"
icon="icons/actor_filter-def-new.png"
......@@ -180,10 +180,6 @@
</and>
</visibleWhen>
</command>
<separator
name="group2"
visible="true">
</separator>
</menuContribution>
</extension>
<extension
......
......@@ -374,6 +374,38 @@
id="org.bonitasoft.studio.application.project.explorer.new"
label="%new"
mnemonic="w">
<separator
name="org.bonitasoft.studio.application.placeholder.organization"
visible="false">
</separator>
<separator
name="org.bonitasoft.studio.application.placeholder.bdm"
visible="false">
</separator>
<separator
name="org.bonitasoft.studio.application.placeholder.profile"
visible="false">
</separator>
<separator
name="org.bonitasoft.studio.application.placeholder.application"
visible="false">
</separator>
<separator
name="org.bonitasoft.studio.application.placeholder.diagram"
visible="false">
</separator>
<separator
name="org.bonitasoft.studio.application.placeholder.restapi"
visible="false">
</separator>
<separator
name="org.bonitasoft.studio.application.placeholder.connector"
visible="true">
</separator>
<separator
name="org.bonitasoft.studio.application.placeholder.actor"
visible="true">
</separator>
</menu>
<separator
name="newSeparator"
......
......@@ -46,11 +46,7 @@
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.bonitasoft.studio.application.project.explorer.new?after=org.bonitasoft.studio.organization.manage.popup.menu">
<separator
name="bdmSeparator"
visible="true">
</separator>
locationURI="popup:org.bonitasoft.studio.application.project.explorer.new?after=org.bonitasoft.studio.application.placeholder.bdm">
<command
commandId="org.bonitasoft.studio.businessobject.manage"
icon="icons/bdm.png"
......
......@@ -189,11 +189,7 @@
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.bonitasoft.studio.application.project.explorer.new">
<separator
name="groupConnector1"
visible="true">
</separator>
locationURI="popup:org.bonitasoft.studio.application.project.explorer.new?after=org.bonitasoft.studio.application.placeholder.connector">
<command
commandId="org.bonitasoft.studio.connectors.newDefinition"
icon="icons/connector_def-new.png"
......@@ -242,10 +238,6 @@
</and>
</visibleWhen>
</command>
<separator
name="groupConnector2"
visible="true">
</separator>
</menuContribution>
</extension>
<extension
......
......@@ -361,7 +361,7 @@
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.bonitasoft.studio.application.project.explorer.new?before=org.bonitasoft.studio.organization.manage.popup.menu">
locationURI="popup:org.bonitasoft.studio.application.project.explorer.new?after=org.bonitasoft.studio.application.placeholder.diagram">
<command
commandId="org.bonitasoft.studio.diagram.command.newDiagram"
icon="icons/ProcessDiagramFile.gif"
......
......@@ -6,4 +6,4 @@ deleteApplication=Delete...
exportApplication=Export...
importApplication=Import...
deployApplication=Deploy...
newApplicationMenu=Application descriptor...
\ No newline at end of file
newApplicationMenu=Application descriptor
\ No newline at end of file
......@@ -58,7 +58,7 @@
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.bonitasoft.studio.application.project.explorer.new?after=org.bonitasoft.studio.diagram.command.newDiagram.popup.menu">
locationURI="popup:org.bonitasoft.studio.application.project.explorer.new?after=org.bonitasoft.studio.application.placeholder.application">
<command
commandId="org.bonitasoft.studio.la.new.command"
icon="icons/applicationStore.gif"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment