コード例 #1
0
 public void deleteChangeList(final ShelvedChangeList changeList) {
   deleteListImpl(changeList);
   if (!changeList.isRecycled()) {
     myShelvedChangeLists.remove(changeList);
   } else {
     myRecycledShelvedChangeLists.remove(changeList);
   }
   notifyStateChanged();
 }
コード例 #2
0
 private void recycleChangeList(final ShelvedChangeList changeList) {
   recycleChangeList(changeList, null);
   myShelvedChangeLists.remove(changeList);
   notifyStateChanged();
 }
コード例 #3
0
 public void restoreList(final ShelvedChangeList changeList) {
   myShelvedChangeLists.add(changeList);
   myRecycledShelvedChangeLists.remove(changeList);
   changeList.setRecycled(false);
   notifyStateChanged();
 }