Eclipse Platform
Kepler (4.3)

org.eclipse.ui.testing
Class ContributionInfo

java.lang.Object
  extended by org.eclipse.ui.testing.ContributionInfo

public class ContributionInfo
extends java.lang.Object

Instances of this class describe a contribution of an element of a certain type to the UI.

Since:
3.6

Constructor Summary
ContributionInfo(java.lang.String bundleId, java.lang.String elementType, IConfigurationElement configurationElement)
          Creates a new instance.
 
Method Summary
 java.lang.String getBundleId()
           
 IConfigurationElement getConfigurationElement()
           
 java.lang.String getElementType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContributionInfo

public ContributionInfo(java.lang.String bundleId,
                        java.lang.String elementType,
                        IConfigurationElement configurationElement)
Creates a new instance.

Parameters:
bundleId -
elementType - a localized string describing the contribution (e.g., 'view', 'editor', 'preference page')
configurationElement - an optional configuration element, or null.
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 null if no configuration element is available.

Eclipse Platform
Kepler (4.3)

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2012. All rights reserved.