summaryrefslogblamecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/helper/UiFeedback.java
blob: f721669295756f1e3a43a89b3b130998dabc2014 (plain) (tree)



















                                                                                    
package org.openslx.dozmod.gui.helper;

public interface UiFeedback {

	/**
	 * If this window wants to prevent the user from closing the application,
	 * it should return true. This makes the application ask the user to confirm
	 * quitting.
	 * 
	 * @return true to ask the user for confirmation
	 */
	public boolean wantConfirmQuit();

	/**
	 * Called if the user pressed the ESC key and the window currently has
	 * the focus.
	 */
	public void escapePressed();

}