Package org.eclipse.jface.dialogs
Interface IDialogConstants
-
public interface IDialogConstantsIDialogConstants 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
Fields Modifier and Type Field Description static intABORT_IDButton id for an "Abort" button (value 7).static StringABORT_LABELThe label for abort buttons.static intBACK_IDButton id for a "Back" button (value 14).static StringBACK_LABELThe label for back buttons.static intBUTTON_BAR_HEIGHTHeight of button bar in dialog units (value 25).static intBUTTON_HEIGHTDeprecated.This constant is no longer in use.static intBUTTON_MARGINButton margin in dialog units (value 4).static intBUTTON_WIDTHButton width in dialog units (value 61).static intCANCEL_IDButton id for a "Cancel" button (value 1).static StringCANCEL_LABELThe label for cancel buttons.static intCLIENT_IDStarting button id reserved for use by clients of JFace (value 1024).static intCLOSE_IDButton id for a "Close" button (value 12).static StringCLOSE_LABELThe label for close buttons.static intDESELECT_ALL_IDButton id for a "Deselect All" button (value 19).static intDETAILS_IDButton id for a "Details" button (value 13).static intENTRY_FIELD_WIDTHEntry field width in dialog units (value 200).static intFINISH_IDButton id for a "Finish" button (value 16).static StringFINISH_LABELThe label for finish buttons.static intHELP_IDButton id for a "Help" button (value 17).static StringHELP_LABELThe label for help buttons.static StringHIDE_DETAILS_LABELThe label for hide details buttons.static intHORIZONTAL_MARGINHorizontal margin in dialog units (value 7).static intHORIZONTAL_SPACINGHorizontal spacing in dialog units (value 4).static intIGNORE_IDButton id for an "Ignore" button (value 9).static StringIGNORE_LABELThe label for ignore buttons.static intINDENTDeprecated.As of 3.9, this is deprecated as it is too big as DLU and got accidentally used when setting pixel valuesstatic intINTERNAL_IDStarting button id reserved for internal use by JFace (value 256).static intLEFT_MARGINLeft margin in dialog units (value 20).static intMINIMUM_MESSAGE_AREA_WIDTHMinimum width of message area in dialog units (value 300).static intNEXT_IDButton id for a "Next" button (value 15).static StringNEXT_LABELThe label for next buttons.static intNO_IDButton id for a "No" button (value 3).static StringNO_LABELThe label for no buttons.static intNO_TO_ALL_IDButton id for a "No to All" button (value 21).static StringNO_TO_ALL_LABELThe label for not to all buttons.static intOK_IDButton id for an "Ok" button (value 0).static StringOK_LABELThe label for OK buttons.static intOPEN_IDButton id for an "Open" button (value 11).static StringOPEN_LABELThe label for open buttons.static intPROCEED_IDButton id for a "Proceed" button (value 10).static StringPROCEED_LABELThe label for proceed buttons.static intRETRY_IDButton id for a "Retry" button (value 8).static StringRETRY_LABELThe label for retry buttons.static intSELECT_ALL_IDButton id for a "Select All" button (value 18).static intSELECT_TYPES_IDButton id for a "Select types" button (value 20).static StringSHOW_DETAILS_LABELThe label for show details buttons.static intSKIP_IDButton id for a "Skip" button (value 5).static StringSKIP_LABELThe label for skip buttons.static intSMALL_INDENTDeprecated.As of 3.9, this is deprecated as it is not clear what the meaning of a "small indent" would bestatic intSTOP_IDButton id for a "Stop" button (value 6).static StringSTOP_LABELThe label for stop buttons.static intVERTICAL_MARGINVertical margin in dialog units (value 7).static intVERTICAL_SPACINGVertical spacing in dialog units (value 4).static intYES_IDButton id for a "Yes" button (value 2).static StringYES_LABELThe label for yes buttons.static intYES_TO_ALL_IDButton id for a "Yes to All" button (value 4).static StringYES_TO_ALL_LABELThe label for yes to all buttons.
-
-
-
Field Detail
-
OK_ID
static final int OK_ID
Button id for an "Ok" button (value 0).- See Also:
- Constant Field Values
-
CANCEL_ID
static final int CANCEL_ID
Button id for a "Cancel" button (value 1).- See Also:
- Constant Field Values
-
YES_ID
static final int YES_ID
Button id for a "Yes" button (value 2).- See Also:
- Constant Field Values
-
NO_ID
static final int NO_ID
Button id for a "No" button (value 3).- See Also:
- Constant Field Values
-
YES_TO_ALL_ID
static final int YES_TO_ALL_ID
Button id for a "Yes to All" button (value 4).- See Also:
- Constant Field Values
-
SKIP_ID
static final int SKIP_ID
Button id for a "Skip" button (value 5).- See Also:
- Constant Field Values
-
STOP_ID
static final int STOP_ID
Button id for a "Stop" button (value 6).- See Also:
- Constant Field Values
-
ABORT_ID
static final int ABORT_ID
Button id for an "Abort" button (value 7).- See Also:
- Constant Field Values
-
RETRY_ID
static final int RETRY_ID
Button id for a "Retry" button (value 8).- See Also:
- Constant Field Values
-
IGNORE_ID
static final int IGNORE_ID
Button id for an "Ignore" button (value 9).- See Also:
- Constant Field Values
-
PROCEED_ID
static final int PROCEED_ID
Button id for a "Proceed" button (value 10).- See Also:
- Constant Field Values
-
OPEN_ID
static final int OPEN_ID
Button id for an "Open" button (value 11).- See Also:
- Constant Field Values
-
CLOSE_ID
static final int CLOSE_ID
Button id for a "Close" button (value 12).- See Also:
- Constant Field Values
-
DETAILS_ID
static final int DETAILS_ID
Button id for a "Details" button (value 13).- See Also:
- Constant Field Values
-
BACK_ID
static final int BACK_ID
Button id for a "Back" button (value 14).- See Also:
- Constant Field Values
-
NEXT_ID
static final int NEXT_ID
Button id for a "Next" button (value 15).- See Also:
- Constant Field Values
-
FINISH_ID
static final int FINISH_ID
Button id for a "Finish" button (value 16).- See Also:
- Constant Field Values
-
HELP_ID
static final int HELP_ID
Button id for a "Help" button (value 17).- See Also:
- Constant Field Values
-
SELECT_ALL_ID
static final int SELECT_ALL_ID
Button id for a "Select All" button (value 18).- See Also:
- Constant Field Values
-
DESELECT_ALL_ID
static final int DESELECT_ALL_ID
Button id for a "Deselect All" button (value 19).- See Also:
- Constant Field Values
-
SELECT_TYPES_ID
static final int SELECT_TYPES_ID
Button id for a "Select types" button (value 20).- See Also:
- Constant Field Values
-
NO_TO_ALL_ID
static final int NO_TO_ALL_ID
Button id for a "No to All" button (value 21).- See Also:
- Constant Field Values
-
INTERNAL_ID
static final int INTERNAL_ID
Starting button id reserved for internal use by JFace (value 256). JFace classes make ids by adding to this number.- See Also:
- Constant Field Values
-
CLIENT_ID
static final int CLIENT_ID
Starting button id reserved for use by clients of JFace (value 1024). Clients of JFace should make ids by adding to this number.- See Also:
- Constant Field Values
-
OK_LABEL
static final String 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
static final String 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
static final String 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
static final String 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
static final String 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
static final String 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
static final String 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
static final String 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
static final String 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
static final String 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
static final String 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
static final String 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
static final String 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
static final String 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
static final String 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
static final String 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
static final String 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
static final String 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
static final String 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
static final String 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_MARGIN
Vertical margin in dialog units (value 7).- See Also:
- Constant Field Values
-
VERTICAL_SPACING
static final int VERTICAL_SPACING
Vertical spacing in dialog units (value 4).- See Also:
- Constant Field Values
-
HORIZONTAL_MARGIN
static final int HORIZONTAL_MARGIN
Horizontal margin in dialog units (value 7).- See Also:
- Constant Field Values
-
HORIZONTAL_SPACING
static final int HORIZONTAL_SPACING
Horizontal spacing in dialog units (value 4).- See Also:
- Constant Field Values
-
BUTTON_BAR_HEIGHT
static final int BUTTON_BAR_HEIGHT
Height of button bar in dialog units (value 25).- See Also:
- Constant Field Values
-
LEFT_MARGIN
static final int LEFT_MARGIN
Left margin in dialog units (value 20).- See Also:
- Constant Field Values
-
BUTTON_MARGIN
static final int BUTTON_MARGIN
Button margin in dialog units (value 4).- See Also:
- Constant Field Values
-
BUTTON_HEIGHT
@Deprecated static final int 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:
- Constant Field Values
-
BUTTON_WIDTH
static final int BUTTON_WIDTH
Button width in dialog units (value 61).- See Also:
- Constant Field Values
-
INDENT
@Deprecated static final int 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:
- Constant Field Values
-
SMALL_INDENT
@Deprecated static final int 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:
- Constant Field Values
-
ENTRY_FIELD_WIDTH
static final int ENTRY_FIELD_WIDTH
Entry field width in dialog units (value 200).- See Also:
- Constant Field Values
-
MINIMUM_MESSAGE_AREA_WIDTH
static final int MINIMUM_MESSAGE_AREA_WIDTH
Minimum width of message area in dialog units (value 300).- See Also:
- Constant Field Values
-
-