コード例 #1
0
  public void actionPerformed(ActionEvent actionEvent) {
    log.info("Joining Project: " + getProject());

    // fixme: add sanity check! (no C:\Windows e.g.) OR if much to many files...

    JakeMainApp.getCore().joinProject(getProjectLocation(), JakeContext.getInvitation());

    // clear current invite
    JakeContext.setInvitation(null);
  }
コード例 #2
0
 @Override
 public void updateAction() {
   setProjectLocation(FileUtilities.getDefaultProjectLocation(JakeContext.getInvitation()));
 }