1 /* 2 * Copyright (c) 2003 - 2007 OpenSubsystems s.r.o. Slovak Republic. All rights reserved. 3 * 4 * Project: OpenSubsystems 5 * 6 * $Id: ThickClientDialogGui.java,v 1.5 2007/01/07 06:14:39 bastafidli Exp $ 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation; version 2 of the License. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 */ 21 22 package org.opensubsystems.core.application; 23 24 /** 25 * Interface to abstrat GUI portion of dialog implementation. Each dialog should 26 * have a gui portion and business logic portion to separate the different 27 * logical layers. 28 * 29 * @version $Id: ThickClientDialogGui.java,v 1.5 2007/01/07 06:14:39 bastafidli Exp $ 30 * @author Miro Halas 31 * @code.reviewer Miro Halas 32 * @code.reviewed 1.3 2006/02/16 04:30:12 bastafidli 33 */ 34 public interface ThickClientDialogGui 35 { 36 /** 37 * Display message to the user. 38 * 39 * @param strTitle - title of the message, look at MESSAGE_TITLE_XXX constants 40 * in ThickClienGui interface 41 * @param strMessage - message to display 42 * @param additionalInfo - additional information to pass in, this may be 43 * implementation specific, look at MESSAGE_STYLE_XXX 44 * constants in ThickClienGui interface 45 * @return Object - result of the message, this may be implementation 46 * specific 47 */ 48 Object displayMessage( 49 String strTitle, 50 String strMessage, 51 Object additionalInfo 52 ); 53 } 54