Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Looking for a Quick Fix for adding required plugin dependencies
Looking for a Quick Fix for adding required plugin dependencies [message #558817] Tue, 14 September 2010 14:18 Go to next message
Matthias Heinrich is currently offline Matthias Heinrich
Messages: 7
Registered: July 2010
Junior Member
Hi,

I often face the problem that I want to use external classes in my own plugin project but I am having trouble to quickly add the required plugin.

Detailed Workflow
- In my class I start writing code and type for instance WidgetProperties (a class in a plugin project which is not added as dependency yet)
- Now I would expect that I get a quick fix to add the dependency org.eclipse.jface.databinding

Currently, in order to figure out the correct plugin and to finally add the dependency I have to do the following
- Use the "Open Type" dialog (CTRL + SHIFT + T) to open the class (e.g. WidgetProperties)
- Select "Link with Editor" from the Package Explorer
- Select "Copy Qualified Name" from the context menu of the Package Explorer
- Write "import" in my own class & paste the qualified name (e.g. import org.eclipse.jface.databinding.swt.WidgetProperties)
- Now I finally get the Quick Fix „Add org.eclipse.jface.databinding.swt to imported packages"

Is there an easier way to add a required plugin? Or is there an explanation why I don't get the Quick Fix right away?

Thanks & Best,
Matthias
Re: Looking for a Quick Fix for adding required plugin dependencies [message #872298 is a reply to message #558817] Tue, 15 May 2012 21:16 Go to previous message
Rudolf Schmidt is currently offline Rudolf Schmidt
Messages: 15
Registered: April 2012
Junior Member
Hi,

thats interesting. i found this thread by google when i searched for exactle the problem explaind above.

i am very interested for a solution too
Previous Topic:Create a Maven - Spring Project Wizard Plugin
Next Topic:API to programmatically modify product configuration
Goto Forum:
  


Current Time: Tue Oct 21 18:40:22 GMT 2014

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

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