tao-test/app/taoTests/actions/structures.xml

77 lines
4.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE structures SYSTEM "../../tao/doc/structures.dtd">
<structures>
<structure id="tests" name="Tests" level="1" group="main">
<description>Combine a selection of items into tests.</description>
<icon id="icon-test" src=""/>
<sections>
<section id="manage_tests" name="Manage tests" url="/taoTests/Tests/index">
<trees>
<tree name="Tests library"
className="Test"
dataUrl="/taoTests/Tests/getOntologyData"
selectClass="test-class-properties"
selectInstance="test-properties"
moveInstance="test-move"
delete="test-delete"
rootNode="http://www.tao.lu/Ontologies/TAOTest.rdf#Test"
/>
</trees>
<actions allowClassActions="true">
<action id="test-class-properties" name="Properties" url="/taoTests/Tests/editClassLabel" group="content" context="class">
<icon id="icon-edit"/>
</action>
<action id="test-class-schema" name="Manage Schema" url="/tao/PropertiesAuthoring/index" group="content" context="class">
<icon id="icon-property-add"/>
</action>
<action id="test-properties" name="Properties" url="/taoTests/Tests/editTest" group="content" context="instance">
<icon id="icon-edit"/>
</action>
<action id="test-preview" name="Preview" url="/taoTests/Tests/index" context="instance" group="content" binding="testPreview">
<icon id="icon-preview"/>
</action>
<action id="test-authoring" name="Authoring" url="/taoTests/Tests/authoring" group="content" context="instance" binding="launchEditor">
<icon id="icon-edit"/>
</action>
<action id="test-class-new" name="New class" js="subClass" url="/taoTests/Tests/addSubClass" context="resource" group="tree">
<icon id="icon-folder-open"/>
</action>
<action id="test-delete" name="Delete" url="/taoTests/Tests/delete" context="resource" group="tree" binding="removeNode">
<icon id="icon-bin"/>
</action>
<action id="test-delete-all" name="Delete" url="/taoTests/Tests/deleteAll" context="resource" multiple="true" group="tree" binding="removeNodes">
<icon id="icon-bin"/>
</action>
<action id="test-move" name="Move" url="/taoTests/Tests/moveInstance" context="instance" group="none" binding="moveNode">
<icon id="icon-move-item"/>
</action>
<action id="test-import" name="Import" url="/taoTests/TestImport/index" context="resource" group="tree" binding="loadClass">
<icon id="icon-import"/>
</action>
<action id="test-export" name="Export" url="/taoTests/TestExport/index" context="resource" group="tree">
<icon id="icon-export"/>
</action>
<action id="test-duplicate" name="Duplicate" js="duplicateNode" url="/taoTests/Tests/cloneInstance" context="instance" group="tree">
<icon id="icon-copy"/>
</action>
<action id="test-copy-to" name="Copy To" url="/taoTests/Tests/copyInstance" context="instance" group="tree" binding="copyTo">
<icon id="icon-copy"/>
</action>
<action id="test-move-to" name="Move To" url="/taoTests/Tests/moveResource" context="instance" group="tree" binding="moveTo">
<icon id="icon-move-item"/>
</action>
<action id="class-move-to" name="Move To" url="/taoTests/Tests/moveClass" context="class" group="tree" binding="moveTo">
<icon id="icon-move-item"/>
</action>
<action id="test-move-all" name="Move To" url="/taoTests/Tests/moveAll" context="resource" multiple="true" group="tree" binding="moveTo">
<icon id="icon-move-item"/>
</action>
<action id="test-new" name="New test" url="/taoTests/Tests/addInstance" context="resource" group="tree" binding="instanciate">
<icon id="icon-test"/>
</action>
</actions>
</section>
</sections>
</structure>
</structures>