Package org.eclipse.ui.testing
Class ContributionInfo
java.lang.Object
org.eclipse.ui.testing.ContributionInfo
Instances of this class describe a contribution of an element of a certain
type to the UI.
- Since:
- 3.6
-
Constructor Summary
ConstructorDescriptionContributionInfo
(String bundleId, String elementType, IConfigurationElement configurationElement) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
ContributionInfo
public ContributionInfo(String bundleId, 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 Details
-
getBundleId
- Returns:
- Returns the bundleId.
-
getElementType
- Returns:
- Returns the elementType, a localized string describing the contribution (e.g., 'view', 'editor', 'preference page').
-
getConfigurationElement
- Returns:
- Returns the configurationElement or
null
if no configuration element is available.
-