|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.compare.diff.service.DiffEngineDescriptor
public class DiffEngineDescriptor
The engine descriptor represents an engine contribution trough the extension point.
| Field Summary | |
|---|---|
protected org.eclipse.core.runtime.IConfigurationElement |
element
Configuration element of this descriptor. |
protected java.lang.String |
engineClassName
Class name of this engine. |
protected java.lang.String |
fileExtension
File extensions this engine takes into account. |
protected java.lang.String |
icon
Icon of this engine. |
protected java.lang.String |
label
Label of this engine. |
protected java.lang.String |
priority
Priority of this descriptor. |
| Constructor Summary | |
|---|---|
DiffEngineDescriptor(org.eclipse.core.runtime.IConfigurationElement configuration)
Instantiate the descriptor given its configuration. |
|
| Method Summary | |
|---|---|
int |
compareTo(DiffEngineDescriptor other)
|
boolean |
equals(java.lang.Object obj)
|
org.eclipse.core.runtime.IConfigurationElement |
getElement()
Returns the configuration element. |
java.lang.String |
getEngineClassName()
Returns the qualified name of the engine's class. |
IDiffEngine |
getEngineInstance()
Returns the engine instance. |
java.lang.String |
getFileExtension()
Returns the file extension this engine should handle. |
java.lang.String |
getIcon()
Returns the icon that represents the wrapped engine. |
java.lang.String |
getLabel()
Returns the label that represents the wrapped engine. |
java.lang.String |
getPriority()
Returns the engine priority. |
int |
getPriorityValue()
Returns the value of the priority of this engine. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.eclipse.core.runtime.IConfigurationElement element
protected final java.lang.String engineClassName
protected final java.lang.String fileExtension
protected final java.lang.String label
protected final java.lang.String icon
protected final java.lang.String priority
EngineConstants.PRIORITY_HIGHESTEngineConstants.PRIORITY_HIGHEngineConstants.PRIORITY_NORMALEngineConstants.PRIORITY_LOWEngineConstants.PRIORITY_LOWEST
| Constructor Detail |
|---|
public DiffEngineDescriptor(org.eclipse.core.runtime.IConfigurationElement configuration)
configuration - configuration element of this descriptor.| Method Detail |
|---|
public int compareTo(DiffEngineDescriptor other)
compareTo in interface java.lang.Comparable<DiffEngineDescriptor>Comparable.compareTo(java.lang.Object)public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public org.eclipse.core.runtime.IConfigurationElement getElement()
public java.lang.String getEngineClassName()
public IDiffEngine getEngineInstance()
public java.lang.String getFileExtension()
public java.lang.String getIcon()
public java.lang.String getLabel()
public java.lang.String getPriority()
public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public int getPriorityValue()
priority :
int corresponding to this engine priority.
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||