public class OrderImportWizardControl extends java.lang.Object implements FileAddedListener
Constructor and Description |
---|
OrderImportWizardControl(OrderImportWizard importWizard)
Constructs a new controller for the order import wizard
|
Modifier and Type | Method and Description |
---|---|
void |
createTabFolder(org.eclipse.swt.widgets.Composite parent)
Prepares the tab folder to hold the wizard pages.
|
de.willuhn.jameica.gui.parts.Button |
getBackButton()
Return the back page button.
|
de.willuhn.jameica.gui.parts.Button |
getCancelButton()
Return the cancel page button.
|
de.willuhn.jameica.gui.parts.Button |
getNextButton()
Return the next page button.
|
FileLoadDropPastePart |
getPage1FileDropper()
Returns the FileDropper to load/paste/drop CSV files
|
LabelInputExtended |
getPage1InfoLabel()
Return the info label for the fist page.
|
OrderTablePart |
getPage2OrderLoadedTable()
Return the table with loaded orders for page 2.
|
OrderExceptionTablePart |
getPage2OrderLoadExeptionTable()
Return the table with load failures for page 2.
|
de.willuhn.jameica.gui.input.Input |
getPage3ExistingOrders()
Return an info field to show the number of already existing orders.
|
OrderTablePart |
getPage3FailedLoadedTable()
Return the table with load failures for page 3.
|
LabelInputExtended |
getPage3FailureOrders()
Return an info field to show the number of orders with an problem/errors.
|
LabelInputExtended |
getPage3LoadErrorOrders()
Return an info field to show the number of orders with a load problem.
|
LabelInputExtended |
getPage3SavedOrders()
Return an info field to show the number of saved orders.
|
LabelInputExtended |
getPage3TotalOrders()
Return an info field to show the total number of read orders from the
input file.
|
void |
newFileAvailable(java.io.File file)
Inform registered listeners about a new file drop/paste/load
|
public OrderImportWizardControl(OrderImportWizard importWizard)
public void createTabFolder(org.eclipse.swt.widgets.Composite parent)
parent
- the composite to paint the tab folder inpublic de.willuhn.jameica.gui.parts.Button getBackButton()
public de.willuhn.jameica.gui.parts.Button getCancelButton()
public de.willuhn.jameica.gui.parts.Button getNextButton()
public FileLoadDropPastePart getPage1FileDropper()
public LabelInputExtended getPage1InfoLabel()
public OrderTablePart getPage2OrderLoadedTable()
public OrderExceptionTablePart getPage2OrderLoadExeptionTable()
public de.willuhn.jameica.gui.input.Input getPage3ExistingOrders()
public OrderTablePart getPage3FailedLoadedTable()
public LabelInputExtended getPage3FailureOrders()
public LabelInputExtended getPage3LoadErrorOrders()
public LabelInputExtended getPage3SavedOrders()
public LabelInputExtended getPage3TotalOrders()
public void newFileAvailable(java.io.File file)
FileAddedListener
newFileAvailable
in interface FileAddedListener
file
- the available file