Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How can I let my xbase based language takes basic extension like Xtend does?
How can I let my xbase based language takes basic extension like Xtend does? [message #813687] Mon, 05 March 2012 15:58 Go to next message
Jeeeyul Lee is currently offline Jeeeyul LeeFriend
Messages: 117
Registered: July 2009
Location: Seoul
Senior Member

How can I let my xbase based language takes basic extension like Xtend does?

Xtend takes some extensions by default. (StringExtensions, IterableExtension...)
My xbase based language also takes default extensions. But I want to contribute more custom extensions by default.

Re: How can I let my xbase based language takes basic extension like Xtend does? [message #813756 is a reply to message #813687] Mon, 05 March 2012 17:10 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13416
Registered: July 2009
Senior Member
Hi,

have a look at StaticMethodsFeatureForTypeProvider and ExtensionClassNameProvider

~Christian


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: How can I let my xbase based language takes basic extension like Xtend does? [message #814045 is a reply to message #813756] Tue, 06 March 2012 00:56 Go to previous message
Jeeeyul Lee is currently offline Jeeeyul LeeFriend
Messages: 117
Registered: July 2009
Location: Seoul
Senior Member

Thank you! It works!

[Updated on: Tue, 06 March 2012 03:35]

Report message to a moderator

Previous Topic:Scoping question, references to sub-elements of auto-imported elements
Next Topic:Infer return type of XBlockExpression which refers Parameters
Goto Forum:
  


Current Time: Wed Apr 01 12:51:26 GMT 2020

Powered by FUDForum. Page generated in 0.02315 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top