Project

General

Profile

Download (391 Bytes) Statistics
| Branch: | Tag: | Revision:
1 4abc3175 Andreas Kohlbecker
package eu.etaxonomy.vaadin.ui.view;
2 683a331c Andreas Kohlbecker
3
public class DoneWithPopupEvent {
4
5
	public enum Reason {
6
		CANCEL, SAVE;
7
	}
8
9
	private final Reason reason;
10
	private final PopupView popup;
11
12
	public DoneWithPopupEvent(PopupView popup, Reason reason) {
13
		this.popup = popup;
14
		this.reason = reason;
15
	}
16
17
	public Reason getReason() {
18
		return reason;
19
	}
20
21
	public PopupView getPopup() {
22
		return popup;
23
	}
24
}