carbidect/com.nokia.tools.carbide.ct.ui.refactoring/plugin.xml
changeset 0 30eb2d538f02
equal deleted inserted replaced
-1:000000000000 0:30eb2d538f02
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <?eclipse version="3.2"?>
       
     3 <plugin>
       
     4    <extension
       
     5          point="org.eclipse.ui.commands">
       
     6       <category
       
     7             id="com.nokia.tools.carbide.ct.ui.refactoring.commands.category"
       
     8             name="Carbide.ct Refactoring Category">
       
     9       </category>
       
    10       <command
       
    11             categoryId="com.nokia.tools.carbide.ct.ui.refactoring.commands.category"
       
    12             id="com.nokia.tools.carbide.ct.ui.refactoring.commands.renameCommand"
       
    13             name="Rename...">
       
    14       </command>
       
    15    </extension>
       
    16    <extension
       
    17          point="org.eclipse.ui.handlers">
       
    18       <handler
       
    19             class="com.nokia.tools.carbide.ct.ui.refactoring.internal.handlers.RenameHandler"
       
    20             commandId="com.nokia.tools.carbide.ct.ui.refactoring.commands.renameCommand">
       
    21       </handler>
       
    22    </extension>
       
    23    <extension
       
    24          point="org.eclipse.ui.bindings">
       
    25       <key
       
    26             commandId="com.nokia.tools.carbide.ct.ui.refactoring.commands.renameCommand"
       
    27             contextId="org.eclipse.ui.contexts.window"
       
    28             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
       
    29             sequence="ALT+SHIFT+R">
       
    30       </key>
       
    31    </extension>
       
    32    <extension
       
    33          point="org.eclipse.ui.menus">
       
    34       <menuContribution
       
    35             locationURI="popup:org.eclipse.ui.popup.any?after=additions">
       
    36          <menu
       
    37                id="com.nokia.tools.carbide.ct.ui.refactoring.menus.refactor"
       
    38                label="Refactor"
       
    39                mnemonic="R">
       
    40             <command
       
    41                   commandId="com.nokia.tools.carbide.ct.ui.refactoring.commands.renameCommand"
       
    42                   id="com.nokia.tools.carbide.ct.ui.refactoring.menus.renameCommand"
       
    43                   mnemonic="R">
       
    44                   <visibleWhen>
       
    45 				  	<iterate>
       
    46 				    	<adapt type="org.eclipse.core.resources.IResource">
       
    47 				       </adapt>
       
    48 				    </iterate>
       
    49                  </visibleWhen>
       
    50             </command>
       
    51          </menu>
       
    52       </menuContribution>
       
    53    </extension>
       
    54 </plugin>