List of usage examples for org.eclipse.jface.dialogs IDialogConstants CANCEL_ID
int CANCEL_ID
To view the source code for org.eclipse.jface.dialogs IDialogConstants CANCEL_ID.
Click Source Link
From source file:com.hangum.tadpole.engine.security.OTPInputDialog.java
License:Open Source License
/** * Create contents of the button bar./*from w w w .ja v a 2s . co m*/ * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.OK_ID, CommonMessages.get().Confirm, true); //$NON-NLS-1$ createButton(parent, IDialogConstants.CANCEL_ID, CommonMessages.get().Close, false); //$NON-NLS-1$ }
From source file:com.hangum.tadpole.engine.sql.dialog.save.ResourceSaveDialog.java
License:Open Source License
/** * Create contents of the button bar.//from w w w . ja va 2 s. c o m * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, BTN_SHOW_URL, Messages.get().ShowURL, true); createButton(parent, IDialogConstants.OK_ID, Messages.get().Save, true); createButton(parent, IDialogConstants.CANCEL_ID, Messages.get().Cancle, false); }
From source file:com.hangum.tadpole.importdb.core.dialog.importdb.csv.CsvToRDBImportDialog.java
License:Open Source License
/** * Create contents of the button bar.// ww w .j a va 2 s. c o m * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, ID_BTN_INSERT, "Import", false); createButton(parent, IDialogConstants.CANCEL_ID, Messages.CsvToRDBImportDialog_30, false); }
From source file:com.hangum.tadpole.importdb.core.dialog.importdb.sql.SQLToDBImportDialog.java
License:Open Source License
/** * Create contents of the button bar./*from w w w.j av a2 s . co m*/ * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { Button button1 = createButton(parent, ID_BTN_EXPORT, Messages.SQLToDBImportDialog_SaveLog, false); button1.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { } }); Button button2 = createButton(parent, ID_BTN_INSERT, Messages.SQLToDBImportDialog_Insert, false); button2.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { } }); createButton(parent, IDialogConstants.CANCEL_ID, Messages.SQLToDBImportDialog_Close, false); }
From source file:com.hangum.tadpole.importexport.core.dialogs.CsvToRDBImportDialog.java
License:Open Source License
/** * Create contents of the button bar./*from ww w. ja va 2 s . c o m*/ * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, ID_BTN_INSERT, Messages.get().CsvToRDBImportDialog_8, false); createButton(parent, IDialogConstants.CANCEL_ID, Messages.get().Close, false); }
From source file:com.hangum.tadpole.importexport.core.dialogs.SQLToDBImportDialog.java
License:Open Source License
/** * Create contents of the button bar./*from ww w . j a v a 2 s . co m*/ * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { Button button1 = createButton(parent, ID_BTN_EXPORT, Messages.get().SQLToDBImportDialog_SaveLog, false); button1.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { } }); Button button2 = createButton(parent, ID_BTN_INSERT, Messages.get().SQLToDBImportDialog_Insert, false); button2.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { } }); createButton(parent, IDialogConstants.CANCEL_ID, Messages.get().Close, false); }
From source file:com.hangum.tadpole.login.core.dialog.FindPasswordDialog.java
License:Open Source License
/** * Create contents of the button bar.//from w ww. j av a 2 s .c o m * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.OK_ID, Messages.get().SendNewPassword, true); createButton(parent, IDialogConstants.CANCEL_ID, CommonMessages.get().Close, false); }
From source file:com.hangum.tadpole.manager.core.dialogs.api.APIServiceDialog.java
License:Open Source License
/** * Create contents of the button bar./* ww w. jav a 2s . c om*/ * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.CANCEL_ID, Messages.get().Close, false); createButton(parent, DOWNLOAD_BTN_ID, Messages.get().Download, false); createButton(parent, IDialogConstants.OK_ID, Messages.get().RUN, true); }
From source file:com.hangum.tadpole.manager.core.dialogs.users.DetailUserAndDBRoleDialog.java
License:Open Source License
/** * Create contents of the button bar./* w w w. jav a 2 s. c o m*/ * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.OK_ID, Messages.get().Update, false); createButton(parent, IDialogConstants.CANCEL_ID, Messages.get().Close, false); }
From source file:com.hangum.tadpole.manager.core.dialogs.users.FindUserAndDBRoleDialog.java
License:Open Source License
/** * Create contents of the button bar./*from w w w .jav a 2s. c om*/ * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.OK_ID, Messages.get().Add, false); createButton(parent, IDialogConstants.CANCEL_ID, Messages.get().Close, false); }