Home
last modified time | relevance | path

Searched refs:natures (Results 1 – 3 of 3) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DAndroidNature.java158 String[] natures = description.getNatureIds(); in addNatureToProjectDescription() local
159 String[] newNatures = new String[natures.length + 1]; in addNatureToProjectDescription()
163 System.arraycopy(natures, 0, newNatures, 1, natures.length); in addNatureToProjectDescription()
166 System.arraycopy(natures, 0, newNatures, 0, natures.length); in addNatureToProjectDescription()
167 newNatures[natures.length] = natureId; in addNatureToProjectDescription()
DProjectHelper.java636 String[] natures = description.getNatureIds(); in fixProjectNatureOrder() local
639 if (AdtConstants.NATURE_DEFAULT.equals(natures[0]) == false) { in fixProjectNatureOrder()
641 for (int i = 0 ; i < natures.length ; i++) { in fixProjectNatureOrder()
642 if (AdtConstants.NATURE_DEFAULT.equals(natures[i])) { in fixProjectNatureOrder()
652 natures = description.getNatureIds(); in fixProjectNatureOrder()
654 String[] newNatures = new String[natures.length + 1]; in fixProjectNatureOrder()
660 System.arraycopy(natures, 0, newNatures, 1, natures.length); in fixProjectNatureOrder()
682 String[] natures = description.getNatureIds(); in removeNature() local
685 for (int i = 0; i < natures.length; ++i) { in removeNature()
686 if (nature.equals(natures[i])) { in removeNature()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/
DAddSupportJarAction.java465 String[] natures = new String[] { AdtConstants.NATURE_DEFAULT, JavaCore.NATURE_ID }; in createLibraryProject() local
466 description.setNatureIds(natures); in createLibraryProject()