<?xml version="1.0" encoding="ISO-8859-1"?>
<configuration
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd http://www.exoplatform.org/xml/ns/kernel_1_2.xsd"
   xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">
	<external-component-plugins>
		
		
		<!-- The full qualified name of the UIExtensionManager that manages all the UI Extensions -->
		<target-component>
			org.exoplatform.webui.ext.UIExtensionManager</target-component>
		<component-plugin>
			<name>add.action</name>
			<!-- The method to call to register a new UI Extension -->
			<set-method>registerUIExtensionPlugin</set-method>
			<type>org.exoplatform.webui.ext.UIExtensionPlugin</type>
			<init-params>
				<object-param>
					<name>ViewInfo</name>
					<object type="org.exoplatform.webui.ext.UIExtension">
						
						
						<!-- The type of extension, here it is the type related to the Action Bar in the File Explorer -->
						<field name="type">
							<string>
								org.exoplatform.ecm.dms.UIWorkingArea</string>
						</field>
						<field name="category">
							<string>ItemContextMenu_SingleSelection</string>
						</field>
						<!-- The name of your action -->
						<field name="name">
							<string>ViewInfo</string>
						</field>
						<!-- The full qualified name of your webui component -->
						<field name="component">
							<string>
								org.exoplatform.ecm.webui.component.explorer.rightclick.action.ViewInfoActionComponent</string>
						</field>
					</object>
				</object-param>
			</init-params>
		</component-plugin>
	</external-component-plugins>
	
	<external-component-plugins>
		<!-- The full qualified name of the ResourceBundleService -->
		<target-component>
			org.exoplatform.services.resources.ResourceBundleService</target-component>
		<component-plugin>
			<!-- The name of the plugin -->
			<name>ResourceBundle Plugin</name>
			
			<!-- The name of the method to call on the ResourceBundleService in order to register the ResourceBundles -->
			<set-method>addResourceBundle</set-method>
			<!-- The full qualified name of the BaseResourceBundlePlugin -->
			<type>
				org.exoplatform.services.resources.impl.BaseResourceBundlePlugin</type>
			<init-params>
				<values-param>
					<name>init.resources</name>
					<description>Store the following resources into the db for the first
						launch </description>
					<value>locale.extension.ViewInfoExtension</value>
				</values-param>
				<values-param>
					<name>portal.resource.names</name>
					<description>The properties files of the portal , those file will be
						merged into one ResoruceBundle properties </description>
					<value>locale.extension.ViewInfoExtension</value>
				</values-param>
			</init-params>
		</component-plugin>
	</external-component-plugins>
	
</configuration>
