I'm working on an Eclipse plugin for Android. In order to make the plugin controls only visible if the selected folder is a project I added
org.eclipse.core.resources.IProject
as object class in the plugin manifest. However, this makes the co开发者_如何学编程ntrols visible for any Eclipse project. Is there a possibility to make the plugin only visible for Android projects? I did not find an interface like IAndroidProject.
Regards, Florian
I figured out that the type is always IProject but you can use natures instead.
精彩评论