org.opensubsystems.inventory.application
Interface UnitDialogGui
- All Superinterfaces:
- org.opensubsystems.core.application.ThickClientDialogGui
- All Known Implementing Classes:
- SWTUnitDialogGui
public interface UnitDialogGui
- extends org.opensubsystems.core.application.ThickClientDialogGui
GUI portion of the unit dialog, which abstracts the gui technology dependent
portion of the creating or modifying units from the backend process.
- Version:
- $Id: UnitDialogGui.java,v 1.2 2007/01/07 06:13:57 bastafidli Exp $
- Author:
- Miro Halas
- Code reviewer:
- Miro Halas
- Code reviewed:
- Initial revision
| Methods inherited from interface org.opensubsystems.core.application.ThickClientDialogGui |
displayMessage |
displayDialog
void displayDialog(UnitDialog unitDialog,
boolean bModify,
Unit unitData,
java.util.List lstAvoidCosts,
UnitDialogListener dialogListener)
- Display the dialog. This method shouldn't return until the dialog is
closed.
- Parameters:
unitDialog - - dialog displaying this guibModify - - if this flag is true, then the dialog will act as modify
dialog otherwise it will act as a create dialog. This
will allow us to modify data, which were not yet created
in the persistence store, but are held in memory and
modified before they are storedunitData - - data to be created or edited, but never null. When
creating new unit load the template data from the
backend and then use the template data in this dialog.lstAvoidCosts - - list of cost values, which cannot be used, since
they may have already been useddialogListener - - listener which needs to be notified about changes
and actions on the gui
Copyright © 2003 - 2006 OpenSubsystems s.r.o.