<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
	<!--
		<extension point="org.eclipse.ui.editorActions"> 
			<editorContribution
				id="org.erlide.wrangler.refactoring.erlideContributor"
				targetID="org.erlide.ui.editors.erl.ErlangEditor"> 
				<menu id="org.erlide.wrangler.refactoring.refactormenu" label="%RefactoringMenu_Label" path="edit"> 
					<groupMarker name="org.erlide.wrangler.refactoring.general"> </groupMarker>
					<separator name="org.erlide.wrangler.refactoring.separator1"> </separator> 
					<groupMarker name="org.erlide.wrangler.refactoring.macroGroup"> </groupMarker>
					<separator name="org.erlide.wrangler.refactoring.separator2"> </separator> 
					<groupMarker name="org.erlide.wrangler.refactoring.searchGroup"> </groupMarker>
				    <separator name="org.erlide.wrangler.refactoring.separator3"> </separator> 
				    <groupMarker name="org.erlide.wrangler.refactoring.quickcheckGroup"> </groupMarker>
					<separator name="org.erlide.wrangler.refactoring.separator4"> </separator> 
					<groupMarker name="org.erlide.wrangler.refactoring.otherGroup"> </groupMarker>
				</menu> 
				
				<action
				class="org.erlide.wrangler.refactoring.ui.RefactoringMenuAction"
				definitionId="org.erlide.wrangler.refactoring.prova"
				enablesFor="?" id="org.erlide.wrangler.refactoring.prova"
				label="prova"
				menubarPath="org.erlide.wrangler.refactoring.refactormenu/org.erlide.wrangler.refactoring.general">
				</action>
			
				<action
				class="org.erlide.wrangler.refactoring.ui.RefactoringMenuAction"
				definitionId="org.erlide.wrangler.refactoring.lista"
				enablesFor="?" id="org.erlide.wrangler.refactoring.lista"
				label="lista"
				menubarPath="org.erlide.wrangler.refactoring.refactormenu/org.erlide.wrangler.refactoring.general">
				</action>
				
				
				<action
				class="org.erlide.wrangler.refactoring.ui.RefactoringMenuAction"
				definitionId="org.erlide.wrangler.refactoring.import"
				enablesFor="?" id="org.erlide.wrangler.refactoring.import"
				label="import"
				menubarPath="org.erlide.wrangler.refactoring.refactormenu/org.erlide.wrangler.refactoring.general">
				</action>
				
				<action
				class="org.erlide.wrangler.refactoring.ui.RefactoringMenuAction"
				definitionId="org.erlide.wrangler.refactoring.caseFun"
				enablesFor="?" id="org.erlide.wrangler.refactoring.caseFun"
				label="caseFun"
				menubarPath="org.erlide.wrangler.refactoring.refactormenu/org.erlide.wrangler.refactoring.general">
				</action>
			
			</editorContribution> 
			
			<objectContribution adaptable="false"
				id="org.erlide.wrangler.refactoring.modulecontribution"
				objectClass="org.eclipse.core.resources.IFile"> 
				<menu id="org.erlide.wrangler.refactoring.modulecontribution.menu" label="Refactor"> 
					<groupMarker name="org.erlide.wrangler.refactoring.popup.module"> </groupMarker>
				</menu> 
				
				<action
				class="org.erlide.wrangler.refactoring.ui.PopupMenuAction"
				definitionId="org.erlide.wrangler.refactoring.renameModule"
				id="org.erlide.wrangler.refactoring.popupmenu.renamemodule"
				label="%rename"
				menubarPath="org.erlide.wrangler.refactoring.modulecontribution.menu/org.erlide.wrangler.refactoring.popup.module">
				</action> 
			</objectContribution> 
			
			<objectContribution adaptable="false" id="org.erlide.wrangler.refactoring.preprocessordefcontribution" objectClass="org.erlide.core.erlang.IErlPreprocessorDef"> 
				<menu id="org.erlide.wrangler.refactoring.preprocessordefcontribution.menu" label="Refactor"> 
					<groupMarker name="org.erlide.wrangler.refactoring.popup.preprocessordef"> </groupMarker> 
				</menu> 
			</objectContribution> 
			
			<viewerContribution
				id="org.erlide.wrangler.refactoring.duplicatedcodeviewercontribution"
				targetID="org.erlide.wrangler.refactoring.duplicatedcode.views.DuplicatedCodeView">
				<menu id="org.erlide.wrangler.refactoring.duplicated.menu" label="Refactor"> 
					<groupMarker name="org.erlide.wrangler.refactoring.duplicated"> </groupMarker>
				</menu> 
			
				<action class="org.erlide.wrangler.refactoring.Action3"
					id="org.erlide.wrangler.refactoring.action3" label="label"> 
				</action>
			</viewerContribution> 
		</extension>
	-->
	<extension point="org.eclipse.ui.bindings">
		<key commandId="org.erlide.wrangler.refactoring.prova"
			contextId="org.erlide.ui.erlangEditorScope" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
			sequence="M2+M3+R P">
		</key>
		<key commandId="org.erlide.wrangler.refactoring.lista"
			contextId="org.erlide.ui.erlangEditorScope" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
			sequence="M2+M3+R L">
		</key>
		<key commandId="org.erlide.wrangler.refactoring.import"
			contextId="org.erlide.ui.erlangEditorScope" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
			sequence="M2+M3+R I">
		</key>
		
		<key commandId="org.erlide.wrangler.refactoring.caseFun"
			contextId="org.erlide.ui.erlangEditorScope" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
			sequence="M2+M3+R C">
		</key>
	</extension>
	<extension point="org.eclipse.ui.commands">
		<category id="org.erlide.wrangler.refactoring" name="Refactoring">
		</category>
		<command id="org.erlide.wrangler.refactoring.prova"
			name="prova" categoryId="org.erlide.wrangler.refactoring">
		</command>
		<command id="org.erlide.wrangler.refactoring.lista"
			name="lista" categoryId="org.erlide.wrangler.refactoring">
		</command>
		<command id="org.erlide.wrangler.refactoring.import"
			name="import" categoryId="org.erlide.wrangler.refactoring">
		</command>
		<command id="org.erlide.wrangler.refactoring.caseFun"
			name="caseFun" categoryId="org.erlide.wrangler.refactoring">
		</command>
	</extension>
	<extension point="org.eclipse.ui.menus">
		<menuContribution locationURI="menu:org.eclipse.ui.main.menu?after=edit">
			<menu id="org.erlide.wrangler.refactormenu" label="%RefactoringMenu_Label"
				mnemonic="R">
				<command commandId="org.erlide.wrangler.refactoring.prova"
					id="org.erlide.wrangler.refactoring.prova" style="push">
				</command>
				<command commandId="org.erlide.wrangler.refactoring.lista"
					id="org.erlide.wrangler.refactoring.lista" style="push">
				</command>
				<command commandId="org.erlide.wrangler.refactoring.import"
					id="org.erlide.wrangler.refactoring.import" style="push">
				</command>
				<command commandId="org.erlide.wrangler.refactoring.caseFun"
					id="org.erlide.wrangler.refactoring.caseFun" style="push">
				</command>
			</menu>
		</menuContribution>
		<menuContribution locationURI="popup:org.eclipse.ui.popup.any?after=additions">
			<menu label="%RefactoringMenu_Label">
			</menu>
		</menuContribution>
	</extension>
	
	<extension point="org.eclipse.ui.handlers">
		<handler commandId="org.erlide.wrangler.refactoring.prova"
			class="org.erlide.wrangler.refactoring.ui.RefactoringHandler">
		</handler>
		<handler commandId="org.erlide.wrangler.refactoring.lista"
			class="org.erlide.wrangler.refactoring.ui.RefactoringHandler">
		</handler>
		<handler commandId="org.erlide.wrangler.refactoring.import"
			class="org.erlide.wrangler.refactoring.ui.RefactoringHandler">
		</handler>
	</extension>
 <extension point="org.eclipse.core.expressions.propertyTesters">
    <propertyTester
          class="org.erlide.wrangler.refactoring.ui.QuickCheckTester"
          id="org.erlide.wrangler.refactoring.quickchecktester"
          namespace="org.erlide.wrangler.refactoring"
          properties="hasQuickCheck"
          type="java.lang.Object">
    </propertyTester>
 </extension>

</plugin>
