Skip to main content



      Home
Home » Newcomers » Newcomers » Difference between isNatureEnabled and hasNature !?
Difference between isNatureEnabled and hasNature !? [message #524628] Thu, 01 April 2010 11:53
Eclipse UserFriend
Hello,

what is the difference between IProject.isNatureEnabled(String) and
IProject.hasNature(String)?

It seems that IProject.isNatureEnabled(String) should return true if a
nature can be added or was added to a project,
but since its javadoc says that false is returned when "The nature has
not been added to this project.", then IProject.isNatureEnabled(String)
apparently behaves like IProject.hasNature(String).

Am I missing something, is the javadoc wrong (I bet on this), or is one
of the methods superfluous ?

Thanks
Mário
Previous Topic:Need HELP w/ Assignment..
Next Topic:Source not found yet again
Goto Forum:
  


Current Time: Fri Nov 07 04:41:51 EST 2025

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

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

Back to the top