/bundles/plugins-trunk/SideKick/sidekick/ModeOptionPane.java
Java | 14 lines | 8 code | 1 blank | 5 comment | 0 complexity | 1ece22743eeebfa729e57f34ed93f1ff MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
- package sidekick;
- public interface ModeOptionPane {
- // Mode has changed
- void modeSelected(String mode);
- // Save all changes (in all modes)
- void save();
- // Cancel all changes (in all modes)
- void cancel();
- // Sets whether the mode uses the default settings
- void setUseDefaults(boolean b);
- // Returns whether the mode uses the default settings
- boolean getUseDefaults(String mode);
- }