Difference between revisions of "OCL/New and Noteworthy/Juno"

From Eclipsepedia

Jump to: navigation, search

Latest revision as of 14:35, 31 May 2013

Eclipse OCL New and Noteworthy items for the Juno 4.0.0 release.


[edit] Release Overview

[edit] Ecore and UML

The core Ecore and UML functionality is substantially unchanged.

  • bug fixes including
    • deep static operation overload resolution
    • optional dynamic operation dispatch for evaluation
  • additional Collection library iterations
    • selectByKind, selectByType
  • missing OCL 2.2 String library operations
    • +, at, characters, indexOf, substring
  • additional String library operations
    • endsWith, lastIndexOf, startsWith, substituteAll, substituteFirst, tokenize
  • additional String library regex operations
    • matches, replaceAll, replaceFirst
  • Window->Preference page for options

[edit] Pivot Examples

The examples Pivot functionality is steadily evolving towards UML alignment

  • as above as for Ecore and UML
  • experimental Direct to Java Code Generation
    • see the Code Generation Tutorial in the OCL Documentation
  • Complete OCL documents can be loaded into other modeling tools
    • see the Complete OCL Tutorial in the OCL Documentation

[edit] Milestone 1

[edit] Project

  • 349114 GIT is now used to manage source code

[edit] Language

  • 349125 OclSelf introduced
  • 350894 URI namespace qualification introduced

[edit] Editors

  • 353519 Markups in comments introduced

[edit] OCLinEcore Editor

  • 353793 Inter-resource references no longer lost on load
  • 354210 Initial module declaration no longer necessary
  • 354290 Package reference errors after editing fixed
  • 354336 Source-less EAnnotations supported

[edit] Ecore

  • 352964 EcoreEvaluationEnvironment extensible for QVTo collections
  • 353171 NPE for solitary Query delegate

[edit] Pivot

  • 349758 PrettyPrinter introduced

[edit] Milestone 2

The MDT/UML2 project now supports UML 2.4 and so Eclipse OCL is therefore also now based on UML 2.4.

[edit] OCLinEcore Editor

  • 351578 Inherited constraints no longer ignored
  • 355471 Distinct SaveAS/SaveIn Ecore introduced

[edit] Pivot

  • 354907 Polymorphic int/long/BigInteger values introduced
  • 355790 Duplicate TypeManager registrations eliminated

[edit] Milestone 3

This new direct OCL 2 Java Code Generator Component supports genmodelling of direct Java code for OCL delegate annotations giving a major perfotmance improvement, typically 5 to 50 times improvmenet in evaluation speed and eliminating the run-time costs of OCL parsing. The Code Generator is packaged in the separate OCL Tools feature since it has a dependency on Acceleo which has a dependency on OCL-ecore.

[edit] OCLinEcore Editor

  • 328288 reference keyword added for EAnnotation references
  • 358915 /** */ Comments persist as GenModel documentation EAnnotations
  • 362620 Nested packages prefixes no longer corrupted on load

[edit] Ecore

  • 324765 Delegate initialization routine added
  • 360072 'pivot' as well as 'ecore' OCL delegates can be intermixed

[edit] Pivot

TypeManager has been renamed as MetaModelManager, but remains as a deprecated subclass.

  • 324765 Delegate initialization routine added
  • 349962 Moniker-based synchronization replaced by CS URIs
  • 349964 All Values have a type
  • 352950 Numeric down-casts are now errors
  • 360072 'pivot' as well as 'ecore' OCL delegates can be intermixed

[edit] Code Generator

  • 279638 Code generator introduced

[edit] Milestone 4

[edit] Pivot

  • 351512 collect() now provides a flattened return type
  • 358713 ecore::EByte, EByteObject, EChar, ECharacterObject supported

[edit] Milestone 5

[edit] Ecore

  • 363638 Delegate memory leakage addressed

[edit] Pivot

  • 309459 selectByKind, selectByType added

[edit] Milestone 6

[edit] UI

  • 360354 Workspace preferences introduced for OCL parsing and evaluation options

[edit] Ecore, UML

  • 372908 Use of closure() no longer generates a warning by default

[edit] Complete OCL

  • 368612 Complete OCL can be loaded into other editors

[edit] Editors

  • 345282 Completion proposals are now generally available

[edit] Console (Xtext)

  • 370397 Multi-line entry possible using Shift or Ctrl Enter

[edit] Milestone 7

[edit] Ecore, UML

  • 378577 Overloads now resolve to best rather than first match
  • 377374 import statements ignored in Complete OCL for pivot compatibility
  • 367822 Dynamic dispatch evaluation option added
  • 350493 Internal Ecore implementation of Tuple reuses UML approach
  • 344368 Long generally useable in place of Integer

[edit] Pivot

  • 378205 Datatypes can be constructed and serialised toString
  • 373289 String::tokenize() added

[edit] OCLinEcore

  • 362517 Ecore.ecore loadable again

[edit] RC1

[edit] Ecore

[edit] OCLinEcore

  • 363273 Save of bad *.oclinecore as *.ecore prevented

[edit] SR1

Eclipse OCL New and Noteworthy items for the Juno 4.0.1 SR1 release.

[edit] Ecore, UML

  • 388595 EDataTypes may be sources of OperationCallExps

[edit] OCLinEcore

  • 388282 Ambiguous superclasses are now qualified

[edit] SR2

Eclipse OCL New and Noteworthy items for the Juno 4.0.2 SR2 release.

  • 387973 Standalone functionality no longer requires a platform plugin on the classpath