<!--
 ~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 ~
 ~ WSO2 Inc. licenses this file to you 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.
 -->
<component xmlns="http://products.wso2.org/carbon">
	<menus>
	    <menu>
            <id>modules_menu</id>
            <i18n-key>modulemgt.modules</i18n-key>
            <i18n-bundle>org.wso2.carbon.i18n.Resources</i18n-bundle>
            <parent-menu>manage_menu</parent-menu>
            <link>#</link>
            <region>region1</region>
            <order>15</order>
            <style-class>manage</style-class>
            <icon>../modulemgt/images/bricks.gif</icon>
        </menu>			
		<menu>
			<id>modules_list_menu</id>
			<i18n-key>modulemgt.list</i18n-key>
			<i18n-bundle>org.wso2.carbon.i18n.Resources</i18n-bundle>
			<parent-menu>modules_menu</parent-menu>
			<link>../modulemgt/index.jsp</link>
			<region>region1</region>
			<order>5</order>
			<style-class>manage</style-class>
            <icon>../modulemgt/images/list.gif</icon>
            <require-permission>/permission/admin/manage/modify/module</require-permission>
        </menu>
		 <menu>
            <id>modules_add_menu</id>
            <i18n-key>modulemgt.add</i18n-key>
            <i18n-bundle>org.wso2.carbon.i18n.Resources</i18n-bundle>
            <parent-menu>modules_menu</parent-menu>
            <link>../modulemgt/add_modules.jsp</link>
            <region>region1</region>
            <order>10</order>
            <style-class>manage</style-class>
            <icon>../modulemgt/images/add.gif</icon>
            <require-permission>/permission/admin/manage/add/module</require-permission>
        </menu>
	</menus>
	
	<FileUploadConfig>
        <Mapping>
            <Actions>
                <Action>module</Action>
            </Actions>
            <Class>org.wso2.carbon.module.mgt.ui.fileupload.ModuleFileUploadExecutor</Class>
        </Mapping>
    </FileUploadConfig> 
</component>

