|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProductConstants
These constants define the set of properties that the UI expects to
be available via IProduct.getProperty(String)
.
IProduct.getProperty(String)
Field Summary | |
---|---|
static java.lang.String |
ABOUT_IMAGE
An image which can be shown in an "about" dialog for this product. |
static java.lang.String |
ABOUT_TEXT
The text to show in an "about" dialog for this product. |
static java.lang.String |
APP_NAME
The SWT application name, used to initialize the SWT Display. |
static java.lang.String |
PREFERENCE_CUSTOMIZATION
A file for customizing default preference values for a product. |
static java.lang.String |
STARTUP_FOREGROUND_COLOR
The foreground color to be used when reporting progress at startup. |
static java.lang.String |
STARTUP_MESSAGE_RECT
The rectangle relative to the splash image's top left corner where messages for reporting progress at startup should be shown. |
static java.lang.String |
STARTUP_PROGRESS_RECT
The rectangle relative to the splash image's top left corner where the progress bar for reporting progress at startup should be shown. |
static java.lang.String |
WELCOME_PAGE
The product's welcome page (special XML-based format). |
static java.lang.String |
WINDOW_IMAGE
Deprecated. use WINDOW_IMAGES instead (see recommendations there) |
static java.lang.String |
WINDOW_IMAGES
An array of one or more images to be used for this product. |
Field Detail |
---|
static final java.lang.String APP_NAME
This value is used to refer to the application in .XDefaults files on X server based window systems such as Motif.
To obtain a human-readable name for the product, use
IProduct.getName()
.
Display.setAppName(java.lang.String)
,
Constant Field Valuesstatic final java.lang.String ABOUT_TEXT
static final java.lang.String ABOUT_IMAGE
The value is either a fully qualified valid URL or a path relative to the product's defining bundle.
A full-sized product image (no larger than 500x330 pixels) is shown without the "aboutText" blurb. A half-sized product image (no larger than 250x330 pixels) is shown with the "aboutText" blurb beside it.
static final java.lang.String PREFERENCE_CUSTOMIZATION
The contents must be the same format as a
Properties
file with the key/value pairs being:
qualifier/key=valueWhere
qualifier
is typically the bundle id.
static final java.lang.String WINDOW_IMAGE
The value is either a fully qualified valid URL or a path relative to the product's defining bundle.
If the WINDOW_IMAGES
property is given, then it supercedes
this one.
static final java.lang.String WINDOW_IMAGES
The value is a comma-separated list of paths, where each path is either a fully qualified valid URL or a path relative to the product's defining bundle.
If this property is given, then it supercedes WINDOW_IMAGE
.
It is recommended that products use WINDOW_IMAGES
rather than
WINDOW_IMAGE
, and specify both a 16x16 image and a 32x32 image,
to ensure that different sizes of the image are available for different uses
in the OS. For example, on Windows, the 16x16 image is used in the corner of
the window and in the task tray, but the 32x32 image is used in the Alt+Tab
application switcher.
static final java.lang.String WELCOME_PAGE
The value is either a fully qualified valid URL or a path relative to the product's defining bundle.
Products designed to run "headless" typically would not have such
a page. Use of this property is discouraged in 3.0, the new
org.eclipse.ui.intro
extension point should be used instead.
static final java.lang.String STARTUP_PROGRESS_RECT
The value is a comma-separated list of four integer values, specifying x, y, width, and height of the rectangle in pixel coordinates.
IWorkbenchPreferenceConstants.SHOW_PROGRESS_ON_STARTUP
,
Constant Field Valuesstatic final java.lang.String STARTUP_MESSAGE_RECT
The value is a comma-separated list of four integer values, specifying x, y, width, and height of the rectangle in pixel coordinates.
IWorkbenchPreferenceConstants.SHOW_PROGRESS_ON_STARTUP
,
Constant Field Valuesstatic final java.lang.String STARTUP_FOREGROUND_COLOR
The value is a six-digit hexadecimal number. The first two digits specify the red component of the color, the next two digits the green component, and the last two digits the blue component.
IWorkbenchPreferenceConstants.SHOW_PROGRESS_ON_STARTUP
,
Constant Field Values
|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.