net.officefloor.eclipse.wizard.officetask
Class OfficeTaskSelectionWizardPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by net.officefloor.eclipse.wizard.officetask.OfficeTaskSelectionWizardPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class OfficeTaskSelectionWizardPage
extends org.eclipse.jface.wizard.WizardPage

IWizardPage to select the OfficeTask from the OfficeSection.

Author:
Daniel Sagenschneider

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 OfficeTask getSelectedOfficeTask()
          Obtains the selected OfficeTask.
 boolean isPreRatherThanPost()
          Indicates if pre Duty rather than post Duty.
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Method Detail

getSelectedOfficeTask

public OfficeTask getSelectedOfficeTask()
Obtains the selected OfficeTask.

Returns:
Selected OfficeTask or null if no OfficeTask is selected.

isPreRatherThanPost

public boolean isPreRatherThanPost()
Indicates if pre Duty rather than post Duty.

Returns:
true if pre Duty, false if post Duty.

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)


Copyright © 2005-2013. All Rights Reserved.