Skip to main content
Jump to: navigation, search

VIATRA/Releases/Query/MigrateTo0.8

< VIATRA‎ | Releases
Revision as of 11:22, 10 February 2014 by Ujhelyiz.mit.bme.hu (Talk | contribs) (Created page with "== Differences in EMF-IncQuery 0.8 == The ''org.eclipse.incquery.runtime'' project does not depend (and re-export) on the ''org.eclipse.patternlanguage.emf'' project. This mi...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Differences in EMF-IncQuery 0.8

The org.eclipse.incquery.runtime project does not depend (and re-export) on the org.eclipse.patternlanguage.emf project. This might required some changes in existing code.

Generic API use

  • The GenericQuerySpecification, GenericPatternMatcher and GenericPatternMatch classes have been moved to the org.eclipse.incquery.patternlanguage.emf project, to the org.eclipse.incquery.patternlanguage.emf.specification package. In case these classes are required, add the org.eclipse.incquery.patternlanguage project as additional dependency.
  • To initialize query specifications from selected patterns, use the SpecificationBuilder class.

QuerySpecificationRegistry

The registry does not know anything about patterns; related methods, most specifically the #getOrCreateQuerySpecification(Pattern) method. If it is required, use the SpecificationBuilder#getOrCreateSpecification(Pattern) method instead.

Back to the top