rewriting ast with Template Variables (still open) [message #716363] |
Wed, 17 August 2011 07:38  |
Eclipse User |
|
|
|
Hi,
I'm using the proposal computer to generate proposal. If one proposal is choosen, my plugin rewrites the AST.
Now I would like to insert Template variables to be more user friendly. E.g. If I insert Button button = new Button(parent, SWT.DEFAULT); , the underlined expressions should be editable after insertion. The corresponding template variable would be §{someExpression}, I think (like within the SWT template proposal, see attachment). But I cannot insert the '$' into the expressions.
Does anyone have an idea, how to solve the problem?
Thanks,
Andy
Attachment: 1.png
(Size: 4.90KB, Downloaded 288 times)
[Updated on: Mon, 22 August 2011 16:45] by Moderator Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03664 seconds