net.officefloor.eclipse.wizard.worksource
Class WorkSourceTasksWizardPage

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

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

IWizardPage to select the TaskType instances of the WorkType to include.

Author:
Daniel Sagenschneider

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
protected WorkSourceTasksWizardPage()
          Initiate.
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 List<TaskType<?,?,?>> getSelectedTaskTypes()
          Obtains the selected TaskType instances.
 String getWorkName()
          Obtains the name of the Work.
 void loadWorkSourceInstance(WorkSourceInstance workSourceInstance)
          Specifies the WorkSourceInstance.
 
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
 

Constructor Detail

WorkSourceTasksWizardPage

protected WorkSourceTasksWizardPage()
Initiate.

Method Detail

loadWorkSourceInstance

public void loadWorkSourceInstance(WorkSourceInstance workSourceInstance)
Specifies the WorkSourceInstance.

Parameters:
workSourceInstance - WorkSourceInstance.

getWorkName

public String getWorkName()
Obtains the name of the Work.

Returns:
Name of the Work.

getSelectedTaskTypes

public List<TaskType<?,?,?>> getSelectedTaskTypes()
Obtains the selected TaskType instances.

Returns:
Selected TaskType instances.

createControl

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


Copyright © 2005-2013. All Rights Reserved.