Where to store binary files

Since IDE doesn't support undo for Binary files i want to make my custom Undoable action. I'm thinking about cache file in system/myDir +  keep path in userData. Maybe exists more elegant way? 

0

I need to release resources. How to detect when Undoable action removed from history? It contains path to cached file that should be deleted. Action added via manager:

getUndoManager().undoableActionPerformed(myAction)

Alternatively i can clear cache when IDE starts. Maybe exists more relevant events?

0

请先登录再写评论。