PageRenderTime 49ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/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
  1. package sidekick;
  2. public interface ModeOptionPane {
  3. // Mode has changed
  4. void modeSelected(String mode);
  5. // Save all changes (in all modes)
  6. void save();
  7. // Cancel all changes (in all modes)
  8. void cancel();
  9. // Sets whether the mode uses the default settings
  10. void setUseDefaults(boolean b);
  11. // Returns whether the mode uses the default settings
  12. boolean getUseDefaults(String mode);
  13. }