Skip to main content
summaryrefslogblamecommitdiffstats
blob: 35d7e9b7831bdbb2980882c6788c287135454f1b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                             





                                                                         
                                    































                                                                                                    
               
         
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<!--
	Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others.
	All rights reserved. This program and the accompanying materials
	are made available under the terms of the Eclipse Public License v1.0
	which accompanies this distribution, and is available at
	http://www.eclipse.org/legal/epl-v10.html

	Contributors:
	  Christian W. Damus (CEA LIST) - initial API and implementation
-->

<plugin>

   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            locationURI="popup:org.eclipse.ui.popup.any?after=additions">
         <command
               id="org.eclipse.emf.cdo.security.ui.ResetPasswordCommand"
               commandId="org.eclipse.emf.cdo.security.ui.resetPassword"
               label="%action.label"
               tooltip="%action.tooltip"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <with
                     variable="activeMenuSelection">
                  <count
                        value="1">
                  </count>
                  <iterate >
                     <adapt
                           type="org.eclipse.emf.cdo.security.User">
                     </adapt>
                  </iterate>
               </with>
            </visibleWhen>
         </command>
      </menuContribution>
   </extension>
   <extension
         point="org.eclipse.ui.commands">
      <category
            id="org.eclipse.emf.cdo.security.ui.management"
            name="%category.name">
      </category>
      <command
            id="org.eclipse.emf.cdo.security.ui.resetPassword"
            categoryId="org.eclipse.emf.cdo.security.ui.management"
            name="%command.name"
            description="%command.description"
            defaultHandler="org.eclipse.emf.cdo.security.internal.ui.handlers.ResetPasswordHandler">
      </command>
   </extension>
</plugin>

Back to the top