Example usage for org.eclipse.jface.dialogs IDialogConstants OK_LABEL

List of usage examples for org.eclipse.jface.dialogs IDialogConstants OK_LABEL

Introduction

In this page you can find the example usage for org.eclipse.jface.dialogs IDialogConstants OK_LABEL.

Prototype

String OK_LABEL

To view the source code for org.eclipse.jface.dialogs IDialogConstants OK_LABEL.

Click Source Link

Document

The label for OK buttons.

Usage

From source file:at.medevit.ch.artikelstamm.elexis.common.ui.ArtikelstammDetailDialog.java

License:Open Source License

/**
 * Create contents of the button bar./*w  w  w  .j  a v  a 2  s. c  o m*/
 * @param parent
 */
@Override
protected void createButtonsForButtonBar(Composite parent) {
    createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true);
}

From source file:at.medevit.elexis.gdt.ui.dialog.NeueUntersuchungAnfordernDialog.java

License:Open Source License

/**
 * Create contents of the button bar./*from   ww w  .  j  av  a  2 s .c o m*/
 * 
 * @param parent
 */
@Override
protected void createButtonsForButtonBar(Composite parent) {
    createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true);
    createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);

}

From source file:at.medevit.elexis.impfplan.ui.dialogs.SupplementVaccinationDialog.java

License:Open Source License

/**
 * Create contents of the button bar.//  ww  w . j  a  va2 s  . c  o  m
 * 
 * @param parent
 */
@Override
protected void createButtonsForButtonBar(Composite parent) {
    createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true);
    createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);
}

From source file:at.medevit.menus.dialog.AddPersonDialog.java

License:Open Source License

/**
 * Create contents of the button bar.//from  w w w . ja  v  a  2  s .c  o  m
 * @param parent
 */
@Override
protected void createButtonsForButtonBar(Composite parent) {
    createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true);
    createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);
    m_bindingContext = initDataBindings();
}

From source file:at.spardat.xma.gui.mapper.BDInstanceSelectionDialog.java

License:Open Source License

/**
 * Adds buttons to this dialog's button bar.
 *///from w w  w.ja va2 s  .co m
protected void createButtonsForButtonBar(Composite parent) {
    createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true);
    createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);
}

From source file:at.spardat.xma.guidesign.presentation.dialog.compprops.CompPropertyDialog.java

License:Open Source License

protected void createButtonsForButtonBar(Composite parent) {
    // create OK and Cancel buttons by default
    createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true);
}

From source file:at.spardat.xma.guidesign.presentation.dialog.newpage.NewPageDialog.java

License:Open Source License

/**
 * Create a button bar with only a ok button
 * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
 *///  w  w w. j  av  a2s .c  o m
protected void createButtonsForButtonBar(Composite parent) {
    // create OK button
    createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true);
}

From source file:at.spardat.xma.guidesign.presentation.dialog.table.TransformTableLayoutDialog.java

License:Open Source License

/**
 * Create a button bar with only a ok button
 * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
 *//*from w  ww.j a  v  a 2 s  .  co  m*/
protected void createButtonsForButtonBar(Composite parent) {
    // create OK button
    createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true);
    createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);
}

From source file:au.gov.ansto.bragg.quokka.ui.workflow.AddConfigDialog.java

License:Open Source License

public AddConfigDialog(Shell parentShell, List<InstrumentConfigTemplate> standardTemplates) {
    super(parentShell, "Select instrument configuration", null, "Select a new instrument configuration: ", NONE,
            new String[] { IDialogConstants.OK_LABEL, IDialogConstants.CANCEL_LABEL }, 0);
    setShellStyle(getShellStyle() | SWT.RESIZE);
    if (standardTemplates == null) {
        this.standardTemplates = new ArrayList<InstrumentConfigTemplate>();
    } else {//from  w  w w .  ja v a 2s.  com
        this.standardTemplates = standardTemplates;
    }
    allTemplates = new ArrayList<InstrumentConfigTemplate>();
    loadConfigs();
}

From source file:au.gov.ansto.bragg.quokka.ui.workflow.SaveConfigDialog.java

License:Open Source License

public SaveConfigDialog(Shell parentShell, IObservableValue configDescription) {
    super(parentShell, "Save instrument configuration", null, "Please enter description:", NONE,
            new String[] { IDialogConstants.OK_LABEL, IDialogConstants.CANCEL_LABEL }, 0);
    this.configDescription = configDescription;
}