Feature #396

Save the Trees ! (PropertyTree)

Added by Roman Köhler over 1 year ago. Updated 7 months ago.

Status:Closed Start date:06/18/2010
Priority:(P2) High Due date:
Assignee:Roman Köhler % Done:

0%

Category:-
Target version:0.9.0-alpha4
Severity:Normal
Story points-
Velocity based estimate-

Description

At the moment, only parts of the Propertytrees will be saved in the different XML-Files (child of /apartment/zone/ for instance).

since the whole propertytree could be extended from all nodes, and all nodes can be set as archived, the whole propertytree should be saved (in a default xml file) including system and config-subtree (of cause filtered by the archiveflag)

Associated revisions

Revision 79326baf
Added by Patrick Stählin about 1 year ago

Support for storing/loading scripts

References #396

Revision 3df230c8
Added by Patrick Stählin about 1 year ago

Moved global prop functions into Property object

Function mapping (old => new):
  • getProperty() => Property.setProperty()
  • getProperty() => Property.getProperty()
  • setListener() => Property.setListener()
  • removeListener() => Property.removeListener()
  • hasFlag() => Property.hasFlag()
  • setFlag() => Property.setFlag()
New functions:
  • Property.getNode(path)
    Returns a node-object
  • Property.store()
    Persists the properties of the private subtree
  • Property.load()
    Loads previously persisted properties
Functions on node-object:
  • getValue()
  • setValue(value)
  • setListener(callbackFunction)
  • removeListener(callbackIdent)
  • getChild(relativePathToNode)

References #396

History

Updated by Miguel Rodriguez over 1 year ago

  • Status changed from New to Assigned
  • Assignee set to Patrick Stählin
  • Target version set to 0.9.0-alpha1

Updated by Miguel Rodriguez over 1 year ago

  • Target version changed from 0.9.0-alpha1 to 0.9.0-alpha2

Updated by Miguel Rodriguez over 1 year ago

  • Target version changed from 0.9.0-alpha2 to 0.9.0-alpha3

Updated by Miguel Rodriguez over 1 year ago

  • Target version changed from 0.9.0-alpha3 to 0.9.0-alpha2

Updated by Miguel Rodriguez over 1 year ago

  • Priority changed from (P3) Normal to (P2) High
  • Target version changed from 0.9.0-alpha2 to 0.9.0-alpha3

Updated by Patrick Stählin over 1 year ago

  • Target version changed from 0.9.0-alpha3 to 0.9.0-alpha4

Updated by Patrick Stählin about 1 year ago

  • Status changed from Assigned to Resolved
  • Assignee changed from Patrick Stählin to Roman Köhler

Implemented as per-script property storage.

Updated by Roman Köhler 12 months ago

  • Status changed from Resolved to Closed

geht

Also available in: Atom PDF