Re: ImportManager and JET2 [message #2666] |
Tue, 06 February 2007 11:44  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Tim,
JET2 has moved to the M2T project, so questions about it are best asked
on the eclipse.modeling.m2t newsgroup, which I've added to the "to"
list. I believe that Paul is away at a conference this week, and since
I don't know the answer, an answer is might take a little while...
Tim wrote:
> Hi,
>
> I'm using JET2 with the <java:importsLocation> tag. I'm also using
> statements like genOperation.getThrows()
>
> Can someone tell me how to link the ImportManager instance linked to
> the GenModel with the instance created by the importsLocation tag?
> They don't seem to be consistent.
>
> Regards,
>
> Tim
>
|
|
|
|
Re: ImportManager and JET2 [message #2714 is a reply to message #2694] |
Tue, 06 February 2007 14:01  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Tim,
That looks like a good approach. It should definitely work in term of
convincing the GenModel and everything under it to use this instance...
Tim Johnson wrote:
> This works, not sure it's correct:
>
> <java:importsLocation package="{$classPackageName}"/>
>
> <%
> genClass.getGenPackage().getGenModel().setImportManager(Java ActionsUtil.getImportManager(out));
> %>
>
> Tim
>
|
|
|
Powered by
FUDForum. Page generated in 0.06051 seconds