Package net.sourceforge.fullsync.ui

Examples of net.sourceforge.fullsync.ui.OptionsDialog


    final boolean[] arr = new boolean[] { false };
    if (null != desc.getParameter("interactive")) {
      GuiController.getInstance().getDisplay().syncExec(new Runnable() {
        @Override
        public void run() {
          OptionsDialog od = new OptionsDialog(GuiController.getInstance().getMainShell(), SWT.ICON_QUESTION);
          od.setText("Question - FullSync"); //FIXME: translate
          od.setMessage(message); //FIXE: translate message
          od.setOptions(new String[] { "Yes", "No" }); //FIXME: translate
          if ("Yes".equals(od.open())) { //FIXME: translate
            arr[0] = true;
          }
        }
      });
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.fullsync.ui.OptionsDialog

Copyright © 2018 www.massapicom. 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.