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

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

Introduction

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

Prototype

int CANCEL_ID

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

Click Source Link

Document

Button id for a "Cancel" button (value 1).

Usage

From source file:com.hangum.tadpole.rdb.core.dialog.db.UserDBGroupDialog.java

License:Open Source License

/**
 * Create contents of the button bar.//  w w  w . j av a  2s.  com
 * @param parent
 */
@Override
protected void createButtonsForButtonBar(Composite parent) {
    createButton(parent, IDialogConstants.OK_ID, Messages.get().OK, true);
    createButton(parent, IDialogConstants.CANCEL_ID, Messages.get().CANCEL, false);
}

From source file:com.hangum.tadpole.rdb.core.dialog.dbconnect.DBLoginDialog.java

License:Open Source License

/**
 * Create contents of the button bar.//from  w  ww . ja va 2s  . c o  m
 * 
 * @param parent
 */
@Override
protected void createButtonsForButtonBar(Composite parent) {
    createButton(parent, TEST_CONNECTION_ID, Messages.DBLoginDialog_43, false);

    createButton(parent, ADD_NEW_CONNECTION_ID, Messages.DBLoginDialog_45, false);
    createButton(parent, IDialogConstants.OK_ID, Messages.DBLoginDialog_44, true);

    createButton(parent, IDialogConstants.CANCEL_ID, Messages.DBLoginDialog_7, false);
}

From source file:com.hangum.tadpole.rdb.core.dialog.dbconnect.dialog.DBConnectTablesFilterDialog.java

License:Open Source License

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

From source file:com.hangum.tadpole.rdb.core.dialog.dbconnect.dialog.ExtensionBrowserURLDialog.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, "Save", true); //$NON-NLS-1$
    createButton(parent, IDialogConstants.CANCEL_ID, "CANCEL", false); //$NON-NLS-1$
}

From source file:com.hangum.tadpole.rdb.core.dialog.dbconnect.ModifyDBDialog.java

License:Open Source License

/**
 * Create contents of the button bar./*w  ww  . ja v a 2 s.  co  m*/
 * @param parent
 */
@Override
protected void createButtonsForButtonBar(Composite parent) {
    createButton(parent, DBLoginDialog.TEST_CONNECTION_ID, "Test Connection", false);
    createButton(parent, IDialogConstants.OK_ID, "OK", true);
    createButton(parent, IDialogConstants.CANCEL_ID, "Cancle", false);
}

From source file:com.hangum.tadpole.rdb.core.dialog.dml.GenerateStatmentDMLDialog.java

License:Open Source License

/**
 * Create contents of the button bar.//from  w  ww. jav  a  2  s .  c om
 * 
 * @param parent
 */
@Override
protected void createButtonsForButtonBar(Composite parent) {
    createButton(parent, IDialogConstants.OK_ID, "OK", false);
    createButton(parent, IDialogConstants.CANCEL_ID, "CANCEL", false);
}

From source file:com.hangum.tadpole.rdb.core.dialog.dml.IndexInformationDialog.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) {
    if (isEditorAdd) {
        createButton(parent, IDialogConstants.OK_ID, Messages.get().GenerateStatmentDMLDialog_2, false);
    }
    createButton(parent, IDialogConstants.CANCEL_ID, CommonMessages.get().Close, false);

}

From source file:com.hangum.tadpole.rdb.core.dialog.export.sqlresult.ResultSetDownloadDialog.java

License:Open Source License

/**
 * Create contents of the button bar./*from ww  w  . j  av  a2 s. c  o m*/
 * @param parent
 */
@Override
protected void createButtonsForButtonBar(Composite parent) {
    createButton(parent, PREVIEW_ID, Messages.get().Preview, true);
    createButton(parent, IDialogConstants.OK_ID, Messages.get().Download, false);
    createButton(parent, IDialogConstants.CANCEL_ID, Messages.get().Close, false);
}

From source file:com.hangum.tadpole.rdb.core.dialog.msg.DirectChangeDialog.java

License:Open Source License

/**
 * Create contents of the button bar.//from   ww w .ja  v a2 s . c  om
 * @param parent
 */
@Override
protected void createButtonsForButtonBar(Composite parent) {
    createButton(parent, IDialogConstants.OK_ID, Messages.get().OK, false);
    createButton(parent, IDialogConstants.CANCEL_ID, Messages.get().CANCEL, true);
}

From source file:com.hangum.tadpole.rdb.core.dialog.resource.ResourceDetailDialog.java

License:Open Source License

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