Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How do I get the source code?
How do I get the source code? [message #49709] Sat, 07 March 2009 14:31 Go to next message
jayna is currently offline jaynaFriend
Messages: 10
Registered: July 2009
Junior Member
Hi,
I would like to know how do I get the source code for Package Explorer and
Outline Window...???

Is there any way to debug it?
Re: How do I get the source code? [message #49860 is a reply to message #49709] Mon, 09 March 2009 12:09 Go to previous messageGo to next message
Manuel Selva is currently offline Manuel SelvaFriend
Messages: 189
Registered: July 2009
Location: Grenoble, France
Senior Member
Hi,

Generally speaking you 'll have to identify which eclips eplug-in is
contributing the feature you want to have code and then in the plug-in
view from PDE perspective right click on this plug-in and select import as
source plug-in.

Of course, to do that you will need an SDK version of Eclipse.

For exampel, the outline view is provided by the org.eclipse.ui.views
plug-in

Hope this help

Manu


Re: How do I get the source code? [message #50490 is a reply to message #49709] Mon, 16 March 2009 19:59 Go to previous message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 84
Registered: July 2009
Member
jayna wrote:
> Hi,
> I would like to know how do I get the source code for Package Explorer
> and Outline Window...???
>
> Is there any way to debug it?
>

You can find "behind the scenes" plugins using Plug-in spy. It will work
only in 3.4 onwards though.

Start your Eclipse. Open the Package Explorer and press Alt + Shift + F1
to invoke the Spy. It will show you the contributing plug-in and class.
You can click it view the source code. You can do the same on Outline
window or any other Eclipse view/editor.

To debug the code, you will have to import the source bundles in your
workspace. Put the breakpoints. Create a new launch config of type
Eclipse Application. Debug using this config.

hth,
Ankur..
Re: How do I get the source code? [message #593004 is a reply to message #49709] Mon, 09 March 2009 12:09 Go to previous message
Manuel Selva is currently offline Manuel SelvaFriend
Messages: 189
Registered: July 2009
Location: Grenoble, France
Senior Member
Hi,

Generally speaking you 'll have to identify which eclips eplug-in is
contributing the feature you want to have code and then in the plug-in
view from PDE perspective right click on this plug-in and select import as
source plug-in.

Of course, to do that you will need an SDK version of Eclipse.

For exampel, the outline view is provided by the org.eclipse.ui.views
plug-in

Hope this help

Manu


Re: How do I get the source code? [message #593237 is a reply to message #49709] Mon, 16 March 2009 19:59 Go to previous message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 84
Registered: July 2009
Member
jayna wrote:
> Hi,
> I would like to know how do I get the source code for Package Explorer
> and Outline Window...???
>
> Is there any way to debug it?
>

You can find "behind the scenes" plugins using Plug-in spy. It will work
only in 3.4 onwards though.

Start your Eclipse. Open the Package Explorer and press Alt + Shift + F1
to invoke the Spy. It will show you the contributing plug-in and class.
You can click it view the source code. You can do the same on Outline
window or any other Eclipse view/editor.

To debug the code, you will have to import the source bundles in your
workspace. Put the breakpoints. Create a new launch config of type
Eclipse Application. Debug using this config.

hth,
Ankur..
Previous Topic:Target Platform within Eclipse 3.5M6
Next Topic:Target Platform within Eclipse 3.5M6
Goto Forum:
  


Current Time: Fri Dec 27 02:05:36 GMT 2024

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

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

Back to the top