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); }
@Override public void updateAction() { setProjectLocation(FileUtilities.getDefaultProjectLocation(JakeContext.getInvitation())); }