net.officefloor.eclipse.wizard.sectionsource
Class SectionSourceAlignOfficeSectionWizardPage

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

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

IWizardPage to align refactoring of OfficeSection.

Author:
Daniel Sagenschneider

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
protected SectionSourceAlignOfficeSectionWizardPage(SectionInstance sectionInstance, boolean isLoadType, boolean isAuotWire)
          Initiate.
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 Map<String,String> getInputNameMapping()
          Obtains the mapping of OfficeSectionInput name to OfficeSectionInputModel name.
 Map<String,String> getObjectNameMapping()
          Obtains the mapping of OfficeSectionObject name to OfficeSectionObjectModel name.
 Map<String,String> getOutputNameMapping()
          Obtains the mapping of OfficeSectionOutput name to OfficeSectionOutputModel name.
 void loadSectionSourceInstance(SectionSourceInstance instance)
          Loads the SectionSourceInstance.
 
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

SectionSourceAlignOfficeSectionWizardPage

protected SectionSourceAlignOfficeSectionWizardPage(SectionInstance sectionInstance,
                                                    boolean isLoadType,
                                                    boolean isAuotWire)
Initiate.

Parameters:
sectionInstance - SectionInstance.
isLoadType - Indicates if loading SectionType or OfficeSection.
isAuotWire - true if auto-wire section.
Method Detail

loadSectionSourceInstance

public void loadSectionSourceInstance(SectionSourceInstance instance)
Loads the SectionSourceInstance.

Parameters:
instance - SectionSourceInstance.

getInputNameMapping

public Map<String,String> getInputNameMapping()
Obtains the mapping of OfficeSectionInput name to OfficeSectionInputModel name.

Returns:
Mapping of OfficeSectionInput name to OfficeSectionInputModel name.

getOutputNameMapping

public Map<String,String> getOutputNameMapping()
Obtains the mapping of OfficeSectionOutput name to OfficeSectionOutputModel name.

Returns:
Mapping of OfficeSectionOutput name to OfficeSectionOutputModel name.

getObjectNameMapping

public Map<String,String> getObjectNameMapping()
Obtains the mapping of OfficeSectionObject name to OfficeSectionObjectModel name.

Returns:
Mapping of OfficeSectionObject name to OfficeSectionObjectModel name.

createControl

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


Copyright © 2005-2013. All Rights Reserved.