Package org.eclipse.ui.internal
Class BundleGroupProperties
java.lang.Object
org.eclipse.ui.internal.BrandingProperties
org.eclipse.ui.internal.BundleGroupProperties
- All Implemented Interfaces:
- IBundleGroupConstants
A class that converts the strings returned by
 
org.eclipse.core.runtime.IBundleGroup.getProperty to the
 appropriate class. This implementation is tightly bound to the properties
 provided in IBundleGroupConstants. Clients adding their own properties could
 choose to subclass this.- Since:
- 3.0
- See Also:
- 
Field SummaryFields inherited from interface org.eclipse.ui.branding.IBundleGroupConstantsABOUT_TEXT, BRANDING_BUNDLE_ID, BRANDING_BUNDLE_VERSION, FEATURE_IMAGE, LICENSE_HREF, TIPS_AND_TRICKS_HREF, WELCOME_PAGE, WELCOME_PERSPECTIVE
- 
Constructor SummaryConstructorsConstructorDescriptionBundleGroupProperties(IBundleGroup bundleGroup) This instance will return properties from the given bundle group.
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringgetBrandingBundleId(IBundleGroup bundleGroup) A Feature's branding plugin id.static StringgetBrandingBundleVersion(IBundleGroup bundleGroup) A Feature's branding plugin version.Returns the id for this bundleGroup.static StringgetFeatureId(IBundleGroup bundleGroup) Returns the id for this bundleGroup.An image which can be shown in an "about features" dialog (32x32).static ImageDescriptorgetFeatureImage(IBundleGroup bundleGroup) An image which can be shown in an "about features" dialog (32x32).The URL to an image which can be shown in an "about features" dialog (32x32).static URLgetFeatureImageUrl(IBundleGroup bundleGroup) The URL to an image which can be shown in an "about features" dialog (32x32).Returns a label for the feature plugn, ornull.static StringgetFeatureLabel(IBundleGroup bundleGroup) Returns a label for the feature plugn, ornull.Returns the feature version id.static StringgetFeatureVersion(IBundleGroup bundleGroup) Returns the feature version id.A URL for the feature's license page.static URLgetLicenseUrl(IBundleGroup bundleGroup) A URL for the feature's license page.Returns the provider name.static StringgetProviderName(IBundleGroup bundleGroup) Returns the provider name.A help reference for the feature's tips and tricks page (optional).static StringgetTipsAndTricksHref(IBundleGroup bundleGroup) A help reference for the feature's tips and tricks page (optional).A URL for the feature's welcome page (special XML-based format) ($nl$/ prefix to permit locale-specific translations of entire file).static URLgetWelcomePageUrl(IBundleGroup bundleGroup) A URL for the feature's welcome page (special XML-based format) ($nl$/ prefix to permit locale-specific translations of entire file).The id of a perspective in which to show the welcome page (optional).static StringgetWelcomePerspective(IBundleGroup bundleGroup) The id of a perspective in which to show the welcome page (optional).Methods inherited from class org.eclipse.ui.internal.BrandingPropertiesgetImage, getImages, getUrl, getURLs
- 
Constructor Details- 
BundleGroupPropertiesThis instance will return properties from the given bundle group. The properties are retrieved in a lazy fashion and cached for later retrieval.- Parameters:
- bundleGroup- must not be null
 
 
- 
- 
Method Details- 
getFeatureImageAn image which can be shown in an "about features" dialog (32x32).
- 
getFeatureImageUrlThe URL to an image which can be shown in an "about features" dialog (32x32).
- 
getTipsAndTricksHrefA help reference for the feature's tips and tricks page (optional).
- 
getWelcomePageUrlA URL for the feature's welcome page (special XML-based format) ($nl$/ prefix to permit locale-specific translations of entire file). Products designed to run "headless" typically would not have such a page.
- 
getWelcomePerspectiveThe id of a perspective in which to show the welcome page (optional).
- 
getLicenseUrlA URL for the feature's license page.
- 
getFeatureLabelReturns a label for the feature plugn, ornull.
- 
getFeatureIdReturns the id for this bundleGroup.
- 
getProviderNameReturns the provider name.
- 
getFeatureVersionReturns the feature version id.
- 
getBrandingBundleId- Returns:
- the branding plugin id, or null
 
- 
getBrandingBundleVersion- Returns:
- the branding plugin version, or null
 
- 
getFeatureImageAn image which can be shown in an "about features" dialog (32x32).
- 
getFeatureImageUrlThe URL to an image which can be shown in an "about features" dialog (32x32).
- 
getTipsAndTricksHrefA help reference for the feature's tips and tricks page (optional).
- 
getWelcomePageUrlA URL for the feature's welcome page (special XML-based format) ($nl$/ prefix to permit locale-specific translations of entire file). Products designed to run "headless" typically would not have such a page.
- 
getWelcomePerspectiveThe id of a perspective in which to show the welcome page (optional).
- 
getLicenseUrlA URL for the feature's license page.
- 
getFeatureLabelReturns a label for the feature plugn, ornull.
- 
getFeatureIdReturns the id for this bundleGroup.
- 
getProviderNameReturns the provider name.
- 
getFeatureVersionReturns the feature version id.
- 
getBrandingBundleIdA Feature's branding plugin id.- Returns:
- the ID or nullif not provided.
 
- 
getBrandingBundleVersionA Feature's branding plugin version.- Returns:
- the version, or nullif not provided.
 
 
-