Package org.eclipse.jface.dialogs
Interface IDialogConstants
public interface IDialogConstants
IDialogConstants is the interface for common dialog strings and ids used throughout JFace. It is
recommended that you use these labels and ids wherever for consistency with the JFace dialogs.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Button id for an "Abort" button (value 7).static final String
The label for abort buttons.static final int
Button id for a "Back" button (value 14).static final String
The label for back buttons.static final int
Height of button bar in dialog units (value 25).static final int
Deprecated.This constant is no longer in use.static final int
Button margin in dialog units (value 4).static final int
Button width in dialog units (value 61).static final int
Button id for a "Cancel" button (value 1).static final String
The label for cancel buttons.static final int
Starting button id reserved for use by clients of JFace (value 1024).static final int
Button id for a "Close" button (value 12).static final String
The label for close buttons.static final int
Button id for a "Deselect All" button (value 19).static final int
Button id for a "Details" button (value 13).static final int
Entry field width in dialog units (value 200).static final int
Button id for a "Finish" button (value 16).static final String
The label for finish buttons.static final int
Button id for a "Help" button (value 17).static final String
The label for help buttons.static final String
The label for hide details buttons.static final int
Horizontal margin in dialog units (value 7).static final int
Horizontal spacing in dialog units (value 4).static final int
Button id for an "Ignore" button (value 9).static final String
The label for ignore buttons.static final int
Deprecated.As of 3.9, this is deprecated as it is too big as DLU and got accidentally used when setting pixel valuesstatic final int
Starting button id reserved for internal use by JFace (value 256).static final int
Left margin in dialog units (value 20).static final int
Minimum width of message area in dialog units (value 300).static final int
Button id for a "Next" button (value 15).static final String
The label for next buttons.static final int
Button id for a "No" button (value 3).static final String
The label for no buttons.static final int
Button id for a "No to All" button (value 21).static final String
The label for not to all buttons.static final int
Button id for an "Ok" button (value 0).static final String
The label for OK buttons.static final int
Button id for an "Open" button (value 11).static final String
The label for open buttons.static final int
Button id for a "Proceed" button (value 10).static final String
The label for proceed buttons.static final int
Button id for a "Retry" button (value 8).static final String
The label for retry buttons.static final int
Button id for a "Select All" button (value 18).static final int
Button id for a "Select types" button (value 20).static final String
The label for show details buttons.static final int
Button id for a "Skip" button (value 5).static final String
The label for skip buttons.static final int
Deprecated.As of 3.9, this is deprecated as it is not clear what the meaning of a "small indent" would bestatic final int
Button id for a "Stop" button (value 6).static final String
The label for stop buttons.static final int
Vertical margin in dialog units (value 7).static final int
Vertical spacing in dialog units (value 4).static final int
Button id for a "Yes" button (value 2).static final String
The label for yes buttons.static final int
Button id for a "Yes to All" button (value 4).static final String
The label for yes to all buttons.
-
Field Details
-
OK_ID
static final int OK_IDButton id for an "Ok" button (value 0).- See Also:
-
CANCEL_ID
static final int CANCEL_IDButton id for a "Cancel" button (value 1).- See Also:
-
YES_ID
static final int YES_IDButton id for a "Yes" button (value 2).- See Also:
-
NO_ID
static final int NO_IDButton id for a "No" button (value 3).- See Also:
-
YES_TO_ALL_ID
static final int YES_TO_ALL_IDButton id for a "Yes to All" button (value 4).- See Also:
-
SKIP_ID
static final int SKIP_IDButton id for a "Skip" button (value 5).- See Also:
-
STOP_ID
static final int STOP_IDButton id for a "Stop" button (value 6).- See Also:
-
ABORT_ID
static final int ABORT_IDButton id for an "Abort" button (value 7).- See Also:
-
RETRY_ID
static final int RETRY_IDButton id for a "Retry" button (value 8).- See Also:
-
IGNORE_ID
static final int IGNORE_IDButton id for an "Ignore" button (value 9).- See Also:
-
PROCEED_ID
static final int PROCEED_IDButton id for a "Proceed" button (value 10).- See Also:
-
OPEN_ID
static final int OPEN_IDButton id for an "Open" button (value 11).- See Also:
-
CLOSE_ID
static final int CLOSE_IDButton id for a "Close" button (value 12).- See Also:
-
DETAILS_ID
static final int DETAILS_IDButton id for a "Details" button (value 13).- See Also:
-
BACK_ID
static final int BACK_IDButton id for a "Back" button (value 14).- See Also:
-
NEXT_ID
static final int NEXT_IDButton id for a "Next" button (value 15).- See Also:
-
FINISH_ID
static final int FINISH_IDButton id for a "Finish" button (value 16).- See Also:
-
HELP_ID
static final int HELP_IDButton id for a "Help" button (value 17).- See Also:
-
SELECT_ALL_ID
static final int SELECT_ALL_IDButton id for a "Select All" button (value 18).- See Also:
-
DESELECT_ALL_ID
static final int DESELECT_ALL_IDButton id for a "Deselect All" button (value 19).- See Also:
-
SELECT_TYPES_ID
static final int SELECT_TYPES_IDButton id for a "Select types" button (value 20).- See Also:
-
NO_TO_ALL_ID
static final int NO_TO_ALL_IDButton id for a "No to All" button (value 21).- See Also:
-
INTERNAL_ID
static final int INTERNAL_IDStarting button id reserved for internal use by JFace (value 256). JFace classes make ids by adding to this number.- See Also:
-
CLIENT_ID
static final int CLIENT_IDStarting button id reserved for use by clients of JFace (value 1024). Clients of JFace should make ids by adding to this number.- See Also:
-
OK_LABEL
The label for OK buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.OK_LABEL_KEY)
so that a locale other than the default may be consulted. -
CANCEL_LABEL
The label for cancel buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.CANCEL_LABEL_KEY)
so that a locale other than the default may be consulted. -
YES_LABEL
The label for yes buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.YES_LABEL_KEY)
so that a locale other than the default may be consulted. -
NO_LABEL
The label for no buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.NO_LABEL_KEY)
so that a locale other than the default may be consulted. -
NO_TO_ALL_LABEL
The label for not to all buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.NO_TO_ALL_LABEL_KEY)
so that a locale other than the default may be consulted. -
YES_TO_ALL_LABEL
The label for yes to all buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.YES_TO_ALL_LABEL_KEY)
so that a locale other than the default may be consulted. -
SKIP_LABEL
The label for skip buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.SKIP_LABEL_KEY)
so that a locale other than the default may be consulted. -
STOP_LABEL
The label for stop buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.STOP_LABEL_KEY)
so that a locale other than the default may be consulted. -
ABORT_LABEL
The label for abort buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.ABORT_LABEL_KEY)
so that a locale other than the default may be consulted. -
RETRY_LABEL
The label for retry buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.RETRY_LABEL_KEY)
so that a locale other than the default may be consulted. -
IGNORE_LABEL
The label for ignore buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.IGNORE_LABEL_KEY)
so that a locale other than the default may be consulted. -
PROCEED_LABEL
The label for proceed buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.PROCEED_LABEL_KEY)
so that a locale other than the default may be consulted. -
OPEN_LABEL
The label for open buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.OPEN_LABEL_KEY)
so that a locale other than the default may be consulted. -
CLOSE_LABEL
The label for close buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.CLOSE_LABEL_KEY)
so that a locale other than the default may be consulted. -
SHOW_DETAILS_LABEL
The label for show details buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.SHOW_DETAILS_LABEL_KEY)
so that a locale other than the default may be consulted. -
HIDE_DETAILS_LABEL
The label for hide details buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.HIDE_DETAILS_LABEL_KEY)
so that a locale other than the default may be consulted. -
BACK_LABEL
The label for back buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.BACK_LABEL_KEY)
so that a locale other than the default may be consulted. -
NEXT_LABEL
The label for next buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.NEXT_LABEL_KEY)
so that a locale other than the default may be consulted. -
FINISH_LABEL
The label for finish buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.FINISH_LABEL_KEY)
so that a locale other than the default may be consulted. -
HELP_LABEL
The label for help buttons. Using this static label string provides optimum performance by looking up the label only once when JFace is initialized. However, clients that wish to support multiple locales in one system should instead use the patternJFaceResources.getString(IDialogLabelKeys.HELP_LABEL_KEY)
so that a locale other than the default may be consulted. -
VERTICAL_MARGIN
static final int VERTICAL_MARGINVertical margin in dialog units (value 7).- See Also:
-
VERTICAL_SPACING
static final int VERTICAL_SPACINGVertical spacing in dialog units (value 4).- See Also:
-
HORIZONTAL_MARGIN
static final int HORIZONTAL_MARGINHorizontal margin in dialog units (value 7).- See Also:
-
HORIZONTAL_SPACING
static final int HORIZONTAL_SPACINGHorizontal spacing in dialog units (value 4).- See Also:
-
BUTTON_BAR_HEIGHT
static final int BUTTON_BAR_HEIGHTHeight of button bar in dialog units (value 25).- See Also:
-
LEFT_MARGIN
static final int LEFT_MARGINLeft margin in dialog units (value 20).- See Also:
-
BUTTON_MARGIN
static final int BUTTON_MARGINButton margin in dialog units (value 4).- See Also:
-
BUTTON_HEIGHT
Deprecated.This constant is no longer in use. The button heights are now determined by the layout.Button height in dialog units (value 14).- See Also:
-
BUTTON_WIDTH
static final int BUTTON_WIDTHButton width in dialog units (value 61).- See Also:
-
INDENT
Deprecated.As of 3.9, this is deprecated as it is too big as DLU and got accidentally used when setting pixel valuesIndent in dialog units (value 21).- See Also:
-
SMALL_INDENT
Deprecated.As of 3.9, this is deprecated as it is not clear what the meaning of a "small indent" would beSmall indent in dialog units (value 7).- See Also:
-
ENTRY_FIELD_WIDTH
static final int ENTRY_FIELD_WIDTHEntry field width in dialog units (value 200).- See Also:
-
MINIMUM_MESSAGE_AREA_WIDTH
static final int MINIMUM_MESSAGE_AREA_WIDTHMinimum width of message area in dialog units (value 300).- See Also:
-