Bug 549473 - [13] Text Block support in Java Editor for JEP 355 Text
Block

This patch contains changes as below:
1) IJavaPartitions introduces a new partition pertaining to Text Block.
2) FastJavaPartitionScanner to handle Text Blocks when required.
3) FastJavaPartitioner is a new class extended from FastPartitioner so
that the partitions can be recalculated when the preference value of
preview enabled feature changes.
4) PreviewFeaturesSubProcessor provides 2 new utility functions
pertaining to preview features and project specific settings.
5) JavaMultiLineStringAutoIndentStrategy to handle Text Block auto
indentation.
6) IJavaPartitionerManager handles the notifications to the
IDocumentPartitioners upon the change in preferences.
7) JavaPartitionerManager implements IJavaPartitionerManager and also
maintains the Editor info that is required by the FastJavaPartitioner to
find the Project information required. It also maintains an
Editor-Partitioner map to cleanup the editor info once the editor is
discarded.

TODO: Add test cases for the Text Blocks. This will be done as part of
another patch for this bug.

Change-Id: I7144e0462d52934c73f1644d0c2bab18fad880d5
Signed-off-by: Kalyan Prasad Tatavarthi <kalyan_prasad@in.ibm.com>
15 files changed
tree: d348c9ae00d8c62d1ef66948331ae5cbbbb9b954
  1. org.eclipse.jdt.astview/
  2. org.eclipse.jdt.astview.feature/
  3. org.eclipse.jdt.core.manipulation/
  4. org.eclipse.jdt.jeview/
  5. org.eclipse.jdt.jeview.feature/
  6. org.eclipse.jdt.junit/
  7. org.eclipse.jdt.junit.core/
  8. org.eclipse.jdt.junit.runtime/
  9. org.eclipse.jdt.junit4.runtime/
  10. org.eclipse.jdt.junit5.runtime/
  11. org.eclipse.jdt.text.tests/
  12. org.eclipse.jdt.ui/
  13. org.eclipse.jdt.ui.examples.javafamily/
  14. org.eclipse.jdt.ui.examples.projects/
  15. org.eclipse.jdt.ui.tests/
  16. org.eclipse.jdt.ui.tests.refactoring/
  17. org.eclipse.ltk.core.refactoring/
  18. org.eclipse.ltk.core.refactoring.tests/
  19. org.eclipse.ltk.ui.refactoring/
  20. org.eclipse.ltk.ui.refactoring.tests/
  21. tests-pom/
  22. .gitignore
  23. CONTRIBUTING
  24. LICENSE
  25. NOTICE
  26. pom.xml
  27. README.md
README.md

Contributing to JDT UI - Java development tools UI

Thanks for your interest in this project.

Project description:

The JDT UI implements the user interface for the Java IDE. This includes views like Package Explorer and JUnit, the Java and properties files editors, Java search, and refactorings. Website: http://www.eclipse.org/jdt/ui/

How to contribute:

Contributions to JDT UI 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).

Forum:

Public forum for Eclipse JDT users.

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