public class EMFCompareRCPPlugin
extends org.eclipse.core.runtime.Plugin
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFLICT_DETECTOR_PPID
The id of the conflict engine extension point.
|
static String |
DIFF_ENGINE_PPID
The id of the diff engine extension point.
|
static String |
EQUI_ENGINE_PPID
The id of the equi engine extension point.
|
static String |
FACTORY_PPID
The id of the adapter factory extension point.
|
static String |
LOAD_ON_DEMAND_POLICY_PPID
The id of the load on demand policy extension point.
|
static String |
MATCH_ENGINE_PPID
The id of the match extension point.
|
static String |
MERGER_PPID
The id of the merger extension point.
|
static String |
PLUGIN_ID
The plug-in ID.
|
static String |
POST_PROCESSOR_PPID
The id of the post processor extension point.
|
static String |
REQ_ENGINE_PPID
The id of the req engine extension point.
|
static String |
WEIGHT_PROVIDER_PPID
The id of the weight provider extension point.
|
| Constructor and Description |
|---|
EMFCompareRCPPlugin() |
| Modifier and Type | Method and Description |
|---|---|
RankedAdapterFactoryDescriptor.Registry |
createFilteredAdapterFactoryRegistry()
Deprecated.
Use
#createFilteredAdapterFactoryRegistry(Comparison) to take the context into
consideration. If no comparison context is available, use an empty context. |
RankedAdapterFactoryDescriptor.Registry |
createFilteredAdapterFactoryRegistry(Map<Object,Object> context)
Returns a new instance of EMF Compare adapter factory descriptor registry to which extension will be
registered.
|
RankedAdapterFactoryDescriptor.Registry |
getAdapterFactoryRegistry()
Returns the adapter factory descriptor registry to which extension will be registered.
|
IItemRegistry<IConflictDetector> |
getConflictDetectorDescriptorRegistry()
Returns the registry of Conflict detector.
|
static EMFCompareRCPPlugin |
getDefault()
Returns the shared instance.
|
IItemRegistry<IDiffEngine> |
getDiffEngineDescriptorRegistry()
Returns the registry of Differences engines.
|
org.eclipse.core.runtime.preferences.IEclipsePreferences |
getEMFComparePreferences()
Get the
IEclipsePreferences for this plugin. |
IItemRegistry<IEquiEngine> |
getEquiEngineDescriptorRegistry()
Returns the registry of Equivalences engines.
|
IGraphView<URI> |
getGraphView(String id)
Return the graph view associated with the given id, or null if it does not exist.
|
ILoadOnDemandPolicy.Registry |
getLoadOnDemandPolicyRegistry()
Returns the registry of load on demand policies.
|
IItemRegistry<IMatchEngine.Factory> |
getMatchEngineFactoryDescriptorRegistry()
Returns the match engine factory registry to which extension will be registered.
|
IMatchEngine.Factory.Registry |
getMatchEngineFactoryRegistry()
Returns the match engine factory registry to which extension will be registered.
|
IMerger.Registry |
getMergerRegistry()
Returns the merger registry to which extension will be registered.
|
IItemRegistry<IPostProcessor.Descriptor> |
getPostProcessorDescriptorRegistry()
Get the
IItemRegistry of IPostProcessor.Descriptor. |
IPostProcessor.Descriptor.Registry<String> |
getPostProcessorRegistry()
Returns the post processor registry to which extension will be registered.
|
IItemRegistry<IReqEngine> |
getReqEngineDescriptorRegistry()
Returns the registry of Requirements engines.
|
WeightProvider.Descriptor.Registry |
getWeightProviderRegistry()
Returns the registry of weight providers.
|
void |
log(int severity,
String message)
Log the given message with the given severity to the logger of this plugin.
|
void |
register(IGraphConsumer consumer)
This method creates a new Graph of URI, passes it to the given consumer and then keeps track of the
given graph to be able to provide a read only view of it on demand.
|
void |
start(BundleContext bundleContext) |
void |
stop(BundleContext bundleContext) |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toStringpublic static final String PLUGIN_ID
public static final String POST_PROCESSOR_PPID
public static final String DIFF_ENGINE_PPID
public static final String EQUI_ENGINE_PPID
public static final String REQ_ENGINE_PPID
public static final String CONFLICT_DETECTOR_PPID
public static final String WEIGHT_PROVIDER_PPID
public static final String LOAD_ON_DEMAND_POLICY_PPID
public static final String MERGER_PPID
public static final String MATCH_ENGINE_PPID
public static final String FACTORY_PPID
public void start(BundleContext bundleContext) throws Exception
start in interface BundleActivatorstart in class org.eclipse.core.runtime.PluginExceptionpublic void stop(BundleContext bundleContext) throws Exception
stop in interface BundleActivatorstop in class org.eclipse.core.runtime.PluginExceptionpublic RankedAdapterFactoryDescriptor.Registry getAdapterFactoryRegistry()
@Deprecated public RankedAdapterFactoryDescriptor.Registry createFilteredAdapterFactoryRegistry()
#createFilteredAdapterFactoryRegistry(Comparison) to take the context into
consideration. If no comparison context is available, use an empty context.public RankedAdapterFactoryDescriptor.Registry createFilteredAdapterFactoryRegistry(Map<Object,Object> context)
context - context for the adapter factories. This context cannot be null but may be empty.public IMerger.Registry getMergerRegistry()
public IPostProcessor.Descriptor.Registry<String> getPostProcessorRegistry()
public IItemRegistry<IPostProcessor.Descriptor> getPostProcessorDescriptorRegistry()
IItemRegistry of IPostProcessor.Descriptor.IItemRegistry of IPostProcessor.Descriptor.public ILoadOnDemandPolicy.Registry getLoadOnDemandPolicyRegistry()
public IItemRegistry<IDiffEngine> getDiffEngineDescriptorRegistry()
public IItemRegistry<IEquiEngine> getEquiEngineDescriptorRegistry()
public IItemRegistry<IReqEngine> getReqEngineDescriptorRegistry()
public IItemRegistry<IConflictDetector> getConflictDetectorDescriptorRegistry()
public WeightProvider.Descriptor.Registry getWeightProviderRegistry()
public IMatchEngine.Factory.Registry getMatchEngineFactoryRegistry()
public IItemRegistry<IMatchEngine.Factory> getMatchEngineFactoryDescriptorRegistry()
public void log(int severity,
String message)
severity - the severity of the message.message - the message to log.public static EMFCompareRCPPlugin getDefault()
public org.eclipse.core.runtime.preferences.IEclipsePreferences getEMFComparePreferences()
IEclipsePreferences for this plugin.IEclipsePreferencespublic void register(IGraphConsumer consumer)
consumer - An instance of graph consumer, for instance the ThreadedModelResolver instance.IllegalArgumentException - if the consumer uses an ID that is already registered.public IGraphView<URI> getGraphView(String id)
id - The id of the graph
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.