com.ibm.commons.swt.data.editors
Class MultilineTextEditor.InputDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by org.eclipse.jface.dialogs.TrayDialog
              extended by org.eclipse.jface.dialogs.TitleAreaDialog
                  extended by com.ibm.commons.swt.data.dialog.LWPDCommonDialog
                      extended by com.ibm.commons.swt.data.editors.MultilineTextEditor.InputDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider
Enclosing class:
MultilineTextEditor

public static class MultilineTextEditor.InputDialog
extends LWPDCommonDialog


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 com.ibm.commons.swt.data.dialog.LWPDCommonDialog
_bDialogWidgetInitialized, _bSetFocusControl, useEclipseDialog
 
Fields inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
DLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGE
 
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
MultilineTextEditor.InputDialog(org.eclipse.swt.widgets.Shell parent, java.lang.String value)
           
 
Method Summary
protected  void fillClientArea(org.eclipse.swt.widgets.Composite parent)
          Consummers implement this function to provide their content
protected  java.lang.String getDialogTitle()
          Returns the title of the dialog.
protected  boolean performDialogOperation(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
          An abstract method that gets called when the OK button is pressed on the dialog.
 
Methods inherited from class com.ibm.commons.swt.data.dialog.LWPDCommonDialog
attachProgressMonitor, close, configureShell, createButtonBar, createContainerLayout, createContents, createDialogArea, createTitleAreaComposite, detachProgressMonitor, doPerformDialog, getDialogBoundsSettings, getDialogBoundsStrategy, getTitleImage, getTitleImageDescriptor, getUpdater, getWorkbench, initMainPanel, invalidateDialog, isDirty, isModal, needsProgressMonitor, okPressed, open, refreshTitleArea, setBlockOnOpen, setClassDef, setDataChangeNotifier, setDataProvider, setDirty, setErrorMessage, setMessage, setUpdater, useScrollableContents, validateDialog
 
Methods inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
getInitialSize, getTitleArea, getTitleImageLabel, setMessage, setTitle, setTitleAreaColor, setTitleImage
 
Methods inherited from class org.eclipse.jface.dialogs.TrayDialog
closeTray, createHelpControl, getLayout, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonsForButtonBar, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, isResizable, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, 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

MultilineTextEditor.InputDialog

public MultilineTextEditor.InputDialog(org.eclipse.swt.widgets.Shell parent,
                                       java.lang.String value)
Method Detail

fillClientArea

protected void fillClientArea(org.eclipse.swt.widgets.Composite parent)
Description copied from class: LWPDCommonDialog
Consummers implement this function to provide their content

Specified by:
fillClientArea in class LWPDCommonDialog
Parameters:
parent - the parent composite

performDialogOperation

protected boolean performDialogOperation(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Description copied from class: LWPDCommonDialog
An abstract method that gets called when the OK button is pressed on the dialog. If the client wishes to provide progress feedback to the user the supplied progress monitor may be used.
LWPDCommonDialog.needsProgressMonitor() must return true in order for the progress monitor is visible.

Specified by:
performDialogOperation in class LWPDCommonDialog
Parameters:
progressMonitor - the progress monitor that is to be used to provide progress feedback to the user
Returns:
true if operation succeeds and the dialog is to be dismissed. Returning false will cause the dialog to remain open.

getDialogTitle

protected java.lang.String getDialogTitle()
Description copied from class: LWPDCommonDialog
Returns the title of the dialog. Subclasses should override this method.

Overrides:
getDialogTitle in class LWPDCommonDialog
Returns:
the title of the dialog