Store Methods
Store methods are typically provided by plugins and attached to the store to make them available during the drafting process.
Some of FreeSewing's core library functionality is implemented as store methods to allow plugins to override this functionality. Examples include log handling and pattern layout algorithm.
All store methods below are either provided by plugins we maintain, or are the default store methods as provided by the core library.
Signature
null method(object Store, object config)
A store method receives as its first parameter the Store object, and as second parameter a single configuration object for the method.
Store methods we maintain
- cutlist.addCut()
- cutlist.getCutFabrics()
- cutlist.getGrainOrigin()
- cutlist.removeCut()
- cutlist.removeCutOnFold()
- cutlist.removeGrain()
- cutlist.setCut()
- cutlist.setCutOnFold()
- cutlist.setGrain()
- flag.error()
- flag.fixme()
- flag.info()
- flag.note()
- flag.preset()
- flag.tip()
- flag.warn()
- generateMacroIds()
- getMacroIds()
- log.debug()
- log.error()
- log.info()
- log.warn()
- pack()
- removeMacroNodes()
- storeMacroIds()
- unflag.error()
- unflag.fixme()
- unflag.info()
- unflag.note()
- unflag.preset()
- unflag.tip()
- unflag.warn()