All pastes #46810 Raw Edit

plugin.xml

public xml v1 · immutable
#46810 ·published 2006-03-24 13:09 UTC
rendered paste body
<?xml version="1.0" encoding="UTF-8"?><?eclipse version="3.0"?><!-- $Id: plugin.xml,v 1.5 2006/03/24 13:05:49 gsson Exp $ --><!--	Copyright (c) 2006 Henrik Gustafsson <henrik.gustafsson@fnord.se>		Permission to use, copy, modify, and distribute this software for any	purpose with or without fee is hereby granted, provided that the above	copyright notice and this permission notice appear in all copies.		THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES	WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF	MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR	ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES	WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN	ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF	OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.--><plugin>	<extension point="org.eclipse.ui.views">		<view name="%se.fnord.ecalc.views.ECalcView.name"			icon="icons/calc.gif"			class="se.fnord.ecalc.views.ECalcView"			id="se.fnord.ecalc.views.ECalcView">		</view>	</extension>	<extension point="org.eclipse.ui.viewActions">		<viewContribution id="se.fnord.ecalc.prefs" targetID="se.fnord.ecalc.views.ECalcView">			<!-- The menu+group that gives us a separator -->			<menu id="se.fnord.ecalc.menus.arithmeticmenu"				label="%se.fnord.ecalc.menus.arithmeticmenu.label"				path="additions">				<groupMarker name="se.fnord.ecalc.menus.arithmeticmenu.group"/>			</menu>			<!-- Automatic arithmetic type -->			<action id="se.fnord.ecalc.actions.forcetypeaction.autotype" 				menubarPath="se.fnord.ecalc.menus.arithmeticmenu.group"				style="radio" state="true"				label="%se.fnord.ecalc.actions.forcetypeaction.autotype.label"				class="se.fnord.ecalc.actions.ForceTypeAction" enablesFor="*"> 			</action>			<!-- Force integer arithmetic -->			<action id="se.fnord.ecalc.actions.forcetypeaction.inttype" 				menubarPath="se.fnord.ecalc.menus.arithmeticmenu.group"				style="radio" state="false"				label="%se.fnord.ecalc.actions.forcetypeaction.inttype.label"				class="se.fnord.ecalc.actions.ForceTypeAction" enablesFor="*"> 			</action>			<!-- Force double arithmetic -->			<action id="se.fnord.ecalc.actions.forcetypeaction.doubletype" 				menubarPath="se.fnord.ecalc.menus.arithmeticmenu.group"				style="radio" state="false"				label="%se.fnord.ecalc.actions.forcetypeaction.doubletype.label"				class="se.fnord.ecalc.actions.ForceTypeAction" enablesFor="*"> 			</action>			<!-- Clear history -->			<action id="se.fnord.ecalc.actions.clearhistory" 				menubarPath="additions"				style="push"				label="%se.fnord.ecalc.actions.clearhistory.label"				class="se.fnord.ecalc.actions.ClearHistoryAction" enablesFor="*"> 			</action>					</viewContribution>	</extension></plugin>