Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 4cd44647ce45f1188150925b50917a88057c51be (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                      








                                                                                      
 

        






















                                                                                                           
                                                                                                 


















                                                                                                       

         
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
	<!--
		Copyright (c) 2009 Red Hat, Inc. 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: Red Hat - initial API and implementation
	-->

<plugin>

	<extension point="org.eclipse.ui.popupMenus">
		<objectContribution objectClass="org.eclipse.core.resources.IFile"
			nameFilter="feature.xml" id="org.eclipse.linuxtools.rpmstubby.contribution1">
			<menu label="%menu.label" path="additions"
				id="org.eclipse.linuxtools.rpmstubby.menu1" />
			<action label="%action.label"
				class="org.eclipse.linuxtools.rpmstubby.popup.actions.StubifyFeatureAction"
				menubarPath="org.eclipse.linuxtools.rpmstubby.menu1/group1"
				enablesFor="+" id="org.eclipse.linuxtools.rpmstubby.newAction" />
		</objectContribution>
		<objectContribution objectClass="org.eclipse.core.resources.IProject"
			adaptable="true" id="org.eclipse.linuxtools.rpmstubby.contribution2">
			<menu label="%menu.label" path="additions"
				id="org.eclipse.linuxtools.rpmstubby.menu1" />
			<action label="%action.label"
				class="org.eclipse.linuxtools.rpmstubby.popup.actions.StubifyFeatureAction"
				menubarPath="org.eclipse.linuxtools.rpmstubby.menu1/group1"
				enablesFor="+" id="org.eclipse.linuxtools.rpmstubby.newAction" />
			<visibility>
				<objectState name="projectNature" value="org.eclipse.pde.FeatureNature" />
			</visibility>
		</objectContribution>
		<objectContribution objectClass="org.eclipse.core.resources.IFile"
			nameFilter="pom.xml" id="org.eclipse.linuxtools.rpmstubby.contribution3">
			<menu label="%menu.label" path="additions"
				id="org.eclipse.linuxtools.rpmstubby.menu1" />
			<action label="%action.label"
				class="org.eclipse.linuxtools.rpmstubby.popup.actions.StubifyPomAction"
				menubarPath="org.eclipse.linuxtools.rpmstubby.menu1/group1"
				enablesFor="+" id="org.eclipse.linuxtools.rpmstubby.newAction" />
		</objectContribution>
	</extension>
	<extension point="org.eclipse.ui.preferencePages">
		<page category="org.eclipse.linuxtools.rpm.ui.editor.mainpage"
			class="org.eclipse.linuxtools.rpmstubby.preferences.StubbyPreferencePage"
			id="org.eclipse.linuxtools.rpmstubby.preferences.stubbyPreferencePage"
			name="%menu.label" />
	</extension>
	<extension point="org.eclipse.core.runtime.preferences">
		<initializer
			class="org.eclipse.linuxtools.rpmstubby.preferences.PreferenceInitializer">
		</initializer>
	</extension>

</plugin>

Back to the top