HomeSort by relevance Sort by last modified time
    Searched refs:refactoring (Results 26 - 50 of 96) sorted by null

12 3 4

  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
UseCompoundDrawableRefactoringTest.java 16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
18 import static com.android.ide.eclipse.adt.internal.editors.layout.refactoring.UseCompoundDrawableRefactoring.combine;
24 import org.eclipse.ltk.core.refactoring.Change;
25 import org.eclipse.ltk.core.refactoring.CompositeChange;
51 checkRefactoring("refactoring/usecompound/compound1.xml", "@+id/layout1");
56 checkRefactoring("refactoring/usecompound/compound2.xml", "@+id/layout2");
61 checkRefactoring("refactoring/usecompound/compound3.xml", "@+id/layout3");
66 checkRefactoring("refactoring/usecompound/compound4.xml", "@+id/layout4");
72 checkRefactoring("refactoring/usecompound/compound_all.xml", "@+id/layout2");
78 checkRefactoring("refactoring/usecompound/compound_all.xml", "@+id/layout3")
103 UseCompoundDrawableRefactoring refactoring = new UseCompoundDrawableRefactoring( local
    [all...]
ExtractIncludeRefactoringTest.java 16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
27 import org.eclipse.ltk.core.refactoring.Change;
28 import org.eclipse.ltk.core.refactoring.TextFileChange;
143 ExtractIncludeRefactoring refactoring = new ExtractIncludeRefactoring(selectedElements, local
145 refactoring.setLayoutName(layoutName);
146 refactoring.setReplaceOccurrences(replaceOccurrences);
147 List<Change> changes = refactoring.computeChanges(new NullProgressMonitor());
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
RenameResourceProcessor.java 29 import org.eclipse.ltk.core.refactoring.Change;
30 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
31 import org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext;
32 import org.eclipse.ltk.core.refactoring.participants.ParticipantManager;
33 import org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant;
34 import org.eclipse.ltk.core.refactoring.participants.RenameArguments;
35 import org.eclipse.ltk.core.refactoring.participants.RenameProcessor;
36 import org.eclipse.ltk.core.refactoring.participants.SharableParticipants;
120 * Returns {@code true} if the refactoring processor also updates references
122 * @return {@code true} if the refactoring processor also updates reference
    [all...]
AndroidPackageRenameParticipant.java 54 import org.eclipse.jdt.internal.corext.refactoring.changes.RenamePackageChange;
55 import org.eclipse.jdt.internal.corext.refactoring.rename.RenameCompilationUnitProcessor;
56 import org.eclipse.jdt.internal.corext.refactoring.rename.RenameTypeProcessor;
59 import org.eclipse.ltk.core.refactoring.Change;
60 import org.eclipse.ltk.core.refactoring.CompositeChange;
61 import org.eclipse.ltk.core.refactoring.FileStatusContext;
62 import org.eclipse.ltk.core.refactoring.NullChange;
63 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
64 import org.eclipse.ltk.core.refactoring.RefactoringStatusContext;
65 import org.eclipse.ltk.core.refactoring.TextFileChange
    [all...]
AndroidTypeRenameParticipant.java 60 import org.eclipse.jdt.internal.corext.refactoring.rename.RenameCompilationUnitProcessor;
61 import org.eclipse.jdt.internal.corext.refactoring.rename.RenameTypeProcessor;
62 import org.eclipse.ltk.core.refactoring.Change;
63 import org.eclipse.ltk.core.refactoring.CompositeChange;
64 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
65 import org.eclipse.ltk.core.refactoring.TextFileChange;
66 import org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext;
67 import org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor;
68 import org.eclipse.ltk.core.refactoring.participants.RenameParticipant;
69 import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring
279 RenameRefactoring refactoring = local
    [all...]
RenameResourcePage.java 24 import org.eclipse.jdt.internal.ui.refactoring.TextInputWizardPage;
26 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
27 import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
40 @SuppressWarnings("restriction") // JDT refactoring UI
133 RenameRefactoring refactoring = (RenameRefactoring) getRefactoring(); local
134 return (RenameResourceProcessor) refactoring.getProcessor();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
ExtractStringContribution.java 19 import org.eclipse.ltk.core.refactoring.RefactoringContribution;
20 import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
30 * @see org.eclipse.ltk.core.refactoring.RefactoringContribution#createDescriptor(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, int)
ExtractStringWizard.java 20 import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
ExtractStringDescriptor.java 20 import org.eclipse.ltk.core.refactoring.Refactoring;
21 import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
22 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
33 "com.android.ide.eclipse.adt.refactoring.extract.string"; //$NON-NLS-1$
50 * Creates a new refactoring instance for this refactoring descriptor based on
51 * an argument map. The argument map is created by the refactoring itself in
54 * This is apparently used to replay a refactoring.
61 public Refactoring createRefactoring(RefactoringStatus status) throws CoreException
    [all...]
ExtractStringAction.java 29 import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
30 import org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation;
41 * http://www.eclipse.org/articles/article.php?file=Article-Unleashing-the-Power-of-Refactoring/index.html
49 * The intent of the action is to start a refactoring that extracts a source string and
54 * <li> The action is currently located in the Refactoring menu in the main menu.
55 * <li> TODO: extend the popup refactoring menu in a Java or Android XML file.
61 * {@link IWorkbenchWindow}. However for the refactoring we are also interested in having the
104 // This simply deals with the refactoring based on a non-empty selection.
123 * Create a new instance of our refactoring and a wizard to configure it.
159 * for the refactoring. This check is performed when the refactoring is invoked sinc
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/
AndroidTypeRenameParticipantTest.java 24 import org.eclipse.jdt.internal.corext.refactoring.rename.RenameTypeProcessor;
25 import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
157 RenameRefactoring refactoring = new RenameRefactoring(processor); local
158 checkRefactoring(refactoring, expected);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
UseCompoundDrawableDetectorFix.java 22 import com.android.ide.eclipse.adt.internal.editors.layout.refactoring.UseCompoundDrawableRefactoring;
30 import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
31 import org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation;
74 // Invoke refactoring
82 UseCompoundDrawableRefactoring refactoring = local
84 RefactoringWizard wizard = refactoring.createWizard();
ExtractStringFix.java 28 import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
29 import org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation;
68 ExtractStringRefactoring refactoring = local
70 RefactoringWizard wizard = new ExtractStringWizard(refactoring, file.getProject());
RemoveUselessViewFix.java 20 import com.android.ide.eclipse.adt.internal.editors.layout.refactoring.UnwrapRefactoring;
28 import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
29 import org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation;
65 // Invoke refactoring
73 UnwrapRefactoring refactoring = local
75 RefactoringWizard wizard = refactoring.createWizard();
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/
AndroidPackageRenameParticipantTest.java 27 import org.eclipse.jdt.internal.corext.refactoring.rename.RenamePackageProcessor;
28 import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
234 RenameRefactoring refactoring = new RenameRefactoring(processor); local
235 checkRefactoring(refactoring, expected, expectedWarnings);
257 "INFO: You are refactoring the same package as your application's package (specified in the manifest).\n" +
263 "INFO: Note that this refactoring does NOT also update your application package.\n" +
RefactoringTestBase.java 21 import com.android.ide.eclipse.adt.internal.editors.layout.refactoring.AdtProjectTest;
31 import org.eclipse.jdt.internal.corext.refactoring.changes.RenameCompilationUnitChange;
32 import org.eclipse.jdt.internal.corext.refactoring.changes.RenamePackageChange;
35 import org.eclipse.ltk.core.refactoring.Change;
36 import org.eclipse.ltk.core.refactoring.CompositeChange;
37 import org.eclipse.ltk.core.refactoring.Refactoring;
38 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
39 import org.eclipse.ltk.core.refactoring.TextChange;
40 import org.eclipse.ltk.core.refactoring.TextFileChange
    [all...]
RenameResourceParticipantTest.java 30 import org.eclipse.jdt.internal.corext.refactoring.rename.RenameFieldProcessor;
31 import org.eclipse.ltk.core.refactoring.participants.RenameProcessor;
32 import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
208 // Test refactoring initiated on a file rename
238 // Test refactoring initiated on a Java field rename
379 org.eclipse.ltk.internal.core.refactoring.resource.RenameResourceProcessor p;
380 p = new org.eclipse.ltk.internal.core.refactoring.resource.RenameResourceProcessor(r);
398 RenameRefactoring refactoring = new RenameRefactoring(processor); local
399 checkRefactoring(refactoring, expected, expectedWarnings);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/
ApplicationPackageNameRefactoringTest.java 124 ApplicationPackageNameRefactoring refactoring = local
126 checkRefactoring(refactoring, expected);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
ExtractIncludeWizard.java 17 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
116 ExtractIncludeRefactoring refactoring = local
118 refactoring.setLayoutName(text);
119 refactoring.setReplaceOccurrences(mReplaceAllOccurrences.getSelection());
RefactoringAssistant.java 17 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
43 import org.eclipse.ltk.core.refactoring.Refactoring;
44 import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
45 import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
46 import org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation;
64 * QuickAssistProcessor which helps invoke refactoring operations on text elements.
101 // Ensure that we are over a tag name (for element-based refactoring
102 // operations) or a value (for the extract include refactoring)
190 RenameRefactoring refactoring = new RenameRefactoring(processor) local
295 RenameRefactoring refactoring = (RenameRefactoring) mRefactoring; local
    [all...]
ChangeLayoutWizard.java 17 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
173 ChangeLayoutRefactoring refactoring = local
175 refactoring.setType(type);
176 refactoring.setFlatten(mFlatten.getSelection());
184 refactoring.setInitializedAttributes(initializedAttributes);
187 refactoring.setInitializedAttributes(null);
UnwrapRefactoring.java 16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
35 import org.eclipse.ltk.core.refactoring.Change;
36 import org.eclipse.ltk.core.refactoring.Refactoring;
37 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
38 import org.eclipse.ltk.core.refactoring.TextFileChange;
61 * to replay a previous refactoring.
237 super("com.android.ide.eclipse.adt.refactoring.unwrap", //$NON-NLS-1$
242 protected Refactoring createRefactoring(Map<String, String> args) {
WrapInWizard.java 17 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
144 WrapInRefactoring refactoring = local
146 refactoring.setId(id);
147 refactoring.setType(type);
154 refactoring.setInitializedAttributes(initializedAttributes);
156 refactoring.setInitializedAttributes(null);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/
RenamePackageAction.java 28 import org.eclipse.jdt.ui.refactoring.RefactoringSaveHelper;
35 import org.eclipse.ltk.core.refactoring.Refactoring;
36 import org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation;
45 * Refactoring steps:
89 // Prompt for refactoring on the selected project
114 * Validate the new package name and start the refactoring wizard
161 Refactoring package_name_refactoring =
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
CreateFileChange.java 36 import org.eclipse.ltk.core.refactoring.Change;
37 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
38 import org.eclipse.ltk.core.refactoring.resource.ResourceChange;

Completed in 107 milliseconds

12 3 4