Examples of UIService


Examples of org.scijava.ui.UIService

  @Override
  public void quit() {
    if (canQuit) {
      super.quit();
    } else {
      final UIService uiService = getContext().getService(UIService.class);
      if (uiService.isVisible()) {
        UserInterface ui = uiService.getDefaultUI();
        logService.info("Quit action: hide the application frame");
        ui.getApplicationFrame().setVisible(false);
      } else {
        logService.info("Quit action: do nothing");
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.