Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Creating a plugin(How should this type of plugin be implemented?)
Creating a plugin [message #976731] Thu, 08 November 2012 20:15 Go to next message
A H is currently offline A HFriend
Messages: 2
Registered: November 2012
Junior Member
I am new to plugin development and trying to give the user a way to edit their code other than the typical file-based editing that is contained in tabs in Eclipse. Instead I want the development area to be split into 2 permanent "windows" or tabs. But instead of these containing an entire java file, I want the option of opening a single method.

So when the user first opens Eclipse with my plugin, the screen is split up into 2 halves. The halves are empty until they click on one then it will pop open a textbox that lets them search for an existing method name in their project, once they select one it will open it as an editor in that half.

This may seem like a lot and I have read many tutorials, but I am not sure how I should go about this. Do I need RCP? Do I just create special editors or views?

Re: Creating a plugin [message #981329 is a reply to message #976731] Mon, 12 November 2012 10:31 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 08.11.2012 21:28, A H wrote:
> I am new to plugin development and trying to give the user a way to
> edit their code other than the typical file-based editing that is
> contained in tabs in Eclipse. Instead I want the development area to
> be split into 2 permanent "windows" or tabs. But instead of these
> containing an entire java file, I want the option of opening a single
> method.
>
> So when the user first opens Eclipse with my plugin, the screen is
> split up into 2 halves. The halves are empty until they click on one
> then it will pop open a textbox that lets them search for an existing
> method name in their project, once they select one it will open it as
> an editor in that half.
>
> This may seem like a lot and I have read many tutorials, but I am not
> sure how I should go about this. Do I need RCP? Do I just create
> special editors or views?
Note that the Java editor is already capable of showing just the
selected Java element (Java > Editor > Only show the selected Java element).

Dani
Previous Topic:Run configurations: obtaining the dirname of the ${resource_loc}
Next Topic:using href in jsp
Goto Forum:
  


Current Time: Sat Apr 27 05:07:18 GMT 2024

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

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

Back to the top