org.opensubsystems.inventory.application
Interface CategoryDialogListener

All Known Implementing Classes:
CategoryDialogPersistor

public interface CategoryDialogListener

Interface by which client can monitor changes made in the dialog.

Version:
$Id: CategoryDialogListener.java,v 1.3 2007/01/07 06:13:57 bastafidli Exp $
Author:
Martin Cerba
Code reviewer:
Miro Halas
Code reviewed:
1.1 2006/04/05 05:07:24 bastafidli

Method Summary
 boolean takeAction(boolean bModify, Category data)
          This method is called when action button of the dialog is clicked.
 

Method Detail

takeAction

boolean takeAction(boolean bModify,
                   Category data)
This method is called when action button of the dialog is clicked. This means that user is finished with the changes and want to take some action with those changes. This method is NOT called when user wants to cancel the changes which he has done.

Parameters:
bModify - - if this flag is true, then the data should be modified otherwise they should be created
data - - data to be created or one which was modified
Returns:
boolean - if true is returned the dialog can be closed, otherwise the dialog remains on the screen


Copyright © 2003 - 2006 OpenSubsystems s.r.o.