Bug 539990 - make problem marker creation incremental

The current error reporting first deletes all markers and recreates
them. This modifies the workspace's element tree and thereby invalidates
the cached delta in BuildManager even if no markers actually change.

This change introduces IncrementalErrorReporter which collects marker
attributes for reported problems and tries to find an existing marker
with equal attributes. If it finds one, the marker is kept and no
changes to the element tree are necessary.

Change-Id: I8135d04229d56b9c0e5ce3fbde6ed8e7df24d2fa
Signed-off-by: Julian Honnen <julian.honnen@vector.com>
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
16 files changed
tree: d852c4f7be97eccf79bdbc2dd78dbe425d44eb51
  1. apitools/
  2. ds/
  3. features/
  4. releng/
  5. tests-pom/
  6. ua/
  7. ui/
  8. .gitignore
  9. pom.xml
  10. README.md
README.md

Contributing to PDE - Plug-in development Environment

Thanks for your interest in this project.

Project description:

The PDE project the Eclipse tooling to develop plug-ins and OSGI bundles.
Website: https://www.eclipse.org/pde/

How to contribute:

Contributions to PDE are most welcome. There are many ways to contribute, from entering high quality bug reports, to contributing code or documentation changes. For a complete guide, see the [How to Contribute] 1 page on the team wiki.

Developer resources:

Information regarding source code management, builds, coding standards, and more.

Contributor License Agreement:

Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).

Search for bugs:

This project uses Bugzilla to track ongoing development and issues.

Create a new bug:

Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!

Contact:

Contact the project developers via the project's “dev” list.

License

Eclipse Public License (EPL) v1.0