Plugin: Editor - View interaction [message #300401] |
Wed, 08 March 2006 11:11 |
Eclipse User |
|
|
|
Originally posted by: bovsan.vikings.dk
Hi
Im trying to create plug-in that can do the following:
Extend the default java editor so that it can:
1. Insert text at cursor, when triggered from the view (action executed).
2. Scan for when a method signature has been completed "{".
Show some data in a view:
3. When method signature from editor is completed display some data (in
the view).
I can create a view, show data, and a new editor and make scanner rules,
but I can't figure out the following:
a. From the view, find the "hook" that lets me insert text at the curser
in the last open editor. (A user types in the editor, scanner rule
executes at some time, search request gets handled and data is displayed
in the view.)
b. Figure out how to make an editor that just extends the regular eclipse
java editor with the functionality I want.
Is this possible? Any suggestions where I could find an example (I have
looked through all the Eclipse plugin examples).
Any help is greatly appreciated and thanks in advance for your time.
Regards
/Per
|
|
|
Powered by
FUDForum. Page generated in 0.03183 seconds