Skip to main content

Editor.InterfaceId

Class

Unique identifier for plugin interfaces.

Example

// InterfaceId is also used to look an interface up at runtime.
const id: Editor.InterfaceId = Editor.Model.IModel.interfaceId;
const model = this.pluginSystem.findInterface(id) as Editor.Model.IModel;
console.log('Resolved via InterfaceId. Project:', model.project.projectFile.toString());