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()
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.
|
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 |
start(BundleContext bundleContext) |
void |
stop(BundleContext bundleContext) |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
public 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 BundleActivator
start
in class org.eclipse.core.runtime.Plugin
Exception
public void stop(BundleContext bundleContext) throws Exception
stop
in interface BundleActivator
stop
in class org.eclipse.core.runtime.Plugin
Exception
public RankedAdapterFactoryDescriptor.Registry getAdapterFactoryRegistry()
public RankedAdapterFactoryDescriptor.Registry createFilteredAdapterFactoryRegistry()
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.IEclipsePreferences
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.