Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Plug-in Developer Guide
Previous Page Home Next Page

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>

Supplied Implementation:
There is no implementation directly associated with this extension point.


Copyright (c) 2005, 2008 IBM Corporation 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 https://www.eclipse.org/legal/epl-v10.html


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire