// Workspaces.PresetHandle is an opaque handle returned by // IWorkspaceManager.register(). Store it to unregister later. constgui = this.pluginSystem.findInterface(IGui.interfaceId) asIGui; constmgr = gui.workspaces;
// PresetHandle is returned by IWorkspaceManager.register() // Store it to unregister the workspace preset during cleanup console.log('IWorkspaceManager obtained via gui.workspaces'); console.log('PresetHandle is the opaque token from mgr.register(descriptor)');
Handle referencing a predefined workspace preset.
Example