/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
D | ApplicationInfoPage.java | 63 private final NewProjectWizardState mValues; field in ApplicationInfoPage 85 mValues = values; in ApplicationInfoPage() 115 if (mValues.mode != Mode.TEST) { in createControl() 170 if (mValues.mode == Mode.SAMPLE) { in showTestOptions() 200 if (mValues.applicationName != null) { in setVisible() 201 mApplicationText.setText(mValues.applicationName); in setVisible() 203 if (mValues.packageName != null) { in setVisible() 204 mPackageText.setText(mValues.packageName); in setVisible() 209 if (mValues.mode != Mode.TEST) { in setVisible() 210 mCreateActivityCheckbox.setSelection(mValues.createActivity); in setVisible() [all …]
|
D | TestTargetPage.java | 48 private final NewProjectWizardState mValues; field in TestTargetPage 65 mValues = values; in TestTargetPage() 103 if (mValues.testedProject != null) { in initializeList() 105 if (project.getProject() == mValues.testedProject) { in initializeList() 124 mCurrentRadioButton.setSelection(mValues.testingSelf); in setVisible() 125 mExistingRadioButton.setSelection(!mValues.testingSelf); in setVisible() 126 mProjectList.setEnabled(!mValues.testingSelf); in setVisible() 131 if (!mValues.testingSelf) { in setVisible() 141 mValues.testedProject = project; in setVisible() 161 mValues.testingSelf = false; in widgetSelected() [all …]
|
D | ProjectNamePage.java | 70 private final NewProjectWizardState mValues; field in ProjectNamePage 101 mValues = values; in ProjectNamePage() 129 if (mValues.mode != Mode.TEST) { in createControl() 176 if (mValues.projectName != null) { in setVisible() 177 mProjectNameText.setText(mValues.projectName); in setVisible() 180 if (mValues.mode == Mode.ANY || mValues.mode == Mode.TEST) { in setVisible() 181 if (mValues.useExisting) { in setVisible() 186 } else if (mValues.mode == Mode.SAMPLE) { in setVisible() 189 if (mValues.projectLocation != null) { in setVisible() 190 mLocationText.setText(mValues.projectLocation.getPath()); in setVisible() [all …]
|
D | SampleSelectionPage.java | 51 private final NewProjectWizardState mValues; field in SampleSelectionPage 66 mValues = values; in SampleSelectionPage() 100 if (mValues.projectName != null) { in setVisible() 103 mSampleProjectName.setText(mValues.projectName); in setVisible() 111 if (mCurrentSamplesTarget != mValues.target) { in setVisible() 112 mCurrentSamplesTarget = mValues.target; in setVisible() 140 if (mValues.samples != null && mValues.samples.size() > 0) { in updateSamples() 141 Object[] samples = mValues.samples.toArray(); in updateSamples() 145 selectSample(mValues.samples.get(0).getSecond()); in updateSamples() 151 mValues.chosenSample = sample; in selectSample() [all …]
|
D | NewProjectWizard.java | 48 private NewProjectWizardState mValues; field in NewProjectWizard 78 mValues = new NewProjectWizardState(mMode); in addPages() 81 mNamePage = new ProjectNamePage(mValues); in addPages() 91 addPage(new TestTargetPage(mValues)); in addPages() 94 mSdkPage = new SdkSelectionPage(mValues); in addPages() 100 mSamplePage = new SampleSelectionPage(mValues); in addPages() 106 mPropertiesPage = new ApplicationInfoPage(mValues); in addPages() 136 NewProjectCreator creator = new NewProjectCreator(mValues, getContainer()); in performFinish() 151 if (mValues.mode != Mode.TEST) { in getNextPage() 155 if (mValues.mode == Mode.SAMPLE) { in getNextPage() [all …]
|
D | SdkSelectionPage.java | 57 private final NewProjectWizardState mValues; field in SdkSelectionPage 66 mValues = values; in SdkSelectionPage() 100 mValues.target = mSdkTargetSelector.getSelected(); in createControl() 101 mValues.targetModifiedByUser = true; in createControl() 115 if (mValues.mode == Mode.SAMPLE) { in setVisible() 122 if (mValues.target != null) { in setVisible() 123 mSdkTargetSelector.setSelection(mValues.target); in setVisible() 136 if (mValues.target == null) { in isPageComplete() 154 IAndroidTarget target = mValues.target; in onSdkTargetModified() 164 if (!mValues.minSdkModifiedByUser) { in onSdkTargetModified() [all …]
|
D | NewProjectCreator.java | 215 private final NewProjectWizardState mValues; field in NewProjectCreator 224 mValues = values; in NewProjectCreator() 292 if (mValues.importProjects != null && !mValues.importProjects.isEmpty()) { in createAndroidProjects() 319 if (mValues.importProjects != null && !mValues.importProjects.isEmpty()) { in createJavaProjects() 343 assert mValues.importProjects != null && !mValues.importProjects.isEmpty(); in importProjects() 347 for (ImportedProject p : mValues.importProjects) { in importProjects() 375 dictionary.put(STRING_APP_NAME, mValues.applicationName); in importProjects() 377 if (mValues.copyIntoWorkspace) { in importProjects() 416 if (mValues.mode == Mode.TEST) { in collectMainPageInfo() 421 final IProject project = workspace.getRoot().getProject(mValues.projectName); in collectMainPageInfo() [all …]
|
D | ImportProjectWizard.java | 41 private NewProjectWizardState mValues; field in ImportProjectWizard 51 mValues = new NewProjectWizardState(Mode.ANY); in addPages() 52 mImportPage = new ImportPage(mValues); in addPages() 84 NewProjectCreator creator = new NewProjectCreator(mValues, getContainer()); in performFinish()
|
D | ImportPage.java | 77 private final NewProjectWizardState mValues; field in ImportPage 93 mValues = values; in ImportPage() 232 mValues.importProjects = selected; in updateValidity() 274 } else if (mValues.importProjects == null || mValues.importProjects.isEmpty()) { in validatePage() 278 for (ImportedProject project : mValues.importProjects) { in validatePage() 289 if (mValues.importProjects.size() > 1) { in validatePage() 338 mValues.workingSets = getWorkingSets(); in getNextPage() 362 mValues.importProjects = mProjectPaths; in widgetSelected() 365 mValues.importProjects = Collections.emptyList(); in widgetSelected() 369 mValues.copyIntoWorkspace = mCopyCheckBox.getSelection(); in widgetSelected() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | NewProjectWizard.java | 91 private NewProjectWizardState mValues; field in NewProjectWizard 101 mValues = new NewProjectWizardState(); in init() 102 mMainPage = new NewProjectPage(mValues); in init() 103 mContentsPage = new ProjectContentsPage(mValues); in init() 105 mActivityPage = new ActivityPage(mValues, true, true); in init() 124 if (mValues.createIcon) { in getNextPage() 126 CreateAssetSetWizardState iconState = mValues.iconState; in getNextPage() 145 WizardPage p = getIconPage(mValues.iconState); in getNextPage() 149 if (mValues.createActivity) { in getNextPage() 161 if (page == mActivityPage && mValues.createActivity) { in getNextPage() [all …]
|
D | NewProjectPage.java | 81 private final NewProjectWizardState mValues; field in NewProjectPage 106 mValues = values; in NewProjectPage() 210 && (mValues.target == null || in createControl() 211 apiLevel > mValues.target.getVersion().getApiLevel())) { in createControl() 212 mValues.target = target; in createControl() 226 if (mValues.target != null && mValues.target.getVersion().isPreview()) { in createControl() 227 mValues.minSdk = mValues.target.getVersion().getCodename(); in createControl() 228 mMinSdkCombo.setText(mValues.minSdk); in createControl() 229 mValues.iconState.minSdk = mValues.target.getVersion().getApiLevel(); in createControl() 230 mValues.minSdkLevel = mValues.iconState.minSdk; in createControl() [all …]
|
D | TemplateTestWizard.java | 40 if (mValues != null) { in init() 41 mProject = mValues.project; in init() 45 mValues = null; in init() 60 if (mValues == null) { in getNextPage() 61 mValues = new NewTemplateWizardState(); in getNextPage() 62 mValues.setTemplateLocation(file); in getNextPage() 63 mValues.project = mProject; in getNextPage() 66 mMainPage = new NewTemplatePage(mValues, true); in getNextPage() 69 mValues.setTemplateLocation(file); in getNextPage()
|
D | NewTemplateWizard.java | 54 protected NewTemplateWizardState mValues; field in NewTemplateWizard 65 mValues = new NewTemplateWizardState(); in init() 69 mValues.setTemplateLocation(template); in init() 75 mValues.project = projects.get(0); in init() 78 mMainPage = new NewTemplatePage(mValues, true); in init() 83 return mValues.getIconState() != null; in shouldAddIconPage() 92 Set<String> hidden = mValues.hidden; in hideBuiltinParameters() 108 TemplateMetadata template = mValues.getTemplateHandler().getTemplate(); in getNextPage() 111 WizardPage iconPage = getIconPage(mValues.getIconState()); in getNextPage() 112 mValues.updateIconState(mMainPage.getEvaluator()); in getNextPage() [all …]
|
D | ProjectContentsPage.java | 57 private final NewProjectWizardState mValues; field in ProjectContentsPage 73 mValues = values; in ProjectContentsPage() 93 mCustomIconToggle.setSelection(mValues.createIcon); in createControl() 100 mCreateActivityToggle.setSelection(mValues.createActivity); in createControl() 110 mLibraryToggle.setSelection(mValues.isLibrary); in createControl() 135 setUseCustomLocation(!mValues.useDefaultLocation); in createControl() 151 mUseDefaultLocationToggle.setSelection(mValues.useDefaultLocation); in setVisible() 152 mLocationText.setText(mValues.projectLocation); in setVisible() 162 mValues.useDefaultLocation = !en; in setUseCustomLocation() 165 updateProjectLocation(mValues.projectName); in setUseCustomLocation() [all …]
|
D | ActivityPage.java | 52 private final NewProjectWizardState mValues; field in ActivityPage 73 mValues = values; in ActivityPage() 118 TemplateManager manager = mValues.template.getManager(); in onEnter() 125 File current = mValues.activityValues.getTemplateLocation(); in onEnter() 149 mValues.activityValues.setTemplateLocation(mTemplates.get(0)); in onEnter() 187 TemplateHandler handler = mValues.activityValues.getTemplateHandler(); in updatePreview() 192 File file = new File(mValues.activityValues.getTemplateLocation(), in updatePreview() 252 mCreateToggle.setSelection(mValues.createActivity); in setVisible() 266 if (mValues.createActivity) { in validatePage() 271 TemplateHandler templateHandler = mValues.activityValues.getTemplateHandler(); in validatePage() [all …]
|
D | TemplatePreviewPage.java | 26 private final NewTemplateWizardState mValues; field in TemplatePreviewPage 30 mValues = values; in TemplatePreviewPage() 38 List<Change> changes = mValues.computeChanges(); in setVisible()
|
D | NewTemplatePage.java | 103 private final NewTemplateWizardState mValues; field in NewTemplatePage 131 mValues = values; in NewTemplatePage() 168 TemplateMetadata template = mValues.getTemplateHandler().getTemplate(); in onEnter() 203 mProjectButton = new ProjectCombo(helper, container, mValues.project); in onEnter() 226 Map<String, String> defaults = mValues.defaults; in onEnter() 260 if (mValues.hidden != null && mValues.hidden.contains(id)) { in onEnter() 299 mValues.parameters.put(id, value); in onEnter() 338 mValues.parameters.put(id, value); in onEnter() 361 Combo combo = createOptionCombo(parameter, container, mValues.parameters, in onEnter() 508 byte[] data = mValues.getTemplateHandler().readTemplateResource(thumb); in setPreview() [all …]
|
D | NewActivityWizard.java | 55 private NewProjectWizardState mValues; field in NewActivityWizard 75 mValues = new NewProjectWizardState(); in init() 76 mActivityPage = new ActivityPage(mValues, mOnlyActivities, false); in init() 78 mActivityValues = mValues.activityValues; in init()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
D | ConfigureAssetSetPage.java | 106 private final CreateAssetSetWizardState mValues; field in ConfigureAssetSetPage 165 mValues = values; in ConfigureAssetSetPage() 414 updateColor(display, mValues.background, true /*background*/); in createControl() 415 updateColor(display, mValues.foreground, false /*background*/); in createControl() 417 setSourceType(mValues.sourceType); in createControl() 427 if (mValues.sourceType != mShowingType) { in configureAssetType() 428 mShowingType = mValues.sourceType; in configureAssetType() 433 showGroup(type.needsColors() && mValues.sourceType != SourceType.IMAGE, in configureAssetType() 476 AssetType type = mValues.type; in setVisible() 482 if (mValues.imagePath != null) { in setVisible() [all …]
|
D | ChooseAssetTypePage.java | 43 private final CreateAssetSetWizardState mValues; field in ChooseAssetTypePage 55 mValues = values; in ChooseAssetTypePage() 76 button.setSelection(type == mValues.type); in createControl() 92 mProjectButton = new ProjectCombo(helper, container, mValues.project); in createControl() 131 String suggestedName = String.format(mValues.type.getDefaultNameFormat(), replace); in updateAssetType() 133 mValues.outputName = suggestedName; in updateAssetType() 154 return mValues.project != null; in canFlipToNextPage() 161 mValues.project = mProjectButton.getSelectedProject(); in widgetSelected() 174 mValues.type = (AssetType) data; in widgetSelected() 175 CreateAssetSetWizardState.sLastType = mValues.type; in widgetSelected() [all …]
|
D | CreateAssetSetWizard.java | 73 private CreateAssetSetWizardState mValues = new CreateAssetSetWizardState(); field in CreateAssetSetWizard 82 mValues.project = mInitialProject; in addPages() 84 mChooseAssetPage = new ChooseAssetTypePage(mValues); in addPages() 85 mConfigureAssetPage = new ConfigureAssetSetPage(mValues); in addPages() 94 ConfigureAssetSetPage.generateImages(mValues, false, null); in performFinish() 96 IProject project = mValues.project; in performFinish() 239 mValues.project = project; in setProject() 247 mValues.project = mInitialProject; in init()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
D | ChooseConfigurationPage.java | 47 private Values mValues; field in ChooseConfigurationPage 65 mValues = values; in ChooseConfigurationPage() 73 if (mValues.folderPath != null) { in setVisible() 74 mWsFolderPathTextField.setText(mValues.folderPath); in setVisible() 125 mConfigSelector.setConfiguration(mValues.configuration); in createControl() 155 mValues.folderPath = wsFolderPath; in onWsFolderPathUpdated() 205 TypeInfo type = mValues.type; in resetFolderPath() 207 mConfigSelector.getConfiguration(mValues.configuration); in resetFolderPath() 209 sb.append(mValues.configuration.getFolderName(type.getResFolderType())); in resetFolderPath() 213 mValues.folderPath = newPath; in resetFolderPath() [all …]
|
D | NewXmlFileCreationPage.java | 398 private NewXmlFileWizard.Values mValues; field in NewXmlFileCreationPage 418 mValues = values; in NewXmlFileCreationPage() 482 mProjectButton = new ProjectCombo(helper, composite, mValues.project); in createControl() 489 if (project != mValues.project) { in createControl() 506 mValues.name = mFileNameTextField.getText(); in createControl() 548 int typeIndex = getTypeComboIndex(mValues.type); in initialSelectType() 552 assert mValues.type == types[typeIndex]; in initialSelectType() 563 return mValues.project; in installTargetChangeListener() 568 if (mValues.project != null) { in installTargetChangeListener() 569 changeProject(mValues.project); in installTargetChangeListener() [all …]
|
D | NewXmlFileWizard.java | 77 private Values mValues; field in NewXmlFileWizard 85 mValues = new Values(); in init() 86 mMainPage = createMainPage(mValues); in init() 91 mConfigPage = new ChooseConfigurationPage(mValues); in init() 170 IFile file = mValues.getDestinationFile(); in createXmlFile() 171 TypeInfo type = mValues.type; in createXmlFile() 187 String attrs = type.getDefaultAttrs(mValues.project, root); in createXmlFile() 188 String child = type.getChild(mValues.project, root); in createXmlFile()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
D | ListAttributeDescriptor.java | 34 private String[] mValues = null; field in ListAttributeDescriptor 57 mValues = attrInfo.getEnumValues(); in ListAttributeDescriptor() 68 mValues = values; in ListAttributeDescriptor() 72 return mValues; in getValues()
|