Package org.eclipse.ui.testing
Class ContributionInfo
- java.lang.Object
-
- org.eclipse.ui.testing.ContributionInfo
-
public class ContributionInfo extends java.lang.ObjectInstances of this class describe a contribution of an element of a certain type to the UI.- Since:
- 3.6
-
-
Constructor Summary
Constructors Constructor Description ContributionInfo(java.lang.String bundleId, java.lang.String elementType, IConfigurationElement configurationElement)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBundleId()IConfigurationElementgetConfigurationElement()java.lang.StringgetElementType()
-
-
-
Constructor Detail
-
ContributionInfo
public ContributionInfo(java.lang.String bundleId, java.lang.String elementType, IConfigurationElement configurationElement)Creates a new instance.- Parameters:
bundleId- the bundle IDelementType- a localized string describing the contribution (e.g., 'view', 'editor', 'preference page')configurationElement- an optional configuration element, ornull.
-
-
Method Detail
-
getBundleId
public java.lang.String getBundleId()
- Returns:
- Returns the bundleId.
-
getElementType
public java.lang.String getElementType()
- Returns:
- Returns the elementType, a localized string describing the contribution (e.g., 'view', 'editor', 'preference page').
-
getConfigurationElement
public IConfigurationElement getConfigurationElement()
- Returns:
- Returns the configurationElement or
nullif no configuration element is available.
-
-