<?xml version="1.0" encoding="UTF-8"?>
<editor enabled="false" id="editor.etherpad" openable="true" iconClass="mdi mdi-comment-account" order="10"
        text="etherpad.2" title="etherpad.3" className="PydioEtherpad" actions="PydioEtherpad.Actions" canWrite="true"
        mimes="pad,html" label="CONF_MESSAGE[Etherpad]" description="CONF_MESSAGE[Collaborative edition of text files]"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
	<client_settings>
        <resources>
            <js file="plugins/editor.etherpad/res/build/PydioEtherpad.js" className="PydioEtherpad"/>
            <i18n path="plugins/editor.etherpad/i18n" namespace="etherpad"/>
        </resources>
	</client_settings>
    <server_settings>
        <global_param name="ETHERPAD_SERVER" type="string" label="Server Host" description="Etherpad server host"/>
        <global_param name="ETHERPAD_APIKEY" type="string" label="Api Key" description="Etherpad api key"/>
    </server_settings>
	<dependencies>
		<!-- Stream Wrapper Access -->
		<activePlugin pluginName="access.AJXP_STREAM_PROVIDER"/>
	</dependencies>
    <registry_contributions>
        <actions>
            <action name="etherpad_create">
                <processing>
                    <serverCallback methodName="switchAction"/>
                </processing>
            </action>
            <action name="etherpad_save">
                <processing>
                    <serverCallback methodName="switchAction"/>
                </processing>
            </action>
            <action name="etherpad_get_content">
                <processing>
                    <serverCallback methodName="switchAction"/>
                </processing>
            </action>
            <action name="etherpad_close">
                <processing>
                    <serverCallback methodName="switchAction"/>
                </processing>
            </action>
            <action name="etherpad_proxy_api">
                <processing>
                    <serverCallback methodName="switchAction"/>
                </processing>
            </action>
            <action name="mkpad">
                <gui text="etherpad.1" title="etherpad.1b" accessKey="file_access_key" iconClass="mdi mdi-message-draw" hasAccessKey="false">
                    <context selection="false" dir="true" recycle="hidden" actionBar="false"
                             contextMenu="false" infoPanel="false" actionBarGroup="create" inZip="false"/>
                </gui>
                <rightsContext noUser="true" userLogged="only" read="true" write="true" adminOnly=""/>
                <processing>
                    <clientCallback module="PydioEtherpad.Callbacks.makePad"/>
                </processing>
            </action>
        </actions>
        <extensions>
            <extension icon="etherpad/discussion.png" messageId="etherpad.1" font="comment-multiple-outline" mime="pad"/>
        </extensions>
        <hooks>
            <!--<serverCallback methodName="hideExtension" hookName="node.info"/>-->
            <serverCallback methodName="handleNodeChange" hookName="node.change"/>
        </hooks>
    </registry_contributions>
    <class_definition classname="Pydio\Editor\Etherpad\EtherpadClient" filename="plugins/editor.etherpad/EtherpadClient.php"/>
</editor>
