<?xml version="1.0"?>
<action-recipes>

	<action id="com.macrabbit.tab-actions.detach" category="actions.tab.main">
		
		<class>MRTabDetachAction</class>
		<localization-table>Tabs</localization-table>
		<when-disabled>show</when-disabled>
		
	</action>

	<action id="com.macrabbit.tab-actions.select-next" category="actions.tab.main">
		
		<class>MRTabSelectAction</class>
		<localization-table>Tabs</localization-table>
		<key-equivalent>control tab || command }</key-equivalent>
		<when-disabled>show</when-disabled>
		
		<setup>
			<index>+1</index>
		</setup>
		
	</action>

	<action id="com.macrabbit.tab-actions.select-previous" category="actions.tab.main">
		
		<class>MRTabSelectAction</class>
		<localization-table>Tabs</localization-table>
		<key-equivalent>control shift tab || command {</key-equivalent>
		<when-disabled>show</when-disabled>
		
		<setup>
			<index>-1</index>
		</setup>
		
	</action>

	<action id="com.macrabbit.tab-actions.select-numbered.1" category="actions.tab.select.numbered">
	
		<class>MRTabSelectAction</class>
		<key-equivalent>cmd 1</key-equivalent>
		
		<setup>
			<index>0</index>
		</setup>
	
	</action>

	<action id="com.macrabbit.tab-actions.select-numbered.2" category="actions.tab.select.numbered">
	
		<class>MRTabSelectAction</class>
		<key-equivalent>cmd 2</key-equivalent>
		
		<setup>
			<index>1</index>
		</setup>
	
	</action>

	<action id="com.macrabbit.tab-actions.select-numbered.3" category="actions.tab.select.numbered">
	
		<class>MRTabSelectAction</class>
		<key-equivalent>cmd 3</key-equivalent>
		
		<setup>
			<index>2</index>
		</setup>
	
	</action>

	<action id="com.macrabbit.tab-actions.select-numbered.4" category="actions.tab.select.numbered">
	
		<class>MRTabSelectAction</class>
		<key-equivalent>cmd 4</key-equivalent>
		
		<setup>
			<index>3</index>
		</setup>
	
	</action>

	<action id="com.macrabbit.tab-actions.select-numbered.5" category="actions.tab.select.numbered">
	
		<class>MRTabSelectAction</class>
		<key-equivalent>cmd 5</key-equivalent>
		
		<setup>
			<index>4</index>
		</setup>
	
	</action>

	<action id="com.macrabbit.tab-actions.select-numbered.6" category="actions.tab.select.numbered">
	
		<class>MRTabSelectAction</class>
		<key-equivalent>cmd 6</key-equivalent>
		
		<setup>
			<index>5</index>
		</setup>
	
	</action>

	<action id="com.macrabbit.tab-actions.select-numbered.7" category="actions.tab.select.numbered">
	
		<class>MRTabSelectAction</class>
		<key-equivalent>cmd 7</key-equivalent>
		
		<setup>
			<index>6</index>
		</setup>
	
	</action>

	<action id="com.macrabbit.tab-actions.select-numbered.8" category="actions.tab.select.numbered">
	
		<class>MRTabSelectAction</class>
		<key-equivalent>cmd 8</key-equivalent>
		
		<setup>
			<index>7</index>
		</setup>
	
	</action>

	<action id="com.macrabbit.tab-actions.select-numbered.9" category="actions.tab.select.numbered">
	
		<class>MRTabSelectAction</class>
		<key-equivalent>cmd 9</key-equivalent>
		
		<setup>
			<index>8</index>
		</setup>
	
	</action>
	
</action-recipes>
