Timestamp: Difference between revisions
From FreeMind
Jump to navigationJump to search
Dan Polansky (talk | contribs) (+) |
Dan Polansky (talk | contribs) (+since 0.8.0; +links to CVS) |
||
Line 1: | Line 1: | ||
Each node gets two timestamps: one for the moment of creation and one for the moment of the last change. | Each node gets two timestamps: one for the moment of creation and one for the moment of the last change. | ||
Timestamps were introduced in FreeMind 0.8.0. | |||
==Menu== | ==Menu== | ||
Line 6: | Line 8: | ||
==Implementation== | ==Implementation== | ||
Classes and methods that implement timestamps: | Classes and methods that implement timestamps: | ||
* accessories.plugins.CreationModificationPlugin | * accessories.plugins.CreationModificationPlugin[http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/accessories/plugins/CreationModificationPlugin.java?view=log] | ||
* MinMapNode.getHistoryInformation() | * MinMapNode.getHistoryInformation() | ||
* freemind.modes.HistoryInformation | * freemind.modes.HistoryInformation[http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/freemind/modes/HistoryInformation.java?view=log] | ||
==Storage in XML== | ==Storage in XML== |
Revision as of 12:39, 3 February 2010
Each node gets two timestamps: one for the moment of creation and one for the moment of the last change.
Timestamps were introduced in FreeMind 0.8.0.
Menu
- Tools > Show Modification Times
Implementation
Classes and methods that implement timestamps:
- accessories.plugins.CreationModificationPlugin[1]
- MinMapNode.getHistoryInformation()
- freemind.modes.HistoryInformation[2]
Storage in XML
Storage of timestamps in XML: in the attributes "CREATED" and "MODIFIED":
<node CREATED="1252659099149" ID="ID_989353638" MODIFIED="1252659099149" TEXT="New Mindmap">
The number stored in the timestamp is the number of milliseconds since January 1, 1970, 00:00:00 GMT.
The number stored in the timestamp is obtained by calling "new Date().getTime()"[3].