Bug 512740 - disabling the new index should disable its rescan job

Disable the indexer when the enablement preference is disabled.
Clear the page cache when the preference is disabled.
Initiate reindexing when the preference is enabled.

Change-Id: I082252bcf399e8d18196139bb1c1b7ddd1ca4fdc
Signed-off-by: Stefan Xenos <sxenos@gmail.com>
3 files changed
tree: 7f25ecc1a83d6f1108f00c709434de99ac4d6523
  1. org.eclipse.jdt.annotation/
  2. org.eclipse.jdt.annotation_v1/
  3. org.eclipse.jdt.apt.core/
  4. org.eclipse.jdt.apt.pluggable.core/
  5. org.eclipse.jdt.apt.pluggable.tests/
  6. org.eclipse.jdt.apt.tests/
  7. org.eclipse.jdt.apt.ui/
  8. org.eclipse.jdt.compiler.apt/
  9. org.eclipse.jdt.compiler.apt.tests/
  10. org.eclipse.jdt.compiler.tool/
  11. org.eclipse.jdt.compiler.tool.tests/
  12. org.eclipse.jdt.core/
  13. org.eclipse.jdt.core.internal.tools/
  14. org.eclipse.jdt.core.tests.builder/
  15. org.eclipse.jdt.core.tests.compiler/
  16. org.eclipse.jdt.core.tests.model/
  17. org.eclipse.jdt.core.tests.performance/
  18. tests-pom/
  19. .gitignore
  20. pom.xml
  21. README.md
README.md

JDT Core

This is the core part of Eclipse's Java development tools. It contains the non-UI support for compiling and working with Java code, including the following:

  • an incremental or batch Java compiler that can run standalone or as part of the Eclipse IDE
  • Java source and class file indexer and search infrastructure
  • a Java source code formatter
  • APIs for code assist, access to the AST and structured manipulation of Java source.

For more information, refer to the [JDT wiki page] 1 or the [JDT project overview page] 2.

License

Eclipse Public License (EPL) v1.0