Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to attach source for plugin-in dependencies?

 
Ken Liao
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there anybody could tell me how to attach source for the plugin-in dependencies in eclipse?
The eclipse version is 3.4.1. I've downloaded the eclipse SDK. But I don't know how to attach it.
I tried to declare the source at: "Windows" --> "preferences" -->"Plug-in Development" --> "Target Platform" -->"Source Code Locations", but it seems not effect.
 
Ken Liao
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
somebody can help me?
 
Ken Liao
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I changed the "Target platform" Location to eclipse SDK directory from eclipse installation directory, and all the sources are found and listed in "Source Code Locations" tab.
But after that, most of the original plug-in dependencies in project "JAVA Build Path-->Libraries-->Plug-in Dependencies" were lost, I don't know how to add it.
Is there anybody can help me?
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think we understand. The "plug in development" menu is for when you want to write your own plug-ins, not for using ones already written.

I think what you're looking for is source code attached to the externally-provided classes you're testing. Check back a couple of messages and you'll find a discussion on that.
 
Ken Liao
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm developing a plug-in project and I create a "Editor" class which extends the class "AbstractDecoratedTextEditor" defined in "org.eclipse.ui.editor.jar".
This "Editor" is able to open a file and edit it. But if the file size is too large(>10M), it will throw an out of memory exception. I found that the "Editor" reads all the file content into the memory not uses the buffer.
I want to extend this function with buffer reader, so I need to look through the eclispe SDK source.
I've downloaded the eclipse SDK, but I don't know how to attach it?
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make an Eclipse project out of it.

Last time I tested a plug-in, it basically used one copy of Eclipse to launch another anyway. Besides, to the best of my knowledge, that's where new Eclipses come from!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic