Package net.sourceforge.fullsync

Examples of net.sourceforge.fullsync.ProfileManager.save()


      MessageBox mb = new MessageBox(getShell(), SWT.ICON_QUESTION | SWT.YES | SWT.NO);
      mb.setText(Messages.getString("MainWindow.Confirmation")); //$NON-NLS-1$
      mb.setMessage(Messages.getString("MainWindow.Do_You_Want_To_Delete_Profile") + " " + p.getName() + " ?"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
      if (mb.open() == SWT.YES) {
        profileManager.removeProfile(p);
        profileManager.save();
      }
    }
  }

  protected void toolItemScheduleWidgedSelected(SelectionEvent evt) {
View Full Code Here


      if (line.hasOption("r")) {
        Profile p = profileManager.getProfile(line.getOptionValue("r"));
        TaskTree tree = sync.executeProfile(p, false);
        sync.performActions(tree);
        p.setLastUpdate(new Date());
        profileManager.save();
        return;
      }

      boolean activateRemote = false;
      int port = 10000;
View Full Code Here

        }
        catch (Exception ex) {
          ExceptionHandler.reportException(ex);
        }
        finally {
          profileManager.save();
        }

        // FIXME [Michele] For some reasons there is some thread still alive if you run the remote interface
        RemoteController.getInstance().stopServer();
        if (null == System.getProperty("net.sourceforge.fullsync.skipExit")) {
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.