Changes between Version 2 and Version 4 of Ticket #18801


Ignore:
Timestamp:
2020-03-16T15:26:44+01:00 (19 months ago)
Author:
taylor.smock
Comment:

I haven't done that yet (in fact, I don't remember why I was thinking I might have to do it). (I'm assuming you are talking about the getInstance I was referring to).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18801 – Description

    v2 v4  
    332) Modifies AbstractModifiableLayer to have a function for autosave (takes a file argument), return false by default (to indicate not saved and not savable). It also adds an abstract method to get the data from the layer. The only addon I found to be affected by this was OpenQA, which can be modified by me.
    443) AutosaveTask now just has a single Set<Data> instead of one each for DataSet/NodeData.
    5 4) There is now a global instance of AutosaveTask, once it has been initialized. I should probably change all calls to be to `getInstance`.
     54) There is now a global instance of AutosaveTask, once it has been initialized. ~I should probably change all calls to be to `getInstance`~.
    665) It iterates through the layers, using the same `if (changedData.remove)` syntax, and then calls the layer's autosave method.
    776) AutosaveTask also has a new method to indicate that data has been updated