title: Add Toolbar in eclipse rcp application
body: <p>I want to add toolbar in eclipse rcp application, i tried to write the code in <strong>fillCoolBar</strong> function in <strong>ActionBarAdvisor.java</strong> and also using extensions. But the extensions provided by other plugins is not aligned properly. My guess is that the names of various toolbarManager inside the toolbar is not proper.
  Anyone can tell me how to add all the icons so that the extra icons added by other plugins and added by me are aligned properly?
  Every time i restart or open a new work-space the icons spacing changes!
  I have attached a image of the problem.</p>
  
  <p><img src="https://i.stack.imgur.com/r8Xyi.png" alt="Coolbar problem in eclipse application"></p>
  
  <p>The code in fillCoolBar is as follows:</p>
  
  <pre><code>@Override
  protected void fillCoolBar(ICoolBarManager coolBar){
          IToolBarManager fileToolbar1 = new ToolBarManager(SWT.WRAP);
          fileToolbar1.add(new Separator(IWorkbenchActionConstants.NEW_GROUP));
          fileToolbar1.add(newDropDownAction);
          fileToolbar1.add(new GroupMarker(IWorkbenchActionConstants.NEW_EXT));
          fileToolbar1.add(new GroupMarker(IWorkbenchActionConstants.SAVE_GROUP));
          fileToolbar1.add(saveFileAction);
          fileToolbar1.add(saveAllFilesAction);
          fileToolbar1.add(new GroupMarker(IWorkbenchActionConstants.SAVE_EXT));
          fileToolbar1.add(printAction);
          fileToolbar1.add(new GroupMarker(IWorkbenchActionConstants.PRINT_EXT));
          coolBar.add(fileToolbar1);
  }
  </code></pre>