In Eclipse, when you right click a project and go to Properties, you can see all the Properties for that project. I want to be able to retrieve these properties with my IProject
. Is there a good way to do this? I have looked into IResource
and have been trying to figure out if I can use it to retrieve the properties. The IResource
API can be found here
Each property page in the properties is provided by a property page class. This class can use any method that suits it to get the properties. So there is no general way to get all the properties.
You can study the source of an individual property page to see how it is getting the properties. However the API used may be an internal API which you should not use.
Use Eclipse Plugin Spy to find out which class is displaying a particular property page:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.