[xtend] java escape and lists [message #518225] |
Wed, 03 March 2010 14:26 |
Soeren Hansen Messages: 3 Registered: March 2010 |
Junior Member |
|
|
Hi,
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) {
}
and
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.
Regards,
Soeren
|
|
|
Powered by
FUDForum. Page generated in 0.03260 seconds