core/com.nokia.carbide.discovery.ui/plugin.xml
author dadubrow
Tue, 27 Jul 2010 15:29:41 -0500
changeset 1705 71a151b1b515
parent 1684 c2eba6dabd38
child 1721 18638adda547
permissions -rw-r--r--
add support for multiple layers per page

<?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">
    </portalPage>
    <portalPage
          id="com.nokia.carbide.discovery.ui.homePage"
          image="icons/Carbide_c_icon_16x16.png"
          order="1"
          title="Home">
    </portalPage>
    <portalPage
          id="com.nokia.carbide.discovery.ui.supportPage"
          image="icons/debug.png"
          order="100"
          title="Support">
    </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">
    </portalPageLayer>
    <portalPageLayer
          class="com.nokia.carbide.internal.discovery.ui.view.SupportPage"
          pageId="com.nokia.carbide.discovery.ui.homePage">
    </portalPageLayer>
    <portalPageLayer
          class="com.nokia.carbide.internal.discovery.ui.view.SupportPage"
          pageId="com.nokia.carbide.discovery.ui.supportPage">
    </portalPageLayer>
    <portalPageLayer
          class="com.nokia.carbide.internal.discovery.ui.view.InstallExtensionsPortalExtension"
          pageId="com.nokia.carbide.discovery.ui.customizePage">
    </portalPageLayer>
 </extension>

</plugin>