Improve Papyrus context check

PapyrusContextTester is very expensive, therefore, we should weakly
cache the result of PapyrusContextUtil.isPapyrusContext. Also, we should
properly check for ".di" extension in PapyrusContextUtil and not only
whether the input ends with "di".

Change-Id: Ica494e3eb1d6fe6def8d42a51fad6c6aac54879a
Signed-off-by: Philip Langer <planger@eclipsesource.com>
2 files changed
tree: 5c43ce6c81ba46648a9f1e1df3be8bf638193b06
  1. plugins/
  2. releng/
  3. tests/
  4. .gitattributes
  5. .gitignore
  6. .project
  7. CONTRIBUTING.md
  8. pom.xml
  9. README.MD
README.MD

Papyrus Collaborative Modeling

This is the collaborative modeling git repository

This repository is hosted at [Eclipse] (http://git.eclipse.org/c/papyrus/org.eclipse.papyrus-collaborativemodeling.git/)