Associated java class:
org.ametys.core.ui.StaticClientSideElement
Associated javascript class:
Ametys.web.controller.WebButtonController
Extension point extended:
org.ametys.core.ui.RibbonControlsManager
Configuration:
<extension id="org.ametys.plugins.webcontentio.ImportDir" point="org.ametys.core.ui.RibbonControlsManager" class="org.ametys.core.ui.StaticClientSideElement">
<class name="Ametys.web.controller.WebButtonController">
<action>Ametys.plugins.contentio.ImportActions.importDir</action>
<selection-target-id>^(sitemap|page)$</selection-target-id>
<label i18n="true">PLUGINS_WEB_CONTENTIO_IMPORTDIR_LABEL</label>
<default-description i18n="true">PLUGINS_WEB_CONTENTIO_IMPORTDIR_DESC</default-description>
<enabled-on-modifiable-only>true</enabled-on-modifiable-only>
<modifiable-description-no i18n="true">plugin.web:PLUGINS_WEB_UITOOL_PAGE_NOMODIFIABLE_DESC</modifiable-description-no>
<selection-description-empty i18n="true">plugin.web:PLUGINS_WEB_UITOOL_PAGE_NOSELECTION_DESC</selection-description-empty>
<selection-description-nomatch i18n="true">plugin.web:PLUGINS_WEB_UITOOL_PAGE_NOSELECTION_DESC</selection-description-nomatch>
<icon-glyph>ametysicon-documents12</icon-glyph>
</class>
<scripts>
<file plugin="web">js/Ametys/web/controller/WebButtonController.js</file>
<file>js/Ametys/plugins/webcontentio/ImportActions.js</file>
</scripts>
<depends>
<org.ametys.core.ui.StaticFileImportsManager>org.ametys.web.page.page</org.ametys.core.ui.StaticFileImportsManager>
</depends>
<right>Plugins_ContentIO_ImportDirectory</right>
</extension>