public abstract class AbstractStructuredReferenceService
extends org.eclipse.gmf.runtime.common.core.service.Service
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractStructuredReferenceService(boolean optimized,
boolean optimistic)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected com.ibm.xtools.mmi.core.ref.StructuredReferenceModifier |
createModifier(java.util.Set providerIds)
Creates StructuredReferenceModifier for the specified
providerIds |
protected abstract StructuredReference |
internalGetStructuredReferenceFromSRef(java.lang.Object referencedContext,
java.lang.String sRefString,
com.ibm.xtools.mmi.core.internal.ref.InternalStructuredReference reference)
Finds an appropriate
IStructuredReferenceHandler based on provider ID encoded in specified sRefString and
returns the result of querying the StructuredReferenceService. |
addProvider, clearCache, configureProviders, configureProviders, createPriorityCache, execute, executeUnique, getAllProviders, getCachingKey, getPriority, getProviders, isOptimistic, isOptimized, newProviderDescriptor, providerChanged, provides, provides, removeProvideraddProviderChangeListener, fireProviderChange, removeProviderChangeListenerprotected AbstractStructuredReferenceService(boolean optimized,
boolean optimistic)
optimized - Flag to make the service optimizedoptimistic - Flag to make the service optimisticprotected com.ibm.xtools.mmi.core.ref.StructuredReferenceModifier createModifier(java.util.Set providerIds)
providerIdsproviderIds - Provider Ids for the modifier.protected abstract StructuredReference internalGetStructuredReferenceFromSRef(java.lang.Object referencedContext, java.lang.String sRefString, com.ibm.xtools.mmi.core.internal.ref.InternalStructuredReference reference)
IStructuredReferenceHandler based on provider ID encoded in specified sRefString and
returns the result of querying the StructuredReferenceService.referencedContext - Context in which this reference will be used, usually an instance of TransactionalEditingDomainsRefString - serialized form of the StructuredReferencereference - the StructuredReference to check the cache forsRefString