List of usage examples for org.eclipse.jface.dialogs IDialogConstants DETAILS_ID
int DETAILS_ID
To view the source code for org.eclipse.jface.dialogs IDialogConstants DETAILS_ID.
Click Source Link
From source file:org.wso2.developerstudio.eclipse.errorreporter.ui.dialogs.ErrorNotificationDialog.java
License:Open Source License
/** * This method is called when a button is pressed If the Details button is * pressed, toggleDetailsArea method is called else buttonPress method is * called// w w w . j a va 2s . c o m * * @param buttonId */ @Override protected void buttonPressed(int buttonId) { if (buttonId == IDialogConstants.DETAILS_ID) { // was the details button pressed? toggleDetailsArea(); } else { // directs to the buttonPress method buttonPress(buttonId); } }
From source file:ummisco.gama.ui.views.user.UserControlDialog.java
@Override protected void createButtonsForButtonBar(final Composite parent) { createButton(parent, IDialogConstants.OK_ID, "Continue", true); detailsButton = createButton(parent, IDialogConstants.DETAILS_ID, "Inspect " + scope.getAgent().getName() + "...", false); detailsButton.setImage(GamaIcons.create(IGamaIcons.MENU_INSPECT).image()); }