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 19:17
VVasanth Kumar is currently offline VVasanth KumarFriend
Messages: 13
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,
Previous Topic:New Spanish Project
Next Topic:blank eclipse window
Goto Forum:

Current Time: Thu Apr 19 14:07:01 GMT 2018

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

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