// Every interface registered with the plugin system extends IPluginComponent. // Retrieve one by calling pluginSystem.findInterface() with its interfaceId // and casting to the concrete type. constmodel = this.pluginSystem.findInterface( Editor.Model.IModel.interfaceId ) asEditor.Model.IModel;
console.log('Resolved IPluginComponent (IModel). Current project file:', model.project.projectFile.toString());
Interface for plugin component registration.
Example