}
ReusableHelpPart helpPart = tray.getHelpPart();
IHelpPartPage page = helpPart.createPage(CheatSheetHelpPart.ID, null, null);
page.setVerticalSpacing(0);
page.setHorizontalMargin(0);
ICheatSheetStateManager trayManager = new TrayStateManager();
preTrayManager = stateManager;
stateManager = trayManager;
saveCurrentSheet(); // Save the state into the tray manager
helpPart.addPart(CheatSheetHelpPart.ID, new CheatSheetHelpPart(helpPart.getForm().getForm().getBody(), helpPart.getForm().getToolkit(), page.getToolBarManager(), contentElement, trayManager));
page.addPart(CheatSheetHelpPart.ID, true);