Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Reg: Generating code in Eclipse editor through programs(How to generate the code in Eclipse editor using programs)
Reg: Generating code in Eclipse editor through programs [message #895996] Mon, 16 July 2012 15:17
VVasanth Kumar is currently offline VVasanth Kumar
Messages: 3
Registered: July 2012
Junior Member
Hi All,

Currently, I am developing an Eclipse plugin that has to generate some codes in eclipse editor when user performs certain actions.

My requirement would be as below:

After activating the plugin - when user clicks/double clicks, some predefined text needs to be populated in the eclipse text editor.

When I went through the internet, I found some details on the classes IWorkbench, IWorkbenchPage and ITextEditor. But I did not get any reference that would populate the text in the text editor of the current active workbench page.

Could any of you please help me by providing directions to my above query?

Thanks in advance,
VVasanth
Previous Topic:New Spanish Project
Next Topic:blank eclipse window
Goto Forum:
  


Current Time: Fri Aug 22 17:47:14 EDT 2014

Powered by FUDForum. Page generated in 0.01653 seconds