net.officefloor.eclipse.wizard.worksource
Class WorkSourceAlignTasksWizardPage

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

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

IWizardPage to align WorkTaskModel instances of the Work.

Author:
Daniel Sagenschneider

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
WorkSourceAlignTasksWizardPage(WorkInstance workInstance)
          Conforms the Work.
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 Map<String,String> getWorkTaskNameMapping()
          Obtains the mapping of TaskType name to WorkTaskModel name.
 void loadWorkSourceInstance(WorkSourceInstance workSourceInstance)
          Loads 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

WorkSourceAlignTasksWizardPage

public WorkSourceAlignTasksWizardPage(WorkInstance workInstance)
Conforms the Work.

Parameters:
workInstance - WorkInstance being refactored.
Method Detail

loadWorkSourceInstance

public void loadWorkSourceInstance(WorkSourceInstance workSourceInstance)
Loads the WorkSourceInstance.

Parameters:
workSourceInstance - WorkSourceInstance of the selected WorkSource.

getWorkTaskNameMapping

public Map<String,String> getWorkTaskNameMapping()
Obtains the mapping of TaskType name to WorkTaskModel name.

Returns:
Mapping of TaskType name to WorkTaskModel name.

createControl

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


Copyright © 2005-2013. All Rights Reserved.