public class ExtensionClassDescriptor<T>
extends java.lang.Object
Constructor and Description |
---|
ExtensionClassDescriptor(org.eclipse.core.runtime.IConfigurationElement configurationElement)
Create an
ExtensionClassDescriptor wrapped around a configuration element |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClassName() |
java.lang.String |
getContributorPluginId() |
java.lang.String |
getId() |
T |
getInstance()
Returns a cached instance of the class creating one if necessary
|
java.lang.String |
getOverride() |
int |
hashCode() |
T |
newInstance()
Creates a new extension class instance.
|
boolean |
overrides(ExtensionClassDescriptor<?> otherDescriptor)
Determines if this service registration dominates another service registration.
|
public ExtensionClassDescriptor(org.eclipse.core.runtime.IConfigurationElement configurationElement)
ExtensionClassDescriptor
wrapped around a configuration elementconfigurationElement
- the configuration elementpublic java.lang.String getContributorPluginId()
public java.lang.String getId()
public java.lang.String getClassName()
public java.lang.String getOverride()
public T getInstance() throws java.lang.Exception
java.lang.Exception
public T newInstance() throws java.lang.Exception
java.lang.Exception
public boolean overrides(ExtensionClassDescriptor<?> otherDescriptor)
otherService
- the other service registration for which the domination relation is to be determinedtrue
if the other service registration is dominated, otherwise false
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object