org.mockcentral.editor.nodes.mockobject.wizard
Class EditMockObjectWizardDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by org.eclipse.jface.dialogs.TitleAreaDialog
              extended by org.eclipse.jface.wizard.WizardDialog
                  extended by org.mockcentral.editor.nodes.mockobject.wizard.EditMockObjectWizardDialog
All Implemented Interfaces:
org.eclipse.jface.dialogs.IPageChangeProvider, org.eclipse.jface.operation.IRunnableContext, org.eclipse.jface.window.IShellProvider, org.eclipse.jface.wizard.IWizardContainer, org.eclipse.jface.wizard.IWizardContainer2, org.mockcentral.editor.dialogs.IMockCentralDialog

public class EditMockObjectWizardDialog
extends org.eclipse.jface.wizard.WizardDialog
implements org.mockcentral.editor.dialogs.IMockCentralDialog

The WizardDialog for use with EditMockObjectWizard instances.

Author:
David Hutchinson

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jface.wizard.WizardDialog
org.eclipse.jface.wizard.WizardDialog.PageContainerFillLayout
 
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.wizard.WizardDialog
WIZ_IMG_ERROR
 
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, dialogArea, DLG_IMG_ERROR, 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
 
Fields inherited from interface org.mockcentral.editor.dialogs.IMockCentralDialog
CANCEL, OK
 
Constructor Summary
EditMockObjectWizardDialog(java.lang.Object... args)
          Creates a new instance.
 
Method Summary
 org.eclipse.swt.graphics.Point getInitialLocation(org.eclipse.swt.graphics.Point initialSize)
           
protected  org.eclipse.swt.graphics.Point getInitialSize()
           
 java.lang.Object getResult()
           
 int open()
           
 void setDefaultValue(java.lang.Object arg0)
           
 
Methods inherited from class org.eclipse.jface.wizard.WizardDialog
addPageChangedListener, backPressed, buttonPressed, cancelPressed, close, configureShell, createButtonBar, createButtonsForButtonBar, createContents, createDialogArea, createProgressMonitorPart, finishPressed, firePageChanged, getButton, getCurrentPage, getProgressMonitor, getSelectedPage, getWizard, helpPressed, nextPressed, removePageChangedListener, run, setMinimumPageSize, setMinimumPageSize, setPageSize, setPageSize, setWizard, showPage, update, updateButtons, updateMessage, updateSize, updateSize, updateTitleBar, updateWindowTitle
 
Methods inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
getTitleArea, getTitleImageLabel, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, dialogFontIsDefault, getBlockedHandler, getButtonBar, getCancelButton, getDialogArea, getImage, 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, 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
 
Methods inherited from interface org.eclipse.jface.wizard.IWizardContainer
getShell
 

Constructor Detail

EditMockObjectWizardDialog

public EditMockObjectWizardDialog(java.lang.Object... args)
Creates a new instance.

Parameters:
args - an Object array containing constructor arguments. Varargs are used here for the benefit of the IMockCentralDialogFactory.getMockCentralDialog(MockCentralDialogType, Object...) method.
Method Detail

open

public int open()
Specified by:
open in interface org.mockcentral.editor.dialogs.IMockCentralDialog
Overrides:
open in class org.eclipse.jface.window.Window

getInitialSize

protected org.eclipse.swt.graphics.Point getInitialSize()
Overrides:
getInitialSize in class org.eclipse.jface.dialogs.TitleAreaDialog

getInitialLocation

public org.eclipse.swt.graphics.Point getInitialLocation(org.eclipse.swt.graphics.Point initialSize)
Overrides:
getInitialLocation in class org.eclipse.jface.window.Window

getResult

public java.lang.Object getResult()
Specified by:
getResult in interface org.mockcentral.editor.dialogs.IMockCentralDialog

setDefaultValue

public void setDefaultValue(java.lang.Object arg0)
Specified by:
setDefaultValue in interface org.mockcentral.editor.dialogs.IMockCentralDialog