开发者

Android Project Type

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜