/** Initial UI update */ public void updateUI() { if (amending) getHeadCommitInfo(); commitText.setText(calculateCommitMessage(filesToCommit)); authorText.setText(getSafeString(author)); committerText.setText(getSafeString(committer)); if (amending) { authorText.setText(previousAuthor); saveOriginalChangeId(); } else { if (!amendAllowed) { originalChangeId = null; } refreshSignedOffBy(); refreshChangeIdText(); } updateSignedOffButton(); updateChangeIdButton(); }
/** update signed off and change id button from the commit message */ public void updateSignedOffAndChangeIdButton() { updateSignedOffButton(); updateChangeIdButton(); }