blob: f721669295756f1e3a43a89b3b130998dabc2014 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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();
}
|