5758596061626364656667
return null; } @Override public boolean isEnabled() { GitHistoryPage page = getPage(); if (page == null) return false; IStructuredSelection selection = getSelection(page); if (selection.size() != 1) return false;
8485868788899091929394
} } @Override public boolean isEnabled() { GitHistoryPage page = getPage(); if (page == null) return false; IStructuredSelection sel = getSelection(page); return sel.size() == 1 && sel.getFirstElement() instanceof RevCommit; }
171172173174175176177178179180181182183
return null; } @Override public boolean isEnabled() { GitHistoryPage page = getPage(); if (page == null) return false; int size = getSelection(page).size(); if (size == 0) return false; return page.getInputInternal().isSingleFile(); }
3839404142434445464748
return null; } @Override public boolean isEnabled() { GitHistoryPage page = getPage(); if (page == null) return false; IStructuredSelection selection = getSelection(page); return selection.size() == 1; }
565758596061626364
return null; } @Override public boolean isEnabled() { GitHistoryPage page = getPage(); return getRepository(page) != null && !(getBranchesOfCommit(getSelection(page)).isEmpty()); }
70717273747576777879
return null; } @Override public boolean isEnabled() { GitHistoryPage page = getPage(); if (page == null) return false; return getSelection(page).size() == 2; }
6364656667686970717273
return null; } @Override public boolean isEnabled() { GitHistoryPage page = getPage(); if (page == null) return false; IStructuredSelection selection = getSelection(page); if (selection.isEmpty()) return false;
121122123124125126127128129130131132133
3233343536373839404142
138139140141142143144145146147148
return dbop.getStatus(); } @Override public boolean isEnabled() { GitHistoryPage page = getPage(); Repository repository = getRepository(page); if (repository == null) return false;