Skip to main content



      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 10:18 Go to next message
Eclipse UserFriend
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 17:16 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 10:36:21 EDT 2025

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

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

Back to the top