onProjectOpen (cb) {
    if (this.lightMode) return
    if (this.project) {
      cb(this.project)
      return
    }
    this.hooks.projectOpen.push(cb)
  }
Register an handler called when the project is open (only if this plugin is loaded).

@param {function} cb Handler