Creating a plugin [message #976731] |
Thu, 08 November 2012 15:15  |
Eclipse User |
|
|
|
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 05:31  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.11330 seconds