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:nl.utwente.ce.imageexport.ExceptionErrorDialog.java
License:Open Source License
@Override protected void createButtonsForButtonBar(Composite parent) { // create OK and Details buttons createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); detailsButton = createButton(parent, IDialogConstants.DETAILS_ID, IDialogConstants.SHOW_DETAILS_LABEL, false);//ww w . j ava 2 s . com }
From source file:org.apache.directory.studio.connection.ui.dialogs.CertificateTrustDialog.java
License:Apache License
/** * {@inheritDoc}/*from w w w .j av a2s . c om*/ */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.DETAILS_ID, Messages.getString("CertificateTrustDialog.ViewCertificate"), false); //$NON-NLS-1$ createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, false); }
From source file:org.apache.directory.studio.connection.ui.dialogs.CertificateTrustDialog.java
License:Apache License
/** * {@inheritDoc}//w ww .j a v a2s . c o m */ @Override protected void buttonPressed(int buttonId) { if (buttonId == IDialogConstants.DETAILS_ID) { new CertificateInfoDialog(getShell(), certificateChain).open(); } super.buttonPressed(buttonId); }
From source file:org.bonitasoft.studio.common.jface.BonitaErrorDialog.java
License:Open Source License
protected void createDetailsButton(Composite parent) { if (shouldShowDetailsButton()) { detailsButton = createButton(parent, IDialogConstants.DETAILS_ID, IDialogConstants.SHOW_DETAILS_LABEL, false);//from ww w. j ava 2 s .c o m } }
From source file:org.bonitasoft.studio.importer.ui.dialog.SkippableProgressMonitorJobsDialog.java
License:Open Source License
@Override protected void createDetailsButton(final Composite parent) { skipButton = createButton(parent, IDialogConstants.DETAILS_ID, Messages.skipValidation, false); skipButton.addSelectionListener(new SelectionAdapter() { /*//w ww.j a v a 2 s .c o m * (non-Javadoc) * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent) */ @Override public void widgetSelected(final SelectionEvent e) { cancelPressed(); } }); skipButton.setCursor(arrowCursor); skipButton.setVisible(enableDetailsButton); }
From source file:org.csstudio.ui.util.dialogs.ExceptionDetailsErrorDialog.java
License:Open Source License
/** * Create the details button if it should be included. * * @param parent//from w ww . j a v a2s . c o m * the parent composite * @since 3.2 */ protected void createDetailsButton(Composite parent) { if (shouldShowDetailsButton()) { detailsButton = createButton(parent, IDialogConstants.DETAILS_ID, JFaceResources.getString(IDialogLabelKeys.SHOW_DETAILS_LABEL_KEY), false); } }
From source file:org.ebayopensource.turmeric.eclipse.utils.ui.SOAErrorDialog.java
License:Open Source License
/** * Handle "Details" button action.show details if it is hidden. Hide details * if it is shown.//from w ww. j a va 2 s.c o m * * @param id the id */ @Override protected void buttonPressed(int id) { if (id == IDialogConstants.DETAILS_ID) { showDetialsArea(); } else { super.buttonPressed(id); } }
From source file:org.ebayopensource.turmeric.eclipse.utils.ui.SOAErrorDialog.java
License:Open Source License
/** * {@inheritDoc}/*from w w w. java 2s. c om*/ */ @Override protected void createButtonsForButtonBar(Composite parent) { // create OK and Details buttons String okLabel = IDialogConstants.OK_LABEL; String cancelLabel = IDialogConstants.CANCEL_LABEL; if (buttonLabelChange == true) { okLabel = "Ignore and Continue"; cancelLabel = "Abort"; } createButton(parent, IDialogConstants.OK_ID, okLabel, true); if (hasCancelButton == true) { createButton(parent, IDialogConstants.CANCEL_ID, cancelLabel, true); } if (shouldShowDetailsButton()) { detailsButton = createButton(parent, IDialogConstants.DETAILS_ID, IDialogConstants.SHOW_DETAILS_LABEL, false); } }
From source file:org.eclipse.ajdt.internal.ui.ajde.AJDTErrorDialog.java
License:Open Source License
protected void createButtonsForButtonBar(Composite parent) { // create OK and Details buttons createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); if (shouldShowDetailsButton()) { detailsButton = createButton(parent, IDialogConstants.DETAILS_ID, IDialogConstants.SHOW_DETAILS_LABEL, false);// ww w . j a v a2 s. com } }
From source file:org.eclipse.birt.report.data.oda.jdbc.ui.util.ExceptionDialog.java
License:Open Source License
protected void createButtonsForButtonBar(Composite parent) { // create OK and Details buttons createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); _detailsButton = createButton(parent, IDialogConstants.DETAILS_ID, IDialogConstants.SHOW_DETAILS_LABEL, false);/* w ww .ja v a 2 s.c o m*/ }