net.sourceforge.java.feednread.frontend.dialog
Class AboutDialog

java.lang.Object
  extended byorg.eclipse.jface.window.Window
      extended byorg.eclipse.jface.dialogs.Dialog
          extended bynet.sourceforge.java.feednread.frontend.dialog.AboutDialog
All Implemented Interfaces:
IShellProvider

public class AboutDialog
extends Dialog

The Feed'n Read about dialog

Author:
Sebastian Machhausen

Nested Class Summary
 
Nested classes inherited from class org.eclipse.jface.window.Window
Window.IExceptionHandler
 
Field Summary
private  MainApplicationWindow mainWindow
           The Feed'n Read main window
 
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
AboutDialog(MainApplicationWindow mainWindow)
           Creates a new AboutDialog instance.
 
Method Summary
protected  void configureShell(Shell shell)
           Configures the Shell representing this AboutDialog.
protected  void createButtonsForButtonBar(Composite parent)
           Adds the buttons to this AboutDialog's button bar.
protected  Control createContents(Composite parent)
           Creates the contents of this AboutDialog.
protected  Control createDialogArea(Composite parent)
           Creates and returns the contents of the upper part of this AboutDialog (above the button bar).
private  Control createTitleArea(Composite parent)
           Creates this AboutDialog's title area.
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, 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
 

Field Detail

mainWindow

private MainApplicationWindow mainWindow

The Feed'n Read main window

Constructor Detail

AboutDialog

public AboutDialog(MainApplicationWindow mainWindow)

Creates a new AboutDialog instance.

Parameters:
mainWindow - the Feed'n Read main application window
Method Detail

configureShell

protected void configureShell(Shell shell)

Configures the Shell representing this AboutDialog.

Parameters:
shell - theShell to configure

createContents

protected Control createContents(Composite parent)

Creates the contents of this AboutDialog.

Parameters:
parent - the parent Composite in which to embed the created contents

createButtonsForButtonBar

protected void createButtonsForButtonBar(Composite parent)

Adds the buttons to this AboutDialog's button bar.

Parameters:
parent - the button bar Composite
See Also:
Dialog.createButtonsForButtonBar(Composite)

createDialogArea

protected Control createDialogArea(Composite parent)

Creates and returns the contents of the upper part of this AboutDialog (above the button bar).

Parameters:
parent - the parent Composite to contain the dialog area
Returns:
the dialog area control

createTitleArea

private Control createTitleArea(Composite parent)

Creates this AboutDialog's title area.

Parameters:
parent - the SWT parent for the title area widgets
Returns:
the title area Control