net.officefloor.eclipse.wizard.worksource
Class WorkSourceAlignFlowsEscalationsWizardPage

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

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

IWizardPage to align TaskFlowModel and TaskEscalationModel instances of the TaskModel instances for the WorkModel.

Author:
Daniel Sagenschneider

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
WorkSourceAlignFlowsEscalationsWizardPage(WorkInstance workInstance)
          Conforms the Work.
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 Map<String,Map<String,String>> getTaskEscalationTypeMappingForTask()
          Obtains the mapping of TaskEscalationType type to TaskEscalationModel type for a particular TaskModel name.
 Map<String,Map<String,String>> getTaskFlowNameMappingForTask()
          Obtains the mapping of TaskFlowType name to TaskFlowModel name for a particular TaskModel name.
 void loadWorkTaskMappingAndWorkSourceInstance(Map<String,String> workTaskNameMapping, WorkSourceInstance workSourceInstance)
          Loads the WorkSourceInstance and mapping of TaskType name to WorkTaskModel name.
 
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

WorkSourceAlignFlowsEscalationsWizardPage

public WorkSourceAlignFlowsEscalationsWizardPage(WorkInstance workInstance)
Conforms the Work.

Parameters:
workInstance - WorkInstance being refactored.
Method Detail

loadWorkTaskMappingAndWorkSourceInstance

public void loadWorkTaskMappingAndWorkSourceInstance(Map<String,String> workTaskNameMapping,
                                                     WorkSourceInstance workSourceInstance)
Loads the WorkSourceInstance and mapping of TaskType name to WorkTaskModel name.

Parameters:
workTaskNameMapping - Mapping of TaskType name to WorkTaskModel name.
workSourceInstance - WorkSourceInstance of the selected WorkSource.

getTaskFlowNameMappingForTask

public Map<String,Map<String,String>> getTaskFlowNameMappingForTask()
Obtains the mapping of TaskFlowType name to TaskFlowModel name for a particular TaskModel name.

Returns:
Mapping of TaskFlowType name to TaskFlowModel name for a particular TaskModel name.

getTaskEscalationTypeMappingForTask

public Map<String,Map<String,String>> getTaskEscalationTypeMappingForTask()
Obtains the mapping of TaskEscalationType type to TaskEscalationModel type for a particular TaskModel name.

Returns:
Mapping of TaskFlowType name to TaskEscalationModel name for a particular TaskModel name.

createControl

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


Copyright © 2005-2013. All Rights Reserved.