public void deleteChangeList(final ShelvedChangeList changeList) { deleteListImpl(changeList); if (!changeList.isRecycled()) { myShelvedChangeLists.remove(changeList); } else { myRecycledShelvedChangeLists.remove(changeList); } notifyStateChanged(); }
private void recycleChangeList(final ShelvedChangeList changeList) { recycleChangeList(changeList, null); myShelvedChangeLists.remove(changeList); notifyStateChanged(); }
public void restoreList(final ShelvedChangeList changeList) { myShelvedChangeLists.add(changeList); myRecycledShelvedChangeLists.remove(changeList); changeList.setRecycled(false); notifyStateChanged(); }