Team Content Providers
Identifier:
org.eclipse.team.ui.teamContentProviders
Since:
3.2
Description:
This extension point associates a model provider with a content provider. Repository providers will use this information to enable appropriate content providers when performing team operations.
Configuration Markup:
<!ELEMENT extension (teamContentProvider)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT teamContentProvider EMPTY>
<!ATTLIST teamContentProvider
modelProviderId IDREF #REQUIRED
contentExtensionId IDREF #REQUIRED
icon CDATA #IMPLIED
preferencePage CDATA #IMPLIED
supportsFlatLayout (true | false) >
Associates a model provder with a content extension.
- modelProviderId - The id of the org.eclipse.core.resoures.modelProvider extension which is associated with the content extension.
- contentExtensionId - The id of org.eclipse.ui.navigator.navigatorContent extension that is associated with this model provider.
- icon - An icon that will be used when showing this model in lists and menus.
- preferencePage - A preference page that can be displayed by views that host the content extension
- supportsFlatLayout - Indicates whether this content provider supports the flat layout. By default, content providers do not support the flat layout. See the PROP_PAGE_LAYOUT constant in class org.eclipse.team.ui.mapping.ITeamContentProviderManager for more information.
Examples:
Here is an example teamContentProvider extension
<extension
id="jdtContentProvider"
point="org.eclipse.team.ui.teamContentProviders">
<teamContentProvider
contentExtensionId="org.eclipse.jdt.ui.resourceContent"
modelProviderId="org.eclipse.jdt.ui.modelProvider"/>
</extension>
API Information:
The modelProviderId must correspond to a model provider registered with the org.eclipse.core.resources.modelProviders extension point. Similarly, the contentExtensionId must correspond to a navigator content extension registered with the org.eclipse.ui.navigator.navigatorContent extension point.
Supplied Implementation:
There is no implementation directly associated with this extension point.
Copyright (c) 2005, 2008 IBM Corporation and others.
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0 which
accompanies
this distribution, and is available at
https://www.eclipse.org/legal/epl-v20.html/
SPDX-License-Identifier: EPL-2.0