|
org.eclipse.gmf.runtime.diagram.core.providers
Class ViewProviderConfiguration
java.lang.Object
org.eclipse.gmf.runtime.common.core.service.AbstractProviderConfiguration
org.eclipse.gmf.runtime.diagram.core.providers.ViewProviderConfiguration
-
public class ViewProviderConfiguration
- extends
AbstractProviderConfiguration
Method Summary
|
static
ViewProviderConfiguration
|
parse
(
IConfigurationElement configElement)
Builds a new provider contribution descriptor by parsing its configuration element |
boolean
|
supports
(java.lang.Class viewKind,
IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint)
Determines if the provider understands the given context
The provider understands the request if:
1- There are no listed provider contexts
2- The context matches one of the provider contexts |
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
|
parse
public static
ViewProviderConfiguration parse(
IConfigurationElement configElement)
- Builds a new provider contribution descriptor by parsing its configuration element
-
-
Parameters:
-
configElement - A provider configuration element
-
Returns:
- A provider XML contribution descriptor
supports
public boolean supports(java.lang.Class viewKind,
IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint)
- Determines if the provider understands the given context
The provider understands the request if:
1- There are no listed provider contexts
2- The context matches one of the provider contexts
-
-
Parameters:
-
viewKind - The view kind -
semanticAdapter - The semantic adapter -
containerView - The container view -
semanticHint - the factory hint
-
Returns:
- boolean
true if it supports; false otherwise
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.
|
|