Java Content Assist in a View [message #1003614] |
Mon, 21 January 2013 16:08 |
Agustin Muñoz Messages: 2 Registered: January 2013 |
Junior Member |
|
|
Hi,
I don't know if it is the correct project to post about this. Sorry if not.
I'm implementing a plugin consisting on a view, that requires Java content assist. The view includes a small window where java code is typed and evaluated. Same as the Display view in Debug mode.
I've searched a lot in the web, but couldn't find any help on this.
Is there any way this can be accomplished?
Thanks
Agustin
|
|
|
|
|
Re: Java Content Assist in a View [message #1004051 is a reply to message #1003998] |
Tue, 22 January 2013 13:56 |
Agustin Muñoz Messages: 2 Registered: January 2013 |
Junior Member |
|
|
Thanks for the answers, I'll take a look. My main problem is that my input is an String(containing the code) and not a file and I'm not using editors, but SourceViewer (AFAIK an editor works internally with a SourceViewer) so I guess I will need to do some plumbing here.
Just to you to get a better idea what I'm trying to accomplish, I'm writing a plugin for running JPA queries (JPQL and Criteria). Basically, there is a tab where you can write some Java code using the JPA Criteria API and evaluate it. I want to add content assist for that, so it facilitates the coding.
I'll try to play around ICompilationUnit.
Agustin
|
|
|
Powered by
FUDForum. Page generated in 0.03370 seconds