org.eclipse.emf.compare.diff.service
Class DiffExtensionDescriptor

java.lang.Object
  extended by org.eclipse.emf.compare.diff.service.DiffExtensionDescriptor

public class DiffExtensionDescriptor
extends java.lang.Object

The engine descriptor represents a diff extension contribution trough the extension point.


Field Summary
protected  java.lang.String diffextensionClassName
          Class name of this DiffExtension.
protected  org.eclipse.core.runtime.IConfigurationElement element
          Configuration element of this descriptor.
protected  java.lang.String fileExtension
          File extension on which applying this diff extension.
 
Constructor Summary
DiffExtensionDescriptor(org.eclipse.core.runtime.IConfigurationElement configuration)
          Instantiate the descriptor given its configuration.
 
Method Summary
 java.lang.String getdDiffExtensionClassName()
          Returns this DiffExtension class name.
 AbstractDiffExtension getDiffExtensionInstance()
          Returns this DiffExtension instance.
 java.lang.String getFileExtension()
          Returns the file extension associated with this contribution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

diffextensionClassName

protected final java.lang.String diffextensionClassName
Class name of this DiffExtension.


element

protected final org.eclipse.core.runtime.IConfigurationElement element
Configuration element of this descriptor.


fileExtension

protected final java.lang.String fileExtension
File extension on which applying this diff extension.

Constructor Detail

DiffExtensionDescriptor

public DiffExtensionDescriptor(org.eclipse.core.runtime.IConfigurationElement configuration)
Instantiate the descriptor given its configuration.

Parameters:
configuration - configuration element of this descriptor.
Method Detail

getdDiffExtensionClassName

public java.lang.String getdDiffExtensionClassName()
Returns this DiffExtension class name.

Returns:
The diff extension class name.

getDiffExtensionInstance

public AbstractDiffExtension getDiffExtensionInstance()
Returns this DiffExtension instance.

Returns:
the diff extension instance.

getFileExtension

public java.lang.String getFileExtension()
Returns the file extension associated with this contribution.

Returns:
The file extension associated with this contribution.

Copyright 2006 IBM Corporation and others.
All Rights Reserved.