|
|
|
Re: [Xtend] access to Issues from JAVA extension [message #537918 is a reply to message #537529] |
Fri, 04 June 2010 07:45 |
|
It is not intended to use the Issues object from Xtend, so there is no direct way to do this. What you could do is to write a small WorkflowComponent, or subclass ExtIssueReporter, which gets the Issues object passed. This object must be stored for later access. ExtIssueReporter uses a ThreadLocal, but the getIssues() method is private. You would need a public static method that returns the value of the ThreadLocal. This method could be used from a JAVA extension. Since you are returning the Issues object you would need to use the JavaMetaModel to use the object, this needs to be configured in the project properties and the workflow.
HTH,
~Karsten
Need professional support for Xtext, EMF, Eclipse IDE?
Go to: http://devhub.karakun.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
|
|
|
|
Powered by
FUDForum. Page generated in 0.04970 seconds