
eu.cedarsoft.utils.springrcp.beanlist.BeanDialog Maven / Gradle / Ivy
The newest version!
package com.cedarsoft.utils.springrcp.beanlist;
import org.jetbrains.annotations.NotNull;
/**
* A BeanDialog is a special dialog that is able to edit the properties of a bean.
*
* Date: 18.08.2006
* Time: 16:39:21
*
* @author Johannes Schneider -
* Xore Systems
*/
public interface BeanDialog {
/**
* Is called before the dialog is show ({@link #showDialog()}).
*
* @param bean the bean that shall be edited
*/
void setBean( @NotNull T bean );
/**
* Show the dialog.
*/
void showDialog();
/**
* Is called when the dialog edits a bean that has newly be created and must be added on finish.
*
* @param isNew whether the bean is newly created
*/
void setIsNew( boolean isNew );
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy