org.mailster.gui
Class AboutDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by org.mailster.gui.AboutDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider

public class AboutDialog
extends org.eclipse.jface.dialogs.Dialog

---
Mailster (C) 2007-2009 De Oliveira Edouard

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

See  Mailster Web Site
---

AboutDialog.java - A dialog that shows informations about Mailster.

Version:
$Revision: 1.6 $, $Date: 2008/12/14 23:31:05 $
Author:
Edouard De Oliveira

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
private  MailView mailView
           
 
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(org.eclipse.swt.widgets.Shell shell, MailView mailView)
          Creates a new AboutDialog instance.
 
Method Summary
protected  void configureShell(org.eclipse.swt.widgets.Shell shell)
          Configures the Shell representing this AboutDialog.
 void create()
           
protected  void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
          Adds the buttons to this AboutDialog's button bar.
protected  org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
          Creates the contents of this AboutDialog.
protected  org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
          Creates and returns the contents of the upper part of this AboutDialog (above the button bar).
private  org.eclipse.swt.widgets.Control createTitleArea(org.eclipse.swt.widgets.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, createButton, createButtonBar, 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
 

Field Detail

mailView

private MailView mailView
Constructor Detail

AboutDialog

public AboutDialog(org.eclipse.swt.widgets.Shell shell,
                   MailView mailView)
Creates a new AboutDialog instance.

Parameters:
shell - the parent shell
Method Detail

create

public void create()
Overrides:
create in class org.eclipse.jface.dialogs.Dialog

configureShell

protected void configureShell(org.eclipse.swt.widgets.Shell shell)
Configures the Shell representing this AboutDialog.

Overrides:
configureShell in class org.eclipse.jface.window.Window
Parameters:
shell - theShell to configure

createContents

protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
Creates the contents of this AboutDialog.

Overrides:
createContents in class org.eclipse.jface.dialogs.Dialog
Parameters:
parent - the parent Composite in which to embed the created contents

createButtonsForButtonBar

protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
Adds the buttons to this AboutDialog's button bar.

Overrides:
createButtonsForButtonBar in class org.eclipse.jface.dialogs.Dialog
Parameters:
parent - the button bar Composite
See Also:
Dialog.createButtonsForButtonBar(Composite)

createDialogArea

protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
Creates and returns the contents of the upper part of this AboutDialog (above the button bar).

Overrides:
createDialogArea in class org.eclipse.jface.dialogs.Dialog
Parameters:
parent - the parent Composite to contain the dialog area
Returns:
the dialog area control

createTitleArea

private org.eclipse.swt.widgets.Control createTitleArea(org.eclipse.swt.widgets.Composite parent)
Creates this AboutDialog's title area.

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