Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [xtend] java escape and lists
[xtend] java escape and lists [message #518225] Wed, 03 March 2010 14:26
Soeren Hansen is currently offline Soeren HansenFriend
Messages: 3
Registered: March 2010
Junior Member

I am trying to buffer a list of a specific type of EObject using java escapes
from xtend. However I can't figure out how to get it to work, i.e. which
types to use on java and xtend side.

What I would like to work looks like this:

Void copyStatesToClipboard(List[State] states):
JAVA ....Utils.statesToClipboard(java.util.List)
public static void statesToClipboard(final List<State> states) {


public static List<States> getStatesFromClipboard() {

List[State] getStatesFromClipboard():
JAVA ....Utils.getStatesFromClipboard()

However the types don't seem to match, i.e. xtend isn't doing anything.

Appreciate any help on this.

Previous Topic:ATL
Next Topic:[Xtend] resolve links to other files
Goto Forum:

Current Time: Sat Jun 06 03:04:27 GMT 2020

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

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

Back to the top