Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 385174 - UML Typesystem produces "Couldn't find operation '...' for 'java::lang::String'" on UML2 4.0
Summary: UML Typesystem produces "Couldn't find operation '...' for 'java::lang::Strin...
Status: CLOSED FIXED
Alias: None
Product: M2T
Classification: Modeling
Component: Xpand (show other bugs)
Version: 1.2.2   Edit
Hardware: PC All
: P3 major (vote)
Target Milestone: M4   Edit
Assignee: Karsten Thoms CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-16 08:54 EDT by Jochen Schmich CLA
Modified: 2017-10-31 11:26 EDT (History)
1 user (show)

See Also:
karsten.thoms: kepler+


Attachments
Is aware of the "Types" EPackage used by UML2 4.0 Metamodel (3.12 KB, patch)
2012-07-16 08:59 EDT, Jochen Schmich CLA
karsten.thoms: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Schmich CLA 2012-07-16 08:54:32 EDT
The Ecore Metamodel of UML2 4.0 points to the new "Types" EPackage to reference primitive types like "String", "Boolean" and so on.

Xtend UML Typesystem doesn't map those types to the BuiltinMetaModel.

That way existing extensions don't work anymore. Only tested this in the UI. As the mapping is done in 'org.eclipse.xtend.typesystem.uml2' this error should also occur in the runtime environment.

I'll submit a patch in a minute.
Comment 1 Jochen Schmich CLA 2012-07-16 08:59:46 EDT
Created attachment 218750 [details]
Is aware of the "Types" EPackage used by UML2 4.0 Metamodel

This adds new mappings for the Types-EPackage.
The code has been beautified a bit, too.
Comment 2 Karsten Thoms CLA 2012-08-22 08:00:22 EDT
Patch looks fine
Comment 3 Karsten Thoms CLA 2012-08-22 08:02:37 EDT
Thanks for the patch
Comment 4 Karsten Thoms CLA 2013-02-07 06:11:59 EST
Part of Kepler M4 (Version 1.3.0)
Comment 5 Eclipse Webmaster CLA 2017-10-31 11:26:36 EDT
Requested via bug 522520.

-M.