public void Activate() { IDesktopWindow desktopWindow = this.Context.DesktopWindow; // check if a layout component is already displayed if (Shelves.ContainsKey(desktopWindow)) { Shelves[desktopWindow].Activate(); } else { LaunchShelf(desktopWindow, new CineApplicationComponent(desktopWindow), ShelfDisplayHint.DockFloat); } }