Home
last modified time | relevance | path

Searched refs:Mode (Results 1 – 15 of 15) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DNewProjectWizard.java23 import com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizardState.Mode;
53 private final Mode mMode;
58 this(Mode.ANY); in NewProjectWizard()
61 protected NewProjectWizard(Mode mode) { in NewProjectWizard()
80 if (mMode != Mode.SAMPLE) { in addPages()
90 if (mMode == Mode.TEST) { in addPages()
97 if (mMode != Mode.TEST) { in addPages()
104 if (mMode != Mode.SAMPLE) { in addPages()
151 if (mValues.mode != Mode.TEST) { in getNextPage()
155 if (mValues.mode == Mode.SAMPLE) { in getNextPage()
[all …]
DNewTestProjectWizard.java18 import com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizardState.Mode;
30 super(Mode.TEST); in NewTestProjectWizard()
DNewSampleProjectWizard.java18 import com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizardState.Mode;
30 super(Mode.SAMPLE); in NewSampleProjectWizard()
DProjectNamePage.java30 import com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizardState.Mode;
129 if (mValues.mode != Mode.TEST) { in createControl()
180 if (mValues.mode == Mode.ANY || mValues.mode == Mode.TEST) { in setVisible()
186 } else if (mValues.mode == Mode.SAMPLE) { in setVisible()
264 if (mValues.mode == Mode.SAMPLE) { in widgetSelected()
269 mValues.mode = Mode.ANY; in widgetSelected()
283 mValues.mode = Mode.SAMPLE; in widgetSelected()
302 boolean isCreateFromSample = mValues.mode == Mode.SAMPLE; in updateLocationState()
378 boolean isNewProject = !mValues.useExisting || mValues.mode == Mode.SAMPLE; in updateLocationPathField()
418 && mValues.projectLocation.exists() && mValues.mode != Mode.SAMPLE) { in updateLocationPathField()
[all …]
DNewProjectWizardState.java48 public Mode mode;
184 public NewProjectWizardState(Mode mode) { in NewProjectWizardState()
186 if (mode == Mode.SAMPLE) { in NewProjectWizardState()
188 } else if (mode == Mode.TEST) { in NewProjectWizardState()
285 if (mode == Mode.ANY && useExisting) { in extractFromAndroidManifest()
393 public enum Mode { enum in NewProjectWizardState
DImportProjectWizard.java23 import com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizardState.Mode;
51 mValues = new NewProjectWizardState(Mode.ANY); in addPages()
DApplicationInfoPage.java23 import com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizardState.Mode;
115 if (mValues.mode != Mode.TEST) { in createControl()
170 if (mValues.mode == Mode.SAMPLE) { in showTestOptions()
209 if (mValues.mode != Mode.TEST) { in setVisible()
220 showTestOptions(mValues.mode == Mode.ANY); in setVisible()
285 if (mValues.useExisting || mValues.mode != Mode.ANY) { in isPageComplete()
DSdkSelectionPage.java26 import com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizardState.Mode;
115 if (mValues.mode == Mode.SAMPLE) { in setVisible()
411 if (error == null && mValues.mode == Mode.SAMPLE) { in validatePage()
DSampleSelectionPage.java20 import com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizardState.Mode;
233 if (mValues.mode != Mode.SAMPLE) { in isPageComplete()
DNewProjectCreator.java42 import com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizardState.Mode;
416 if (mValues.mode == Mode.TEST) { in collectMainPageInfo()
429 parameters.put(PARAM_IS_NEW_PROJECT, mValues.mode == Mode.ANY && !mValues.useExisting); in collectMainPageInfo()
451 if (mValues.mode == Mode.ANY && !mValues.useExisting && !mValues.useDefaultLocation && in collectMainPageInfo()
467 if (mValues.mode != Mode.TEST && !mValues.createPairProject) { in collectTestPageInfo()
473 mValues.mode == Mode.TEST ? mValues.projectName : mValues.testProjectName; in collectTestPageInfo()
480 mValues.mode == Mode.TEST ? mValues.packageName : mValues.testPackageName; in collectTestPageInfo()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringRefactoring.java141 public enum Mode { enum in ExtractStringRefactoring
161 private final Mode mMode;
227 mMode = Mode.valueOf(arguments.get(KEY_MODE)); in ExtractStringRefactoring()
232 if (mMode == Mode.EDIT_SOURCE) { in ExtractStringRefactoring()
256 if (mMode == Mode.EDIT_SOURCE) { in createArgumentMap()
277 mMode = Mode.EDIT_SOURCE; in ExtractStringRefactoring()
297 mMode = enforceNew ? Mode.SELECT_NEW_ID : Mode.SELECT_ID; in ExtractStringRefactoring()
339 if (mMode == Mode.SELECT_ID) { in getName()
341 } else if (mMode == Mode.SELECT_NEW_ID) { in getName()
348 public Mode getMode() { in getMode()
[all …]
DExtractStringInputPage.java153 if (ref.getMode() == ExtractStringRefactoring.Mode.EDIT_SOURCE) { in createStringGroup()
185 if (ref.getMode() == ExtractStringRefactoring.Mode.EDIT_SOURCE) { in createStringGroup()
187 } else if (ref.getMode() == ExtractStringRefactoring.Mode.SELECT_NEW_ID) { in createStringGroup()
384 if (ref.getMode() == ExtractStringRefactoring.Mode.SELECT_NEW_ID) { in validatePage()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/
DSampleProjectTest.java22 import com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizardState.Mode;
109 NewProjectWizardState state = new NewProjectWizardState(Mode.SAMPLE); in doTestSampleProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DExportGradleTest.java29 import com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizardState.Mode;
274 NewProjectWizardState state = new NewProjectWizardState(Mode.ANY); in createJavaProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DAdtProjectTest.java39 import com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizardState.Mode;
286 NewProjectWizardState state = new NewProjectWizardState(Mode.ANY); in createProject()