Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » rewriting ast with Template Variables (still open)
rewriting ast with Template Variables (still open) [message #716363] Wed, 17 August 2011 07:38 Go to next message
Andreas Kaluza is currently offline Andreas KaluzaFriend
Messages: 10
Registered: December 2010
Junior Member
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

index.php/fa/3678/0/
  • Attachment: 1.png
    (Size: 4.90KB, Downloaded 282 times)

[Updated on: Mon, 22 August 2011 16:45]

Report message to a moderator

Re: rewriting ast with Template Variables (still open) [message #718114 is a reply to message #716363] Tue, 23 August 2011 10:00 Go to previous message
Andreas Kaluza is currently offline Andreas KaluzaFriend
Messages: 10
Registered: December 2010
Junior Member
Anyone?
Previous Topic:Proposal Computer: Additional Info formatting (still open)
Next Topic:how to get IField java class full name?
Goto Forum:
  


Current Time: Thu Sep 26 21:28:37 GMT 2024

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

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

Back to the top