Home
last modified time | relevance | path

Searched refs:projectName (Results 1 – 25 of 27) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/
DDebuggerConnector.java59 String projectName = project.getName(); in connectDebugger() local
62 ILaunchConfiguration config = findConfig(manager, configType, projectName, in connectDebugger()
73 manager.generateUniqueLaunchConfigurationNameFrom(projectName)); in connectDebugger()
77 projectName); in connectDebugger()
119 String projectName, int connectionPort) { in findConfig() argument
131 if (name == null || name.equals(projectName) == false) { in findConfig()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DDebuggerConnector.java94 String projectName = mAppsInWorkspace.get(appName); in isWorkspaceApp() local
95 if (projectName == null) { in isWorkspaceApp()
100 projectName = p.getName(); in isWorkspaceApp()
101 mAppsInWorkspace.put(appName, projectName); in isWorkspaceApp()
104 return projectName != null; in isWorkspaceApp()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DProjectNamePage.java176 if (mValues.projectName != null) { in setVisible()
177 mProjectNameText.setText(mValues.projectName); in setVisible()
230 mValues.projectName = mProjectNameText.getText().trim(); in onProjectFieldModified()
234 mValues.applicationName = capitalize(mValues.projectName); in onProjectFieldModified()
241 String name = capitalize(mValues.projectName); in onProjectFieldModified()
246 ApplicationInfoPage.suggestTestProjectName(mValues.projectName); in onProjectFieldModified()
405 String value = Platform.getLocation().append(mValues.projectName).toString(); in updateLocationPathField()
420 if (!mValues.projectNameModifiedByUser && mValues.projectName != null) { in updateLocationPathField()
423 mProjectNameText.setText(mValues.projectName); in updateLocationPathField()
437 status = validateProjectName(mValues.projectName); in validatePage()
[all …]
DSampleSelectionPage.java100 if (mValues.projectName != null) { in setVisible()
103 mSampleProjectName.setText(mValues.projectName); in setVisible()
153 mValues.projectName = sample.getName(); in selectSample()
154 if (SdkConstants.FD_SAMPLE.equals(mValues.projectName) && in selectSample()
156 mValues.projectName = sample.getParentFile().getName() + '_' + mValues.projectName; in selectSample()
160 mSampleProjectName.setText(mValues.projectName); in selectSample()
202 mValues.projectName = mSampleProjectName.getText().trim(); in modifyText()
257 status = ProjectNamePage.validateProjectName(mValues.projectName); in validatePage()
DNewProjectWizardState.java74 public String projectName = ""; //$NON-NLS-1$ field in NewProjectWizardState
251 if (projectName == null || projectName.length() == 0 || in extractFromAndroidManifest()
253 projectName = newActivityName; in extractFromAndroidManifest()
277 if (projectName == null || projectName.length() == 0 || in extractFromAndroidManifest()
279 projectName = newPackageName; in extractFromAndroidManifest()
DApplicationInfoPage.java411 mValues.testProjectName = suggestTestProjectName(mValues.projectName); in widgetSelected()
489 if (mValues.projectName.equals(mValues.testProjectName)) { in validatePage()
791 public static String suggestTestProjectName(String projectName) { in suggestTestProjectName() argument
792 if (projectName == null) { in suggestTestProjectName()
793 projectName = ""; //$NON-NLS-1$ in suggestTestProjectName()
795 if (projectName.length() > 0 && Character.isUpperCase(projectName.charAt(0))) { in suggestTestProjectName()
796 return projectName + "Test"; //$NON-NLS-1$ in suggestTestProjectName()
798 return projectName + "-test"; //$NON-NLS-1$ in suggestTestProjectName()
DTestTargetPage.java217 mValues.projectName = appName; in setExistingProject()
279 } else if (mValues.projectName.equals(mValues.testedProject.getName())) { in validatePage()
DNewProjectCreator.java355 String projectName = p.getProjectName(); in importProjects() local
358 final IProject project = workspace.getRoot().getProject(projectName); in importProjects()
363 parameters.put(PARAM_PROJECT, projectName); in importProjects()
421 final IProject project = workspace.getRoot().getProject(mValues.projectName); in collectMainPageInfo()
425 parameters.put(PARAM_PROJECT, mValues.projectName); in collectMainPageInfo()
472 String projectName = in collectTestPageInfo() local
473 mValues.mode == Mode.TEST ? mValues.projectName : mValues.testProjectName; in collectTestPageInfo()
474 final IProject project = workspace.getRoot().getProject(projectName); in collectTestPageInfo()
DImportPage.java217 String projectName = project.getProjectName(); in updateValidity() local
220 if (projectName.equals(existingProject.getName())) { in updateValidity()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DFixLaunchConfig.java86 String projectName = mProject.getName(); in run() local
113 String msg = String.format("Failed to modify %1$s: %2$s", projectName, in run()
128 private static ILaunchConfiguration[] findConfigs(String projectName) { in findConfigs() argument
145 "").equals(projectName)) { //$NON-NLS-1$ in findConfigs()
DProjectChooserHelper.java129 public IJavaProject chooseJavaProject(String projectName, String message) { in chooseJavaProject() argument
148 if (projectName != null && projectName.length() > 0) { in chooseJavaProject()
149 javaProject = javaModel.getJavaProject(projectName); in chooseJavaProject()
193 public IProject getAndroidProject(String projectName) { in getAndroidProject() argument
198 if (javaProject.getElementName().equals(projectName)) { in getAndroidProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sourcelookup/
DAdtSourceLookupDirector.java47 String projectName = in initializeDefaults() local
50 if (projectName != null && projectName.length() > 0) { in initializeDefaults()
51 IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName); in initializeDefaults()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/templates/
DSetFolders.java45 String projectName = null; in process() local
52 projectName = arg.getSimpleValue(); in process()
61 if (projectName == null) in process()
64 IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName); in process()
DSimpleFile.java55 String projectName = null; in process() local
60 projectName = arg.getSimpleValue(); in process()
78 if (projectName == null) in process()
80 IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName); in process()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DMainLaunchConfigTab.java288 String projectName = mProjText.getText().trim(); in getJavaProject() local
289 if (projectName.length() < 1) { in getJavaProject()
292 return javaModel.getJavaProject(projectName); in getJavaProject()
307 String projectName = javaProject.getElementName(); in handleProjectButtonSelected() local
308 mProjText.setText(projectName); in handleProjectButtonSelected()
327 String projectName = EMPTY_STRING; in initializeFrom() local
329 projectName = config.getAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, in initializeFrom()
334 mProjText.setText(projectName); in initializeFrom()
336 IProject proj = mProjectChooserHelper.getAndroidProject(projectName); in initializeFrom()
DJUnitLaunchConfigDelegate.java103 public static String[] fixClasspath(String[] classpath, String projectName) { in fixClasspath() argument
131 AdtPlugin.printErrorToConsole(projectName, in fixClasspath()
DLaunchConfigDelegate.java364 String projectName; in getProject() local
366 projectName = configuration.getAttribute( in getProject()
376 return workspace.getRoot().getProject(projectName); in getProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/
DAndroidJUnitLaunchConfigurationTab.java357 String projectName = updateProjectFromConfig(config); in initializeFrom() local
372 IProject proj = mProjectChooserHelper.getAndroidProject(projectName); in initializeFrom()
417 String projectName = EMPTY_STRING; in updateProjectFromConfig() local
419 projectName = config.getAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, in updateProjectFromConfig()
424 mProjText.setText(projectName); in updateProjectFromConfig()
425 return projectName; in updateProjectFromConfig()
615 String projectName = project.getElementName(); in handleProjectButtonSelected() local
616 mProjText.setText(projectName); in handleProjectButtonSelected()
625 String projectName = getProjectName(); in getJavaProject() local
626 return getJavaModel().getJavaProject(projectName); in getJavaProject()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DProjectContentsPage.java165 updateProjectLocation(mValues.projectName); in setUseCustomLocation()
224 private void updateProjectLocation(String projectName) { in updateProjectLocation() argument
225 if (projectName == null) { in updateProjectLocation()
226 projectName = ""; in updateProjectLocation()
233 String projectLocation = workspace.append(projectName).toOSString(); in updateProjectLocation()
323 if (values.projectName != null) { in validateLocationInWorkspace()
324 File dest = Platform.getLocation().append(values.projectName).toFile(); in validateLocationInWorkspace()
328 values.projectName)); in validateLocationInWorkspace()
DNewProjectPage.java436 mValues.projectName = mProjectText.getText(); in modifyText()
437 updateProjectLocation(mValues.projectName); in modifyText()
443 mValues.applicationName = mValues.projectName; in modifyText()
444 mApplicationText.setText(mValues.projectName); in modifyText()
446 updateActivityNames(mValues.projectName); in modifyText()
450 suggestPackage(mValues.projectName); in modifyText()
461 mValues.projectName = appNameToProjectName(mValues.applicationName); in modifyText()
462 mProjectText.setText(mValues.projectName); in modifyText()
463 updateProjectLocation(mValues.projectName); in modifyText()
512 private void updateProjectLocation(String projectName) { in updateProjectLocation() argument
[all …]
DNewProjectWizardState.java45 public String projectName; field in NewProjectWizardState
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DExportGradleTest.java246 protected IProject getProject(String projectName) { in getProject() argument
247 IProject project = createProject(projectName); in getProject()
256 protected IProject getJavaProject(String projectName) { in getJavaProject() argument
257 IProject project = createJavaProject(projectName); in getJavaProject()
275 state.projectName = name; in createJavaProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateHandlerTest.java311 values.projectName = projectNameBase; in checkTemplate()
425 values.projectName = projectNameBase; in checkProjectWithActivity()
576 projectValues.projectName = projectNameBase + "_" + parameter.id in checkApiTarget()
589 projectValues.projectName = projectNameBase + "_" + parameter.id in checkApiTarget()
595 projectValues.projectName = projectNameBase + "_" + parameter.id in checkApiTarget()
690 assertNotNull(projectValues.projectName); in checkProject()
691 projectValues.projectName = AdtUtils.getUniqueProjectName(projectValues.projectName, ""); in checkProject()
693 String projectLocation = workspace.append(projectValues.projectName).toOSString(); in checkProject()
739 fail(values.projectName + ": " + TemplateHandler.sMostRecentException.toString()); in createProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DAdtProjectTest.java189 String projectName = getProjectName(); in getProject() local
190 IProject project = sProjectMap.get(projectName); in getProject()
192 project = createProject(projectName); in getProject()
194 sProjectMap.put(projectName, project); in getProject()
287 state.projectName = name; in createProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/
DSampleProjectTest.java110 state.projectName = name; in doTestSampleProject()

12