public RecentlyClosedEditors(EditorService editorService) {
this.editorService = editorService;
editorService.addEditorServiceListener(new EditorListener());
points = new LinkedList<EditorHistoryPoint>();
menu = new KongaMenu("&Recently Closed");
MenuDisabler.ignore(menu);
menu.addMenuListener(new MenuListenerImpl());
RecentlyClosedEditorsPreference.INSTANCE.addListener(new PreferenceListenerImpl());
checkEnabledState();
}