Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "MDT/New and Noteworthy/1.1"
m (remove parens) |
(OCL M3 content) |
||
Line 14: | Line 14: | ||
=== Release 1.2 M3 === | === Release 1.2 M3 === | ||
− | ==== OCL | + | ==== OCL Grammar and Parser API Refactoring ==== |
− | ' | + | This milestone delivers the long-awaited refactoring of the OCL LPG grammar and associated parser API, contributed by Ed Willink from the [[GMT]] project's [[UMLX]] component. |
+ | |||
+ | The major new API in this contribution is defined in the <tt>[http://download.eclipse.org/modeling/mdt/ocl/javadoc/1.2.0/org/eclipse/ocl/lpg/package-summary.html org.eclipse.ocl.lpg]</tt> and | ||
+ | <tt>[http://download.eclipse.org/modeling/mdt/ocl/javadoc/1.2.0/org/eclipse/ocl/parser/package-summary.html org.eclipse.ocl.parser]</tt> packages. | ||
+ | Included is an implementation of an EssentialOCL grammar (<tt style="color:green">EssentialOCL.g</tt>) which is included in the full grammar (<tt style="color:green">OCLParser.g</tt>). The former <tt style="color:green">OCLParser</tt> class (which was internal) is refactored to separate the concrete syntax and abstract syntax parsing phases, implemented by the public classes | ||
+ | <tt>[http://download.eclipse.org/modeling/mdt/ocl/javadoc/1.2.0/org/eclipse/ocl/parser/OCLParser.html OCLParser]</tt> and | ||
+ | <tt>[http://download.eclipse.org/modeling/mdt/ocl/javadoc/1.2.0/org/eclipse/ocl/parser/OCLAnalyzer.html] OCLAnalyzer</tt>, respectively. | ||
+ | |||
+ | Abstract LPG-parsing API is provided by the <tt style="color:green">org.eclipse.ocl.lpg</tt> package, with abstract definitions of | ||
+ | [http://download.eclipse.org/modeling/mdt/ocl/javadoc/1.2.0/org/eclipse/ocl/lpg/AbstractLexer.html lexers], | ||
+ | [http://download.eclipse.org/modeling/mdt/ocl/javadoc/1.2.0/org/eclipse/ocl/lpg/AbstractParser.html parsers], and | ||
+ | [http://download.eclipse.org/modeling/mdt/ocl/javadoc/1.2.0/org/eclipse/ocl/lpg/AbstractAnalyzer.html analyzers]. These are accompanied by a <tt>[http://download.eclipse.org/modeling/mdt/ocl/javadoc/1.2.0/org/eclipse/ocl/lpg/BasicEnvironment.html BasicEnvironment]</tt> interface that provides core services such as a new pluggable [http://download.eclipse.org/modeling/mdt/ocl/javadoc/1.2.0/org/eclipse/ocl/lpg/Problemhandler.html ProblemHandler] for flexible reporting of parsing/analysis problems. | ||
+ | |||
+ | See [https://bugs.eclipse.org/bugs/show_bug.cgi?id=176110 Bug 176110] for further details. | ||
==== Navigation of Unnamed Association Ends ==== | ==== Navigation of Unnamed Association Ends ==== | ||
− | + | The UML metamodel binding now supports parsing and evaluation of OCL expressions that navigate unnamed association ends. The OCL convention for unnamed ends defines an implicit name which is the name of the classifier at that end with the initial letter in lower case. MDT OCL supports evaluation of such navigation expressions, where the implicit end name is unambiguous, on both instances of UML2-generated metamodels and on instance specifications in UML models. | |
[[Image:unnamed-assoc-ends.png|Navigating unnamed association ends]] | [[Image:unnamed-assoc-ends.png|Navigating unnamed association ends]] | ||
Line 27: | Line 40: | ||
For other bug fixes, see the | For other bug fixes, see the | ||
− | [http://www.eclipse.org/modeling/mdt/news/relnotes.php?project=ocl&version=1.2.0M3 | + | [http://www.eclipse.org/modeling/mdt/news/relnotes.php?project=ocl&version=1.2.0M3 OCL 1.2 M3 release notes]. |
== [[MDT-OCLTools|OCL Tools]] Component == | == [[MDT-OCLTools|OCL Tools]] Component == |
Revision as of 11:00, 13 November 2007
Model Development Tools Release 1.1 New and Noteworthy Items.
For more details about the development plan, see the MDT 1.1 draft plan.
Back to Modeling Development Tools.
Contents
EMF Ontology Definition Metamodel (EODM) Component
TBD
Object Constraint Language (OCL) Component
Release 1.2 M3
OCL Grammar and Parser API Refactoring
This milestone delivers the long-awaited refactoring of the OCL LPG grammar and associated parser API, contributed by Ed Willink from the GMT project's UMLX component.
The major new API in this contribution is defined in the org.eclipse.ocl.lpg and org.eclipse.ocl.parser packages. Included is an implementation of an EssentialOCL grammar (EssentialOCL.g) which is included in the full grammar (OCLParser.g). The former OCLParser class (which was internal) is refactored to separate the concrete syntax and abstract syntax parsing phases, implemented by the public classes OCLParser and [1] OCLAnalyzer, respectively.
Abstract LPG-parsing API is provided by the org.eclipse.ocl.lpg package, with abstract definitions of lexers, parsers, and analyzers. These are accompanied by a BasicEnvironment interface that provides core services such as a new pluggable ProblemHandler for flexible reporting of parsing/analysis problems.
See Bug 176110 for further details.
The UML metamodel binding now supports parsing and evaluation of OCL expressions that navigate unnamed association ends. The OCL convention for unnamed ends defines an implicit name which is the name of the classifier at that end with the initial letter in lower case. MDT OCL supports evaluation of such navigation expressions, where the implicit end name is unambiguous, on both instances of UML2-generated metamodels and on instance specifications in UML models.
Navigating unnamed association ends
Other Bug Fixes
For other bug fixes, see the OCL 1.2 M3 release notes.
OCL Tools Component
TBD
Unified Modeling Language 2.x (UML2) Component
TBD
UML2 Tools Component
TBD
XML Schema Infoset (XSD) Component
TBD