Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Plugin: Editor - View interaction
Plugin: Editor - View interaction [message #300401] Wed, 08 March 2006 11:11
Eclipse UserFriend
Originally posted by: bovsan.vikings.dk

Hi
I’m 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
Previous Topic:How to open a file into the associated editor?
Next Topic:CellEditor in TableViewer not displayed on top of table
Goto Forum:
  


Current Time: Wed May 07 21:56:56 EDT 2025

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

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

Back to the top