|
||||||||||
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 java.lang.String |
contentType
Content type this engine takes into account. |
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 |
namespace
Namespace this engine takes into account. |
protected java.lang.String |
namespacePattern
Namespace pattern this engine takes into account. |
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)
|
java.lang.String |
getContentType()
Returns the content type this engine should handle. |
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 |
getNamespace()
Returns the namespace this engine should handle. |
java.lang.String |
getNamespacePattern()
Returns the namespace pattern this engine should handle. |
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 java.lang.String contentType
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 icon
protected final java.lang.String label
protected final java.lang.String namespace
protected final java.lang.String namespacePattern
protected final java.lang.String priority
EngineConstants.PRIORITY_HIGHEST
EngineConstants.PRIORITY_HIGH
EngineConstants.PRIORITY_NORMAL
EngineConstants.PRIORITY_LOW
EngineConstants.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.Object
Object.equals(java.lang.Object)
public java.lang.String getContentType()
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 getNamespace()
public java.lang.String getNamespacePattern()
public java.lang.String getPriority()
public int getPriorityValue()
priority
:
int
corresponding to this engine priority.public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
|
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 |