<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>

   <extension
         point="org.eclipse.ui.views">
      <view
            name="Component Publishing"            
            icon="resources/icons/lock.png"
            category="de.rcenvironment.core"
            class="de.rcenvironment.core.gui.authorization.ComponentPublishingView"
            id="de.rcenvironment.core.gui.authorization.ComponentPublishingView">
      </view>
   </extension>

   <!-- View part of Default Perspective --> 
   <extension point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension targetID="de.rcenvironment.core">
         <view id="de.rcenvironment.core.gui.authorization.ComponentPublishingView"
            relationship="stack"
            relative="de.rcenvironment.core.Perspective.bottom">
         </view>
      </perspectiveExtension>
   </extension>
   
   <extension
         point="org.eclipse.ui.handlers">
      <handler
            class="de.rcenvironment.core.gui.authorization.ManageAuthorizationGroupsHandler"
            commandId="de.rcenvironment.rce.gui.authorization.authorizationgroups.command">
      </handler>
   </extension>
   
   <extension
         point="org.eclipse.ui.commands">
      <command
            categoryId="de.rcenvironment.core.gui.authorization"
            description="Manage authorization groups."
            id="de.rcenvironment.rce.gui.authorization.authorizationgroups.command"
            name="Authorization Groups">
      </command>
      <category
            id="de.rcenvironment.core.gui.authorization"
            name="Authorization">
      </category>
   </extension>
   
    <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            locationURI="toolbar:org.eclipse.ui.main.toolbar?after=de.rcenvironment.toolintegration.toolbar">
         <toolbar
               id="de.rcenvironment.core.gui.authorization.toolbar">
            <command
                  commandId="de.rcenvironment.rce.gui.authorization.authorizationgroups.command"
                  icon="platform:/plugin/de.rcenvironment.core.gui.authorization/resources/icons/group.png"
                  label="Authorization Groups..."
                  tooltip="Manage authorization groups.">
            </command>
         </toolbar>
      </menuContribution>

      <menuContribution
            locationURI="menu:de.rcenvironment.configuration.menu?after=de.rcenvironment.core.gui.configuration.configurationInformation">
            <command
                  commandId="de.rcenvironment.rce.gui.authorization.authorizationgroups.command"
                  icon="platform:/plugin/de.rcenvironment.core.gui.authorization/resources/icons/group.png"
                  label="Authorization Groups..."
                  style="push"
                  tooltip="Manage authorization groups.">
            </command>
      </menuContribution>
   </extension>
   
</plugin>
