/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/ |
SampleProjectTest.java | 27 import org.eclipse.core.resources.IProject; 95 IProject iproject = null; local 121 iproject = validateProjectExists(name); 122 validateNoProblems(iproject); 130 if (iproject != null) { 131 iproject.delete(false, true, new NullProgressMonitor()); 149 private IProject validateProjectExists(String name) { 150 IProject iproject = getIProject(name) local 157 IProject iproject = ResourcesPlugin.getWorkspace().getRoot() local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/actions/ |
AddNativeAction.java | 21 import org.eclipse.core.resources.IProject; 37 IProject project = null; 42 if (obj instanceof IProject) { 43 project = (IProject) obj; 45 project = (IProject) ((PlatformObject) obj).getAdapter(IProject.class);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
AndroidExportNature.java | 19 import org.eclipse.core.resources.IProject; 29 private IProject mProject; 34 * <code>IProject.setDescription</code> and should not be called directly 39 * <code>IProject.setDescription</code>, but the nature will remain in 53 * <code>IProject.setDescription</code> and should not be called directly 58 * <code>IProject.setDescription</code>, but the nature will still be 78 public IProject getProject() { 85 * <code>IProject.create()</code> or 86 * <code>IProject.setDescription()</code> and should not be called 90 * @see org.eclipse.core.resources.IProjectNature#setProject(org.eclipse.core.resources.IProject) [all...] |
ApkInstallManager.java | 27 import org.eclipse.core.resources.IProject; 40 * The manager uses {@link IProject} and {@link IDevice} to identify the target device and the 54 public ApkInstall(IProject project, String packageName, IDevice device) { 77 final IProject project; 122 public void registerInstallation(IProject project, String packageName, IDevice device) { 134 public boolean isApplicationInstalled(IProject project, String packageName, IDevice device) { 165 * Resets registered installations for a specific {@link IProject}. 166 * <p/>This ensures that {@link #isApplicationInstalled(IProject, IDevice)} will always return 170 public void resetInstallationFor(IProject project) { 239 * @see IProjectListener#projectClosed(IProject) [all...] |
AndroidNature.java | 25 import org.eclipse.core.resources.IProject; 40 private IProject mProject; 45 * <code>IProject.setDescription</code> and should not be called directly 50 * <code>IProject.setDescription</code>, but the nature will remain in 68 * <code>IProject.setDescription</code> and should not be called directly 73 * <code>IProject.setDescription</code>, but the nature will still be 96 public IProject getProject() { 103 * <code>IProject.create()</code> or 104 * <code>IProject.setDescription()</code> and should not be called 108 * @see org.eclipse.core.resources.IProjectNature#setProject(org.eclipse.core.resources.IProject) [all...] |
LibraryClasspathContainerInitializer.java | 33 import org.eclipse.core.resources.IProject; 145 final IProject iProject = javaProject.getProject(); 148 ProjectState state = Sdk.getProjectState(iProject); 170 Set<IProject> refProjects = new HashSet<IProject>(); 174 List<IProject> libProjects = state.getFullLibraryProjects(); 175 for (IProject libProject : libProjects) { 181 processReferencedProjects(iProject, refProjects, jarFiles); 184 getJarListFromLibsFolder(iProject, jarFiles) [all...] |
ProjectChooserHelper.java | 23 import org.eclipse.core.resources.IProject; 73 public boolean accept(IProject project) { 93 public boolean accept(IProject project) { 191 * @return the {@link IProject} for the Android project. <code>null</code> if not found. 193 public IProject getAndroidProject(String projectName) { 194 IProject iproject = null; local 199 iproject = javaProject.getProject(); 204 return iproject; 213 private IProject mProject [all...] |
SupportLibraryHelper.java | 33 import org.eclipse.core.resources.IProject; 72 public static String getTagFor(@NonNull IProject project, @NonNull String tag) { 81 IProject supportProject = getSupportProjectV7(); 140 private static IProject sCachedProject; 148 public static IProject getSupportProjectV7() { 162 private static IProject findSupportProjectV7() { 164 IProject project = javaProject.getProject();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/ |
DevTreeProjectProvider.java | 21 import org.eclipse.core.resources.IProject; 45 protected IProject getProject() { 48 List<IProject> projects = Arrays.asList(workspace.getRoot().getProjects()); 64 List<IProject> devTreeProjects = new ArrayList<IProject>(projects.size()); 66 for (IProject p: projects) { 83 private IProject selectProject(List<IProject> devTreeProjects) { 118 return ((IProject) element).getName(); 126 return (IProject) selectedMatches[0] [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/ |
ExportAction.java | 24 import org.eclipse.core.resources.IProject; 56 IProject project = null; 57 if (element instanceof IProject) { 58 project = (IProject) element; 60 project = (IProject) ((IAdaptable) element).getAdapter(IProject.class);
|
ExportWizardAction.java | 24 import org.eclipse.core.resources.IProject; 58 IProject project = null; 59 if (element instanceof IProject) { 60 project = (IProject) element; 62 project = (IProject) ((IAdaptable) element).getAdapter(IProject.class);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/ |
FixProjectAction.java | 23 import org.eclipse.core.resources.IProject; 66 IProject project = null; 67 if (element instanceof IProject) { 68 project = (IProject) element; 70 project = (IProject) ((IAdaptable) element) 71 .getAdapter(IProject.class); 85 private void fixProject(final IProject project) { 96 public static Job createFixProjectJob(@NonNull final IProject project) {
|
DexDumpAction.java | 31 import org.eclipse.core.resources.IProject; 74 IProject project = null; 75 if (element instanceof IProject) { 76 project = (IProject)element; 78 project = (IProject)((IAdaptable)element).getAdapter(IProject.class); 93 * Calls {@link #runDexDump(IProject, IProgressMonitor)} inside a job. 97 private void dexDumpProject(final IProject project) { 114 private IStatus runDexDump(final IProject project, IProgressMonitor monitor) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
ExtractStringWizard.java | 19 import org.eclipse.core.resources.IProject; 30 private final IProject mProject; 39 public ExtractStringWizard(ExtractStringRefactoring ref, IProject project) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
EclipseLintRunner.java | 27 import org.eclipse.core.resources.IProject; 158 public static boolean runLintOnExport(Shell shell, IProject project) { 201 if (resource instanceof IProject) { 209 Map<IProject, IProject> allProjects = new IdentityHashMap<IProject, IProject>(); 210 List<IProject> projects = new ArrayList<IProject>(); 212 if (resource instanceof IProject) { [all...] |
ClearLintMarkersAction.java | 19 import org.eclipse.core.resources.IProject; 38 List<IProject> projects = RunLintAction.getProjects(mSelection, false /*warn*/);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ |
ChangedFileSetHelper.java | 25 import org.eclipse.core.resources.IProject; 58 static ChangedFileSet getJavaResCfs(@NonNull IProject project) { 83 static ChangedFileSet getResCfs(@NonNull IProject project) { 102 static ChangedFileSet getMergedManifestCfs(@NonNull IProject project) { 118 static ChangedFileSet getTextSymbols(@NonNull IProject project) { 134 static ChangedFileSet getByteCodeCfs(@NonNull IProject project) { 150 static ChangedFileSet getFullResCfs(@NonNull IProject project) { 168 static ChangedFileSet getCodeCfs(@NonNull IProject project) { 183 private static String getRelativeAndroidOut(@NonNull IProject project) { 188 private static String getRelativeJavaCOut(@NonNull IProject project) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
OpenCreateAssetSetWizardAction.java | 18 import org.eclipse.core.resources.IProject; 28 private IProject mProject; 36 public OpenCreateAssetSetWizardAction(IProject project) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
AdtProjectTest.java | 46 import org.eclipse.core.resources.IProject; 80 private static Map<String, IProject> sProjectMap = new HashMap<String, IProject>(); 188 protected IProject getProject() { 190 IProject project = sProjectMap.get(projectName); 203 protected IFile getTestDataFile(IProject project, String name) throws Exception { 207 protected IFile getLayoutFile(IProject project, String name) throws Exception { 211 protected IFile getValueFile(IProject project, String name) throws Exception { 215 protected IFile getTestDataFile(IProject project, String sourceName, 220 protected IFile getTestDataFile(IProject project, String sourceName 321 IProject iproject = getProject(name); local 328 IProject iproject = ResourcesPlugin.getWorkspace().getRoot().getProject(name); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
LayoutReloadMonitor.java | 37 import org.eclipse.core.resources.IProject; 59 * Map of listeners by IProject. 61 private final Map<IProject, List<ILayoutReloadListener>> mListenerMap = 62 new HashMap<IProject, List<ILayoutReloadListener>>(); 80 private final Map<IProject, ChangeFlags> mProjectFlags = new HashMap<IProject, ChangeFlags>(); 118 * Adds a listener for a given {@link IProject}. 122 public void addListener(IProject project, ILayoutReloadListener listener) { 135 * Removes a listener for a given {@link IProject}. 137 public void removeListener(IProject project, ILayoutReloadListener listener) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
DebuggerConnector.java | 25 import org.eclipse.core.resources.IProject; 48 IProject project = ProjectHelper.findAndroidProjectByAppName(appName); 96 IProject p = ProjectHelper.findAndroidProjectByAppName(appName); 109 public void projectRenamed(IProject project, IPath from) { 118 public void projectOpenedWithWorkspace(IProject project) { 129 public void projectOpened(IProject project) { 138 public void projectDeleted(IProject project) { 145 public void projectClosed(IProject project) {
|
AndroidPrintStream.java | 19 import org.eclipse.core.resources.IProject; 33 private IProject mProject; 44 public AndroidPrintStream(IProject project, String prefix, OutputStream stream) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/ |
RenamePackageAction.java | 23 import org.eclipse.core.resources.IProject; 93 IProject project = null; 94 if (element instanceof IProject) { 95 project = (IProject) element; 97 project = (IProject) ((IAdaptable) element).getAdapter(IProject.class); 116 private void promptNewName(final IProject project) { 157 final IProject project,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/ |
Mocks.java | 36 import org.eclipse.core.resources.IProject; 56 IProject project = createProject(); 162 * Mock implementation of {@link IProject}. 166 * <li>{@link IProject#build(int kind, IProgressMonitor monitor)}</li> 168 * {@link IProject#build(int kind, String builderName, Map args, IProgressMonitor monitor)} 172 public static IProject createProject() { 173 IProject project = EasyMock.createNiceMock(IProject.class);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
ResourceManager.java | 42 import org.eclipse.core.resources.IProject; 84 private final Map<IProject, ProjectResources> mMap = 85 new HashMap<IProject, ProjectResources>(); 100 void fileChanged(IProject project, ResourceFile file, int eventType); 107 void folderChanged(IProject project, ResourceFolder folder, int eventType); 155 public ProjectResources getProjectResources(IProject project) { 230 final IProject project = folder.getProject(); 315 final IProject project = file.getProject(); 367 public void projectClosed(IProject project) { 374 public void projectDeleted(IProject project) [all...] |