Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AUT-3938]: Set weight attribute for actions ordering #187

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions controller/structures.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,37 +27,37 @@
<action id="group-properties" name="Properties" url="/taoGroups/Groups/editGroup" group="content" context="instance">
<icon id="icon-edit"/>
</action>
<action id="group-class-new" name="New class" url="/taoGroups/Groups/addSubClass" context="resource" group="tree" binding="subClass">
<action id="group-class-new" name="New class" url="/taoGroups/Groups/addSubClass" context="resource" group="tree" binding="subClass" weight="10">
<icon id="icon-folder-open"/>
</action>
<action id="group-delete" name="Delete" url="/taoGroups/Groups/delete" context="resource" group="tree" binding="removeNode">
<action id="group-delete" name="Delete" url="/taoGroups/Groups/delete" context="resource" group="tree" binding="removeNode" weight="-1">
<icon id="icon-bin"/>
</action>
<action id="group-delete-all" name="Delete" url="/taoGroups/Groups/deleteAll" context="resource" multiple="true" group="tree" binding="removeNodes">
<action id="group-delete-all" name="Delete" url="/taoGroups/Groups/deleteAll" context="resource" multiple="true" group="tree" binding="removeNodes" weight="-2">
<icon id="icon-bin"/>
</action>
<action id="group-move" name="Move" url="/taoGroups/Groups/moveInstance" context="instance" group="none" binding="moveNode">
<icon id="icon-move-item"/>
</action>
<action id="group-import" name="Import" url="/tao/Import/index" context="resource" group="tree">
<action id="group-import" name="Import" url="/tao/Import/index" context="resource" group="tree" weight="5">
<icon id="icon-import"/>
</action>
<action id="group-export" name="Export" url="/tao/Export/index" context="resource" group="tree">
<action id="group-export" name="Export" url="/tao/Export/index" context="resource" group="tree" weight="4">
<icon id="icon-export"/>
</action>
<action id="group-duplicate" name="Duplicate" url="/taoGroups/Groups/cloneInstance" context="instance" group="tree" binding="duplicateNode">
<action id="group-duplicate" name="Duplicate" url="/taoGroups/Groups/cloneInstance" context="instance" group="tree" binding="duplicateNode" weight="8">
<icon id="icon-copy"/>
</action>
<action id="group-copy-to" name="Copy To" url="/taoGroups/Groups/copyInstance" context="instance" group="tree" binding="copyTo">
<action id="group-copy-to" name="Copy To" url="/taoGroups/Groups/copyInstance" context="instance" group="tree" binding="copyTo" weight="7">
<icon id="icon-copy"/>
</action>
<action id="group-move-to" name="Move To" url="/taoGroups/Groups/moveResource" context="resource" group="tree" binding="moveTo">
<action id="group-move-to" name="Move To" url="/taoGroups/Groups/moveResource" context="resource" group="tree" binding="moveTo" weight="6">
<icon id="icon-move-item"/>
</action>
<action id="group-move-all" name="Move To" url="/taoGroups/Groups/moveAll" context="resource" multiple="true" group="tree" binding="moveTo">
<icon id="icon-move-item"/>
</action>
<action id="group-new" name="New Group" url="/taoGroups/Groups/addInstance" context="resource" group="tree" binding="instanciate">
<action id="group-new" name="New Group" url="/taoGroups/Groups/addInstance" context="resource" group="tree" binding="instanciate" weight="9">
<icon id="icon-users"/>
</action>
</actions>
Expand Down
Loading