| java.lang.Object org.eclipse.ui.internal.ProductInfo
ProductInfo | public class ProductInfo (Code) | | 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 | |
public | ProductInfo(IProduct product) |
Method Summary | |
public ImageDescriptor | getAboutImage() Returns the descriptor for an image which can be shown in an "about" dialog
for this product. | public String | getAboutText() Returns the text to show in an "about" dialog for this product. | public String | getAppName() Returns the application name or null . | public String | getProductName() Returns the product name or null . | public ImageDescriptor[] | getWindowImages() Return an array of image descriptors for the window images to use for
this product. |
ProductInfo | public ProductInfo(IProduct product)(Code) | | |
getAboutImage | public ImageDescriptor getAboutImage()(Code) | | 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.
the descriptor for an about image, or null if none |
getAboutText | public String getAboutText()(Code) | | Returns the text to show in an "about" dialog for this product.
Products designed to run "headless" typically would not have such text.
the about text, or null if none |
getAppName | public String getAppName()(Code) | | Returns the application name or null . 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.
the application name, or null See Also: org.eclipse.swt.widgets.Display.setAppName |
getProductName | public String getProductName()(Code) | | Returns the product name or null .
This is shown in the window title and the About action.
the product name, or null |
getWindowImages | public ImageDescriptor[] getWindowImages()(Code) | | 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.
an array of the image descriptors for the window images, ornull if none |
|
|