List of usage examples for org.eclipse.jface.dialogs IDialogConstants CANCEL_LABEL
String CANCEL_LABEL
To view the source code for org.eclipse.jface.dialogs IDialogConstants CANCEL_LABEL.
Click Source Link
From source file:com.nokia.s60tools.analyzetool.internal.ui.graph.GraphSettingsDialog.java
License:Open Source License
@Override protected void createButtonsForButtonBar(Composite parent) { okButton = createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false); }
From source file:com.nokia.s60tools.creator.dialogs.AbstractDialog.java
License:Open Source License
protected void createButtonsForButtonBar(Composite parent) { // Creating just OK button createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, true); }
From source file:com.nokia.s60tools.creator.job.ConfirmFileReplaceDialog.java
License:Open Source License
protected void createButtonsForButtonBar(Composite parent) { GridLayout gdl = new GridLayout(1, false); GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_CENTER); parent.setLayout(gdl);/* ww w . j a va 2 s .c om*/ parent.setLayoutData(gd); createButton(parent, IDialogConstants.YES_ID, IDialogConstants.YES_LABEL, true); createButton(parent, IDialogConstants.NO_ID, IDialogConstants.NO_LABEL, true); createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, true); }
From source file:com.nokia.s60tools.creator.job.ShutdownCreatorInDeviceDialog.java
License:Open Source License
protected void createButtonsForButtonBar(Composite parent) { GridLayout gdl = new GridLayout(1, false); GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_CENTER); parent.setLayout(gdl);/* w ww.jav a 2 s . co m*/ parent.setLayoutData(gd); createButton(parent, IDialogConstants.YES_ID, IDialogConstants.YES_LABEL, true); createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, true); }
From source file:com.nokia.s60tools.imaker.internal.dialogs.ProductSelectionDialog.java
License:Open Source License
public ProductSelectionDialog(Shell parentShell, IEnvironment env) { super(parentShell, "Select product", null, // accept // the // default // window // icon "The following products are available\n", QUESTION, new String[] { IDialogConstants.OK_LABEL, IDialogConstants.CANCEL_LABEL }, 0); this.activeEnvironment = env; }
From source file:com.nokia.s60tools.memspy.ui.dialogs.SWMTCategoriesDialog.java
License:Open Source License
protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, true); okActionBtn = getButton(IDialogConstants.OK_ID); }
From source file:com.nokia.s60tools.metadataeditor.dialogs.AddLibraryDialog.java
License:Open Source License
protected void createButtonsForButtonBar(Composite parent) { // Creating just OK button createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false); Button ok = getButton(IDialogConstants.OK_ID); ok.setEnabled(false);// w w w .j av a 2 s . co m }
From source file:com.nokia.s60tools.remotecontrol.ui.dialogs.ConfirmReplaceDialog.java
License:Open Source License
protected void createButtonsForButtonBar(Composite parent) { GridLayout gdl = new GridLayout(1, false); GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_CENTER); parent.setLayout(gdl);// w ww . java2s. c o m parent.setLayoutData(gd); createButton(parent, IDialogConstants.YES_ID, IDialogConstants.YES_LABEL, true); if (multiFile) { createButton(parent, IDialogConstants.YES_TO_ALL_ID, IDialogConstants.YES_TO_ALL_LABEL, false); } createButton(parent, RENAME_ID, Messages.getString("ConfirmReplaceDialog.Rename_Button_Label"), false); //$NON-NLS-1$ createButton(parent, IDialogConstants.NO_ID, IDialogConstants.NO_LABEL, false); createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false); }
From source file:com.nokia.s60tools.remotecontrol.ui.dialogs.DriveNameDialog.java
License:Open Source License
protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false); getButton(IDialogConstants.OK_ID).setFocus(); }
From source file:com.nokia.s60tools.remotecontrol.ui.dialogs.FolderNameDialog.java
License:Open Source License
protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false); Button ok = getButton(IDialogConstants.OK_ID); ok.setEnabled(false);//from w w w. j a v a 2 s . com }