Trash bin for deleted resources
|Assignee:||Antti Villberg||% Done:|
|Release notes:||Added http://Projects/TrashBin folder for storing deleted models until they are eventually garbage collected, i.e. deleted from there using optimized code. See *Simantics/DBSupport* SCL module for the related SCL function *emptyTrashBin*.|
|Tags:||scl, db, trashbin|
|Velocity based estimate||-|
|Release||Simantics 1.18.1||Release relationship||Auto|
(refs #5670) Trash bin for deleted resources.
Initial support for trash bin - based removers. Cleanup operation available in SCL console.
Merged trunk@30931 to branches/simantics-1.18 on 2015-02-19 for 1.18.1 release.
Added IProgressMonitor.isCanceled handling into MigrationUtils.importMigratedMany and MigrationSequence.
The code uses TrashBinRemover to throw away the material that may have been imported into the temporary index root used by the import procedure.
Merged trunk@30948 to branches/simantics-1.18 on 2015-02-19 for 1.18.1 release.
Added progress monitor support to Layer0Utils.emptyTrashBin and moved emptyTrashBin function to Simantics/DBSupport SCL module.
Merged trunk@31063 to branches/simantics-1.18 on 2015-03-11 for 1.18.1 release.
Move more stuff into tempFiles and try to clean up indices for deleted index roots. Clean tempFiles also after purge.
#5 Updated by Tuukka Lehtonen almost 3 years ago
The change to SWTWikiBrowser made in r30948 was because I ran into this:
Caused by: java.lang.NullPointerException at org.simantics.views.swt.client.impl.SWTWikiBrowser.createControls(SWTWikiBrowser.java:84) at org.simantics.views.swt.client.base.SWTParentNode.createChildComposites(SWTParentNode.java:118) at org.simantics.views.swt.client.impl.SWTScrolledComposite.createControls(SWTScrolledComposite.java:115) at org.simantics.views.swt.client.base.SWTParentNode.createChildComposites(SWTParentNode.java:118) at org.simantics.views.swt.client.base.SWTParentNode.createChildComposites(SWTParentNode.java:114) at org.simantics.views.swt.client.impl.SWTSashForm.createControls(SWTSashForm.java:23) at org.simantics.views.swt.client.impl.SWTAlternative.createControls(SWTAlternative.java:40) at org.simantics.views.swt.client.impl.SWTAlternative.synchronizeCondition(SWTAlternative.java:72) ... 31 more
when destroying a model right after selecting it from the model browser. SWTAWTComposite.syncPopulate can return without ever finishing the actual control creation if the UI was disposed before the AWT-thread contstruction began.
#7 Updated by Tuukka Lehtonen over 2 years ago
- Release notes set to Added http://Projects/TrashBin folder for storing deleted models until they are eventually garbage collected, i.e. deleted from there using optimized code. See *Simantics/DBSupport* SCL module for the related SCL function *emptyTrashBin*.