only make the menu contribution visible when a java editor is open