title: How to add a view to the Window menu in an Eclipse RCP?
body: <p>I want to add my custom view to the "Window" menu. This code is adding only opened views</p>
  
  <pre><code>    IMenuManager pencereler = new MenuManager("sample");
      pencereler.add(ContributionItemFactory.VIEWS_SHORTLIST.create(window));
      viewMenu.add(pencereler);
  </code></pre>
  
  <p>If I open my custom view, it is added to this menu. However, I want to show my custom view always in this menu, not only after it has been opened.</p>
  
  <p>So can I create "ContributionItem" from the view or is there any other way like adding some lines to "plugin.xml" or adding my view's id to any extension?</p>