Source
<default-description i18n="true">PLUGINS_GLOSSARY_CONTENT_EDITOR_ADD_DEFINITION_DESCRIPTION</default-description>
<!--
Copyright 2015 Anyware Services
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<plugin xmlns="http://www.ametys.org/schema/plugin"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.ametys.org/schema/plugin http://www.ametys.org/schema/plugin-4.0.xsd"
runtimeVersion="4.0">
<feature name="org.ametys.plugins.glossary.Definition.factory" depends="web/factories">
<components>
<component role="org.ametys.plugins.glossary.GlossaryDAO"
id="org.ametys.plugins.glossary.GlossaryDAO"
class="org.ametys.plugins.glossary.GlossaryDAO" />
</components>
<extensions>
<extension point="org.ametys.plugins.repository.NodeTypeDefinitionsExtensionPoint"
id="org.ametys.plugins.glossary.nodetypes">
<nodetype-definition>nodetypes/glossary_nodetypes.xml</nodetype-definition>
</extension>
<extension point="org.ametys.plugins.repository.AmetysObjectFactoryExtensionPoint"
id="org.ametys.plugins.glossary.DefinitionContainerFactory"
class="org.ametys.plugins.repository.jcr.DefaultTraversableAmetysObjectFactory">
<!-- Ametys object for storing tag categories -->
<scheme>wordDefinitions</scheme>
<nodetype>ametys:wordDefinitions</nodetype>
</extension>
<extension point="org.ametys.plugins.repository.AmetysObjectFactoryExtensionPoint"
id="org.ametys.plugins.glossary.DefinitionFactory"
class="org.ametys.plugins.glossary.DefaultDefinitionFactory">
<!-- Ametys object for definition storage. -->
<scheme>wordDefinition</scheme>
<nodetype>ametys:wordDefinition</nodetype>
</extension>
</extensions>
</feature>
<feature name="help" safe="true">
<extensions>
<extension id="org.ametys.plugins.glossary.HelpExtension"
point="org.ametys.plugins.core.ui.help.HelpExtensionPoint"
config="help.xml">
</extension>
</extensions>
</feature>
<feature name="org.ametys.plugins.glossary.ui">
<extensions>
<extension point="org.ametys.core.right.RightsExtensionPoint"