pl.edu.agh.cast.importer.wizard.dialog
Class DataSetNameDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by org.eclipse.jface.dialogs.InputDialog
              extended by pl.edu.agh.cast.importer.wizard.dialog.DataSetNameDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider

public class DataSetNameDialog
extends org.eclipse.jface.dialogs.InputDialog

Dialog used in ImporterWizard to get target data set name.

Author:
AGH CAST Team

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
 
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
 
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK
 
Constructor Summary
DataSetNameDialog(org.eclipse.swt.widgets.Shell parent, String initialValue)
          Constructor.
 
Method Summary
protected  void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
          Override this method to remove Cancel button.
 
Methods inherited from class org.eclipse.jface.dialogs.InputDialog
buttonPressed, configureShell, createDialogArea, getErrorMessageLabel, getInputTextStyle, getOkButton, getText, getValidator, getValue, setErrorMessage, validateInput
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSetNameDialog

public DataSetNameDialog(org.eclipse.swt.widgets.Shell parent,
                         String initialValue)
Constructor.

Parameters:
parent - parent shell for dialog
initialValue - initial name of data set
Method Detail

createButtonsForButtonBar

protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
Override this method to remove Cancel button.

Overrides:
createButtonsForButtonBar in class org.eclipse.jface.dialogs.InputDialog
See Also:
InputDialog.createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.