|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The team content provider manager provides access to the content
extenstions registered with the org.eclipse.team.ui.teamContentProviders
extension point. A team content provider defines a mapping between
a ModelProvider
and a content extension registered with
the org.eclipse.ui.navigator.navigatorContent
extension point.
TeamUI.getTeamContentProviderManager()
,
ModelProvider
Field Summary | |
---|---|
static String |
P_SYNCHRONIZATION_CONTEXT
Property constant used to store and retrieve the synchronization context from the IExtensionStateModel used by
the Common Navigator framework. |
static String |
P_SYNCHRONIZATION_PAGE_CONFIGURATION
Property constant used to store and retrieve the synchronization page configuration from the IExtensionStateModel used by the Common
Navigator framework. |
static String |
P_SYNCHRONIZATION_SCOPE
Property constant used to store and retrieve the resource mapping scope from the IExtensionStateModel used by
the Common Navigator framework. |
static String |
PROP_ENABLED_MODEL_PROVIDERS
Property constant used during property change notification to indicate that one one or more model providers have either been enabled or disabled. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(IPropertyChangeListener listener)
Add a property change listener to the manager. |
String[] |
getContentProviderIds(ISynchronizationScope scope)
Convenience method that returns the list of all enabled content extension ids for models that have mappings in the given scope. |
ITeamContentProviderDescriptor |
getDescriptor(String modelProviderId)
Return the team content provider descriptor for the given model provider id. |
ITeamContentProviderDescriptor[] |
getDescriptors()
Return descriptors for all the registered content extensions. |
void |
removePropertyChangeListener(IPropertyChangeListener listener)
Remove a property change listener from the manager. |
Field Detail |
public static final String P_SYNCHRONIZATION_PAGE_CONFIGURATION
IExtensionStateModel
used by the Common
Navigator framework.
public static final String P_SYNCHRONIZATION_CONTEXT
IExtensionStateModel
used by
the Common Navigator framework. It is also used to associate a context
with an ISynchronizePageConfiguration
when models are being
shown in an ISynchronizePage
.
public static final String P_SYNCHRONIZATION_SCOPE
IExtensionStateModel
used by
the Common Navigator framework. It is also used to associate a scope
with an ISynchronizePageConfiguration
when models are being
shown in an ISynchronizePage
.
public static final String PROP_ENABLED_MODEL_PROVIDERS
Method Detail |
public ITeamContentProviderDescriptor[] getDescriptors()
public ITeamContentProviderDescriptor getDescriptor(String modelProviderId)
null
is
returned if no extension is registered.
modelProviderId
- the model provider id
null
public void addPropertyChangeListener(IPropertyChangeListener listener)
listener
- the listenerpublic void removePropertyChangeListener(IPropertyChangeListener listener)
listener
- the listenerpublic String[] getContentProviderIds(ISynchronizationScope scope)
scope
- the scope
|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.