blob: a9397935a049d51aabc007ff13107285ee8d3db8 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
Copyright (c) 2014, 2015 Eike Stepper (Berlin, Germany) and others.
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:
Eike Stepper - initial API and implementation
-->
<plugin>
<extension-point id="profileTypes" name="Profile Types" schema="schema/profileTypes.exsd"/>
<extension
point="org.eclipse.ui.preferencePages">
<page
category="org.eclipse.oomph.ui.preferences.OomphPreferencePage"
id="org.eclipse.oomph.p2.ui.AgentManagerPreferencePage"
class="org.eclipse.oomph.p2.internal.ui.AgentManagerPreferencePage"
name="Bundle Pools">
</page>
</extension>
<extension
point="org.eclipse.oomph.p2.ui.profileTypes">
<profileType
icon="icons/obj16/profileEclipse.gif"
label="Installation Profile"
name="Installation"/>
<profileType
icon="icons/obj16/profileTarglet.gif"
label="Targlet Profile"
name="Targlet"/>
</extension>
<extension
point="org.eclipse.ui.views">
<view
category="org.eclipse.oomph.views"
class="org.eclipse.oomph.p2.internal.ui.RepositoryExplorer"
icon="icons/obj16/repository.gif"
id="org.eclipse.oomph.p2.ui.RepositoryExplorer"
name="Repository Explorer">
</view>
</extension>
<extension
point="org.eclipse.ui.commands">
<category
name="Oomph"
id="org.eclipse.oomph">
</category>
<command
categoryId="org.eclipse.oomph"
id="org.eclipse.oomph.p2.ui.ExploreRepository"
name="Explore Repository">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
commandId="org.eclipse.oomph.p2.ui.ExploreRepository">
<class
class="org.eclipse.oomph.p2.internal.ui.ExploreRepositoryHandler">
</class>
<activeWhen>
<iterate
ifEmpty="false">
<adapt
type="org.eclipse.oomph.p2.Repository">
</adapt>
</iterate>
</activeWhen>
</handler>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.ui.popup.any">
<command
commandId="org.eclipse.oomph.p2.ui.ExploreRepository"
icon="icons/obj16/repository.gif"
label="Explore"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
</menuContribution>
<menuContribution
locationURI="toolbar:org.eclipse.oomph.p2.ui.RepositoryExplorer?after=modes">
<command
commandId="org.eclipse.oomph.ui.ToggleOfflineMode"
icon="icons/offline.gif"
id="org.eclipse.oomph.p2.ui.RepositoryExplorer.offline"
style="toggle"
tooltip="Offline Mode">
</command>
</menuContribution>
</extension>
</plugin>