12345678910111213141516171819202122232425 |
- /*
- * RebuildTool.js
- *
- * @author realor
- */
- import { Tool } from './Tool.js'
- class RebuildTool extends Tool {
- constructor(application, options) {
- super(application)
- this.name = 'rebuild'
- this.label = 'tool.rebuild.label'
- this.className = 'rebuild'
- this.immediate = true
- this.setOptions(options)
- }
- execute() {
- this.application.evaluateFormulas()
- this.application.rebuild()
- }
- }
- export { RebuildTool }
|