(options)
| 26 | } |
| 27 | |
| 28 | constructor (options) { |
| 29 | super(options) |
| 30 | this.modelClass = options.model |
| 31 | this.modelLabel = options.modelLabel |
| 32 | this.newModelTitle = `editor.new_${_.string.slugify(this.modelLabel)}_title` |
| 33 | this.properties = options.properties |
| 34 | this.hasNoNameProperty = options.hasNoNameProperty |
| 35 | } |
| 36 | |
| 37 | makeNewModel () { |
| 38 | const model = new this.modelClass() |
nothing calls this directly
no outgoing calls
no test coverage detected