开发者

Android Project Type

开发者 https://www.devze.com 2023-01-27 13:48 出处:网络
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

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

精彩评论

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