GP-3521 add drop downs to undo/redo action to allow users to see and pick older undo or redos

This commit is contained in:
ghidragon 2023-06-13 13:52:19 -04:00
parent bc0bcbe985
commit 998370e09c
14 changed files with 303 additions and 115 deletions

View file

@ -307,8 +307,8 @@ public class EmptyVTSession implements VTSession {
}
@Override
public void saveToPackedFile(File outputFile, TaskMonitor monitor) throws IOException,
CancelledException {
public void saveToPackedFile(File outputFile, TaskMonitor monitor)
throws IOException, CancelledException {
// do nothing
}
@ -372,6 +372,16 @@ public class EmptyVTSession implements VTSession {
// do nothing
}
@Override
public List<String> getAllRedoNames() {
return Collections.emptyList();
}
@Override
public List<String> getAllUndoNames() {
return Collections.emptyList();
}
@Override
public void removeTransactionListener(TransactionListener listener) {
// do nothing