Working with other toolbars is quite similar to UIActionbar, except configurations and resources.
Sidebar
Sample configuration
<object-param>
<name>Example</name>
<object type="org.exoplatform.webui.ext.UIExtension">
<field name="type"><string>org.exoplatform.ecm.dms.UISideBar</string></field>
<field name="name"><string>Example</string></field>
<field name="rank"><int>110</int></field>
<field name="component"><string>com.acme.ExampleActionComponent</string></field>
</object>
</object-param>
Resources are located at
$PLATFORM_TOMCAT-HOME/webapps/ecmexplorer/WEB-INF/classes/locale/portlet/explorer/JCRExplorerPortlet_en.xml
(for English which is also the default language):
...
<UISideBar>
...
<label>
<example>Example action</example>
...
</label>
...
</UISideBar>
...
Admin control panel
Sample configuration
<object-param>
<name>Example</name>
<object type="org.exoplatform.webui.ext.UIExtension">
<field name="type">
<string>org.exoplatform.ecm.dms.UIECMAdminControlPanel</string>
</field>
<field name="rank">
<int>110</int>
</field>
<field name="name">
<string>Example</string>
</field>
<field name="category">
<string>Templates</string>
</field>
<field name="component">
<string>org.exoplatform.ecm.webui.component.admin.manager.UITemplatesManagerComponent</string>
</field>
</object>
</object-param>
The "category" field specifies the category where your extension action is performed. There are 4 options:
Templates
Explorer
Repository
Advanced
Resources are located at
$PLATFORM_TOMCAT-HOME/webapps/ecmadmin/WEB-INF/classes/locale/portlet/administration/ECMAdminPortlet_en.xml
(for English which is also the default language):
...
<UIECMAdminControlPanel>
...
<label>
<example>Example panel</example>
...
</label>
...
</UIECMAdminControlPanel>
...
Context menu
Sample configuration
<object-param>
<name>Example</name>
<object type="org.exoplatform.webui.ext.UIExtension">
<field name="type"><string>org.exoplatform.ecm.dms.UIWorkingArea</string></field>
<field name="rank"><int>105</int></field>
<field name="name"><string>Example</string></field>
<field name="category"><string>ItemContextMenu_SingleSelection</string></field>
<field name="component"><string>com.acme.ExampleActionComponent</string></field>
</object>
</object-param>
The "category" field specifies the category where your extension action is performed. There are many options:
ItemContextMenu_SingleSelection
: This menu has only one item when Trash Folder is right-clicked.
ItemContextMenu
: The menu appears when the user selects one or many items.
GroundContextMenu
& ItemGroundContextMenu
: The menu appears when the user right-clicks the ground of node.
Resources are located at
$TOMCAT-HOME/webapps/ecmexplorer/WEB-INF/classes/locale/portlet/explorer/JCRExplorerPortlet_en.xml
(for English which is also the default language):
<UIWorkingArea>
...
<label>
<example>Example action</example>
...
</label>
...
</UIWorkingArea>