Bug 528890 - Status line contribution is at bottom-left at first start

In a new workspace, the menu contributions from extension points are
being created before the status bar controls (StatusBar, Heap Status,
Progressbar) are created. So icons or menus are adding left side.

In an old workspace, the status bar controls are initializing from a
saved e4 workspace model. Which was created after the first launch.
See
{$eclipse-workspace}\.metadata\.plugins\org.eclipse.e4.workbench\workbench.xmi

These methods below will create the statusbar and other controls
programmatically if not found in default e4 model. So, fixed it to have
placeholder in default e4 model.

org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.getTrim(MTrimmedWindow,
SideValue)
org.eclipse.ui.internal.WorkbenchWindow.populateStandardTrim(MTrimBar)

Change-Id: I5c8106bd0aeb4e0800942e8d19473d63d9f3962e
Signed-off-by: Lakshminarayana Nekkanti <narayana.nekkanti@gmail.com>
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
1 file changed
tree: 032caba5fdc89bdf820f7f29b4e42307b6c5379b
  1. ant/
  2. platform/
  3. update/
  4. .gitignore
  5. CONTRIBUTING
  6. LICENSE
  7. NOTICE
  8. pom.xml