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.manager.core.dialogs.users.FindUserDialog.java
License:Open Source License
/** * Create contents of the button bar./* w ww . j a v a2s. c o m*/ * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, BTN_ADD, "Add", false); //$NON-NLS-1$ createButton(parent, IDialogConstants.CANCEL_ID, "CANCEL", false); //$NON-NLS-1$ }
From source file:com.hangum.tadpole.manager.core.dialogs.users.ModifyUserDialog.java
License:Open Source License
/** * Create contents of the button bar./*from w w w . j av a 2 s . c o m*/ * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.OK_ID, "OK", true); //$NON-NLS-1$ createButton(parent, IDialogConstants.CANCEL_ID, "Cancel", false); //$NON-NLS-1$ }
From source file:com.hangum.tadpole.manager.core.dialogs.users.NewUserDialog.java
License:Open Source License
/** * Create contents of the button bar./*from w w w.ja v a 2 s .co m*/ * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.OK_ID, Messages.NewUserDialog_19, true); createButton(parent, IDialogConstants.CANCEL_ID, Messages.NewUserDialog_20, false); }
From source file:com.hangum.tadpole.manager.core.editor.auth.dialogs.AddTableFilterDialog.java
License:Open Source License
/** * Create contents of the button bar./*w w w . jav a 2 s. co m*/ * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.OK_ID, "OK", true); createButton(parent, IDialogConstants.CANCEL_ID, "CANCEL", false); }
From source file:com.hangum.tadpole.manager.core.editor.db.dialogs.DBAccessControlDialog.java
License:Open Source License
/** * Create contents of the button bar./*from www . j a va 2 s . c o m*/ * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.OK_ID, Messages.get().Save, true); createButton(parent, IDialogConstants.CANCEL_ID, Messages.get().CANCEL, false); }
From source file:com.hangum.tadpole.manager.core.editor.db.dialogs.DBOthresConfigDialog.java
License:Open Source License
/** * Create contents of the button bar.//from w ww . j av a 2s .c om * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.OK_ID, Messages.get().Save, true); createButton(parent, IDialogConstants.CANCEL_ID, Messages.get().Close, false); }
From source file:com.hangum.tadpole.manager.core.editor.db.dialogs.TableColumnFilterDialog.java
License:Open Source License
/** * Create contents of the button bar./*from w w w . j av a 2 s .com*/ * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.OK_ID, Messages.get().Add, true); createButton(parent, IDialogConstants.CANCEL_ID, Messages.get().CANCEL, false); }
From source file:com.hangum.tadpole.mongodb.core.dialogs.collection.CollValidateDialog.java
License:Open Source License
/** * Create contents of the button bar./*from w w w . ja v a 2s . c o m*/ * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.HELP_ID, "Help", false); createButton(parent, IDialogConstants.OK_ID, "Validate", true); createButton(parent, IDialogConstants.CANCEL_ID, "Close", false); }
From source file:com.hangum.tadpole.mongodb.core.dialogs.collection.FindAndModifyDialog.java
License:Open Source License
/** * Create contents of the button bar.//w w w . j av a 2s . c om * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.HELP_ID, "Help", false); createButton(parent, IDialogConstants.OK_ID, "Execute", true); createButton(parent, IDialogConstants.CANCEL_ID, "CLOSE", false); }
From source file:com.hangum.tadpole.mongodb.core.dialogs.collection.NewDocumentDialog.java
License:Open Source License
/** * Create contents of the button bar./* w w w . j a v a 2s . c o m*/ * @param parent */ @Override protected void createButtonsForButtonBar(Composite parent) { Button button = createButton(parent, FORMAT_BTN_ID, Messages.NewDocumentDialog_1, false); button.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { textContent.setText(JSONUtil.getPretty(textContent.getText())); } }); createButton(parent, IDialogConstants.OK_ID, Messages.NewDocumentDialog_2, true); createButton(parent, IDialogConstants.CANCEL_ID, Messages.NewDocumentDialog_5, false); }