<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension-point id="portalPage" name="Portal Page" schema="schema/portalPage.exsd"/>
   <extension-point id="portalPageLayer" name="Portal Page Layer" schema="schema/portalPageLayer.exsd"/>
   <extension
         point="org.eclipse.help.contexts">
      <contexts
            file="contexts.xml">
      </contexts>
   </extension>
   <extension
         point="org.eclipse.ui.editors">
      <editor
            class="com.nokia.carbide.internal.discovery.ui.editor.PortalEditor"
            default="false"
            icon="icons/Carbide_c_icon_16x16.png"
            id="com.nokia.carbide.discovery.ui.portalEditor"
            name="%menu.title">
      </editor>
   </extension>
   <extension
         point="org.eclipse.ui.commands">
      <command
            description="%portal.desc"
            id="com.nokia.carbide.discovery.commands.launch"
            name="%menu.title">
      </command>
   </extension>
	<extension point="org.eclipse.ui.handlers">
    	<handler
			class="com.nokia.carbide.internal.discovery.ui.command.LaunchHandler"
			commandId="com.nokia.carbide.discovery.commands.launch">
		</handler>
	</extension>

	<extension point="org.eclipse.ui.menus">
		<!-- Defines a new menu contribution to the Eclipse help menu -->
		<menuContribution
			locationURI="menu:help?after=helpEnd">
            <command
				commandId="com.nokia.carbide.discovery.commands.launch"
				icon="icons/Carbide_c_icon_16x16.png"
				label="%menu.title"
				id="portalCommand">
			</command>
		</menuContribution>
	</extension>
 <extension
       point="com.nokia.carbide.discovery.ui.portalPage">
    <portalPage
          id="com.nokia.carbide.discovery.ui.customizePage"
          image="icons/icon-discovery.png"
          order="50"
          title="%customize.title">
    </portalPage>
    <portalPage
          id="com.nokia.carbide.discovery.ui.homePage"
          image="icons/Carbide_c_icon_16x16.png"
          order="1"
          title="%home.title">
    </portalPage>
    <portalPage
          id="com.nokia.carbide.discovery.ui.supportPage"
          image="icons/debug.png"
          order="100"
          title="%support.title">
    </portalPage>
 </extension>
 <extension
       point="com.nokia.carbide.discovery.ui.portalPageLayer">
    <portalPageLayer
          class="com.nokia.carbide.internal.discovery.ui.view.HomePage"
          pageId="com.nokia.carbide.discovery.ui.homePage"
          title="Forum Nokia">
    </portalPageLayer>
    <portalPageLayer
          class="com.nokia.carbide.internal.discovery.ui.view.SupportPage"
          pageId="com.nokia.carbide.discovery.ui.supportPage"
          title="Carbide Support">
    </portalPageLayer>
    <portalPageLayer
          class="com.nokia.carbide.internal.discovery.ui.view.InstallExtensionsPortalExtension"
          pageId="com.nokia.carbide.discovery.ui.customizePage"
          title="%install.layer.title">
    </portalPageLayer>
    <portalPageLayer
          class="com.nokia.carbide.internal.discovery.ui.view.WrenchSciencePage"
          pageId="com.nokia.carbide.discovery.ui.homePage"
          title="%wrenchscience.title">
    </portalPageLayer>
    <portalPageLayer
          class="com.nokia.carbide.internal.discovery.ui.view.CreatingCarbidePage"
          pageId="com.nokia.carbide.discovery.ui.homePage"
          title="%creatingcarbide.title">
    </portalPageLayer>
 </extension>

</plugin>
