Package org.eclipse.ui.internal
Class ProductInfo
java.lang.Object
org.eclipse.ui.internal.ProductInfo
Stores information about the product. This class replaces the old AboutInfo.
The product information is available as strings, but is needed as URLs, etc.
This class manages that translation.
- Since:
- 3.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the descriptor for an image which can be shown in an "about" dialog for this product.Returns the text to show in an "about" dialog for this product.Returns the application name ornull
.Returns the product name ornull
.Return an array of image descriptors for the window images to use for this product.
-
Constructor Details
-
ProductInfo
-
-
Method Details
-
getProductName
Returns the product name ornull
. This is shown in the window title and the About action.- Returns:
- the product name, or
null
-
getAppName
Returns the application name ornull
. Note this is never shown to the user. It is used to initialize the SWT Display.On Motif, for example, this can be used to set the name used for resource lookup.
- Returns:
- the application name, or
null
- See Also:
-
getAboutImage
Returns the descriptor for an image which can be shown in an "about" dialog for this product. Products designed to run "headless" typically would not have such an image.- Returns:
- the descriptor for an about image, or
null
if none
-
getWindowImages
Return an array of image descriptors for the window images to use for this product. The expectations is that the elements will be the same image rendered at different sizes. Products designed to run "headless" typically would not have such images.- Returns:
- an array of the image descriptors for the window images, or
null
if none
-
getAboutText
Returns the text to show in an "about" dialog for this product. Products designed to run "headless" typically would not have such text.- Returns:
- the about text, or
null
if none
-