3940414243444546474849
@Override public Vote previewDialogClose(Dialog dialog, boolean result) { Vote vote = Vote.APPROVE; for (DialogStateListener listener : this) { vote = vote.tally(listener.previewDialogClose(dialog, result)); } return vote; }
128129130131132133134135136137138
implements WindowStateListener { public Vote previewWindowOpen(Window window, Display display) { Vote vote = Vote.APPROVE; for (WindowStateListener listener : this) { vote = vote.tally(listener.previewWindowOpen(window, display)); } return vote; }