tao-test/app/taoMediaManager/controller/structures.xml

68 lines
4.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE structures SYSTEM "../../tao/doc/structures.dtd">
<structures>
<structure id='taoMediaManager' name="Assets" level="7" group="main">
<description>Media Manager extension</description>
<icon id="icon-media" src=""/>
<sections>
<section id="media_manager" name="Manage Assets" url="/taoMediaManager/MediaManager/index">
<trees>
<tree name="Media Manager"
className="Media"
dataUrl="/taoMediaManager/MediaManager/getOntologyData"
editInstanceUrl="/taoMediaManager/MediaManager/editInstance"
rootNode="http://www.tao.lu/Ontologies/TAOMedia.rdf#Media"
selectClass="media-class-properties"
selectInstance="media-properties"
moveInstance="media-move"
delete="media-delete"
/>
</trees>
<actions allowClassActions="true">
<action id="media-class-properties" name="Properties" url="/taoMediaManager/MediaManager/editClassLabel" group="content" context="class">
<icon id="icon-edit"/>
</action>
<action id="media-class-schema" name="Manage Schema" url="/tao/PropertiesAuthoring/index" group="content" context="class">
<icon id="icon-property-add"/>
</action>
<action id="media-properties" name="Properties" url="/taoMediaManager/MediaManager/editInstance" group="content" context="instance">
<icon id="icon-edit"/>
</action>
<action id="media-authoring" name="Authoring" url="/taoMediaManager/MediaManager/authoring" group="content" context="instance" binding="sharedStimulusAuthoring">
<icon id="icon-edit"/>
</action>
<action id="media-class-new" name="New class" url="/taoMediaManager/MediaManager/addSubClass" context="resource" group="tree" binding="subClass">
<icon id="icon-folder-open"/>
</action>
<action id="media-delete" name="Delete" binding="deleteSharedStimulus" url="/taoMediaManager/MediaManager/deleteResource" context="instance" group="tree">
<icon id="icon-bin"/>
</action>
<action id="media-class-delete" name="Delete" binding="deleteSharedStimulus" url="/taoMediaManager/MediaManager/deleteClass" context="class" group="tree">
<icon id="icon-bin"/>
</action>
<action id="media-delete-all" name="Delete" binding="removeNodes" multiple="true" url="/taoMediaManager/MediaManager/deleteAll" context="resource" group="tree">
<icon id="icon-bin"/>
</action>
<action id="media-move" name="Move" url="/taoMediaManager/MediaManager/moveInstance" context="instance" group="none" binding="moveNode">
<icon id="icon-move-item"/>
</action>
<action id="media-import" name="Import" url="/taoMediaManager/MediaImport/index" group="tree"
context="resource">
<icon id="icon-import"/>
</action>
<action id="media-move-to" name="Move To" url="/taoMediaManager/MediaManager/moveResource" context="resource" group="tree" binding="moveTo">
<icon id="icon-move-item"/>
</action>
<action id="media-export" name="Export" url="/taoMediaManager/MediaExport/index" group="tree"
context="resource">
<icon id="icon-export"/>
</action>
<action id="create-shared-stimulus" name="New passage" url="/taoMediaManager/SharedStimulus/create" group="tree" context="resource" binding="newSharedStimulus">
<icon id="icon-select-all"/>
</action>
</actions>
</section>
</sections>
</structure>
</structures>