Home
last modified time | relevance | path

Searched refs:refactoring (Results 1 – 25 of 103) sorted by relevance

12345

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceWizard.java28 import org.eclipse.jdt.internal.ui.refactoring.reorg.RenameRefactoringWizard;
29 import org.eclipse.jdt.ui.refactoring.RefactoringSaveHelper;
31 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
32 import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
33 import org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation;
52 @NonNull RenameRefactoring refactoring, in RenameResourceWizard()
55 super(refactoring, in RenameResourceWizard()
66 RenameRefactoring refactoring = (RenameRefactoring) getRefactoring(); in addUserInputPages() local
67 RenameResourceProcessor processor = (RenameResourceProcessor) refactoring.getProcessor(); in addUserInputPages()
93 RenameRefactoring refactoring = new RenameRefactoring(processor); in renameResource() local
[all …]
DRenameResourceProcessor.java29 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;
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DExtractStyleRefactoringTest.java17 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
26 import org.eclipse.ltk.core.refactoring.Change;
27 import org.eclipse.ltk.core.refactoring.TextFileChange;
148 ExtractStyleRefactoring refactoring = new ExtractStyleRefactoring(selectedElements, in checkRefactoring() local
151 parentStyle, expectedModifiedFileCount, file, refactoring); in checkRefactoring()
175 ExtractStyleRefactoring refactoring = new ExtractStyleRefactoring(file, in checkRefactoringByOffset() local
178 parentStyle, expectedModifiedFileCount, file, refactoring); in checkRefactoringByOffset()
185 ExtractStyleRefactoring refactoring) throws Exception { in checkRefactoring() argument
186 refactoring.setStyleName(newStyleName); in checkRefactoring()
187 refactoring.setApplyStyle(applyStyle); in checkRefactoring()
[all …]
DUnwrapRefactoringTest.java16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
20 import org.eclipse.ltk.core.refactoring.Change;
21 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
50 UnwrapRefactoring refactoring = new UnwrapRefactoring(selectedElements, in checkRefactoring() local
53 RefactoringStatus status = refactoring.checkInitialConditions(new NullProgressMonitor()); in checkRefactoring()
55 List<Change> changes = refactoring.computeChanges(new NullProgressMonitor()); in checkRefactoring()
DChangeLayoutRefactoringTest.java16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
26 import org.eclipse.ltk.core.refactoring.Change;
124 ChangeLayoutRefactoring refactoring = new ChangeLayoutRefactoring(selectedElements, in checkRefactoring() local
126 refactoring.setFlatten(flatten); in checkRefactoring()
127 refactoring.setType(newLayoutType); in checkRefactoring()
129 refactoring.setInitializedAttributes(initialAttributes); in checkRefactoring()
131 refactoring.setRootView(rootView); in checkRefactoring()
133 List<Change> changes = refactoring.computeChanges(new NullProgressMonitor()); in checkRefactoring()
DChangeViewRefactoringTest.java16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
22 import org.eclipse.ltk.core.refactoring.Change;
52 ChangeViewRefactoring refactoring = new ChangeViewRefactoring(selectedElements, in checkRefactoring() local
54 refactoring.setType(newType); in checkRefactoring()
56 List<Change> changes = refactoring.computeChanges(new NullProgressMonitor()); in checkRefactoring()
DWrapInRefactoringTest.java16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
23 import org.eclipse.ltk.core.refactoring.Change;
53 WrapInRefactoring refactoring = new WrapInRefactoring(selectedElements, in checkRefactoring() local
55 refactoring.setType(fqcn); in checkRefactoring()
56 List<Change> changes = refactoring.computeChanges(new NullProgressMonitor()); in checkRefactoring()
DUseCompoundDrawableRefactoringTest.java16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
18 import static com.android.ide.eclipse.adt.internal.editors.layout.refactoring.UseCompoundDrawableRe…
24 import org.eclipse.ltk.core.refactoring.Change;
25 import org.eclipse.ltk.core.refactoring.CompositeChange;
103 UseCompoundDrawableRefactoring refactoring = new UseCompoundDrawableRefactoring( in checkRefactoring() local
105 List<Change> changes = refactoring.computeChanges(new NullProgressMonitor()); in checkRefactoring()
DExtractIncludeRefactoringTest.java16 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, in checkRefactoring() local
145 refactoring.setLayoutName(layoutName); in checkRefactoring()
146 refactoring.setReplaceOccurrences(replaceOccurrences); in checkRefactoring()
147 List<Change> changes = refactoring.computeChanges(new NullProgressMonitor()); in checkRefactoring()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dsample1a-expected-assistant2.txt2 Wrap in Container : Initiates the "Wrap in Container" refactoring
3 Remove Container : Initiates the "Remove Container" refactoring
4 Change Widget Type : Initiates the "Change Widget Type" refactoring
5 Change Layout : Initiates the "Change Layout" refactoring
6 Extract as Include : Initiates the "Extract as Include" refactoring
7 Extract Style : Initiates the "Extract Style" refactoring
Dsample1a-expected-assistant3.txt2 Wrap in Container : Initiates the "Wrap in Container" refactoring
3 Remove Container : Initiates the "Remove Container" refactoring
4 Change Widget Type : Initiates the "Change Widget Type" refactoring
5 Change Layout : Initiates the "Change Layout" refactoring
6 Extract as Include : Initiates the "Extract as Include" refactoring
7 Extract Style : Initiates the "Extract Style" refactoring
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoringWizard.java16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
20 import org.eclipse.ltk.core.refactoring.Refactoring;
21 import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
22 import org.eclipse.ltk.ui.refactoring.UserInputWizardPage;
31 public VisualRefactoringWizard(Refactoring refactoring, LayoutEditorDelegate editor) { in VisualRefactoringWizard() argument
32 super(refactoring, DIALOG_BASED_USER_INTERFACE | PREVIEW_EXPAND_FIRST_NODE); in VisualRefactoringWizard()
DChangeLayoutContribution.java16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
18 import org.eclipse.ltk.core.refactoring.RefactoringContribution;
19 import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
DExtractIncludeContribution.java16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
18 import org.eclipse.ltk.core.refactoring.RefactoringContribution;
19 import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
DExtractStyleContribution.java16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
18 import org.eclipse.ltk.core.refactoring.RefactoringContribution;
19 import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
DUnwrapContribution.java16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
18 import org.eclipse.ltk.core.refactoring.RefactoringContribution;
19 import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
DChangeViewContribution.java16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
18 import org.eclipse.ltk.core.refactoring.RefactoringContribution;
19 import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
DWrapInContribution.java16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
18 import org.eclipse.ltk.core.refactoring.RefactoringContribution;
19 import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/
DAndroidTypeMoveParticipantTest.java28 import org.eclipse.jdt.internal.corext.refactoring.reorg.IReorgPolicy.IMovePolicy;
29 import org.eclipse.jdt.internal.corext.refactoring.reorg.JavaMoveProcessor;
30 import org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgDestinationFactory;
31 import org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgPolicyFactory;
32 import org.eclipse.jdt.internal.ui.refactoring.reorg.CreateTargetQueries;
33 import org.eclipse.jdt.internal.ui.refactoring.reorg.ReorgQueries;
34 import org.eclipse.ltk.core.refactoring.participants.MoveRefactoring;
132 MoveRefactoring refactoring = new MoveRefactoring(processor); in moveType() local
133 checkRefactoring(refactoring, expected); in moveType()
DAndroidTypeRenameParticipantTest.java24 import org.eclipse.jdt.internal.corext.refactoring.rename.RenameTypeProcessor;
25 import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
157 RenameRefactoring refactoring = new RenameRefactoring(processor); in renameType() local
158 checkRefactoring(refactoring, expected); in renameType()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/
DApplicationPackageNameRefactoringWizard.java19 import org.eclipse.ltk.core.refactoring.Refactoring;
20 import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
27 public ApplicationPackageNameRefactoringWizard(Refactoring refactoring) { in ApplicationPackageNameRefactoringWizard() argument
28 super(refactoring, 0); in ApplicationPackageNameRefactoringWizard()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRefactoringTestBase.java21 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;
41 import org.eclipse.ltk.core.refactoring.resource.MoveResourceChange;
[all …]
DRenameResourceParticipantTest.java29 import org.eclipse.jdt.internal.corext.refactoring.rename.RenameFieldProcessor;
30 import org.eclipse.ltk.core.refactoring.participants.RenameProcessor;
31 import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
380 org.eclipse.ltk.internal.core.refactoring.resource.RenameResourceProcessor p; in renameResource()
381 p = new org.eclipse.ltk.internal.core.refactoring.resource.RenameResourceProcessor(r); in renameResource()
399 RenameRefactoring refactoring = new RenameRefactoring(processor); in renameResource() local
400 checkRefactoring(refactoring, expected, expectedWarnings); in renameResource()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DUseCompoundDrawableDetectorFix.java22 import com.android.ide.eclipse.adt.internal.editors.layout.refactoring.UseCompoundDrawableRefactori…
30 import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
31 import org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation;
82 UseCompoundDrawableRefactoring refactoring = in apply() local
84 RefactoringWizard wizard = refactoring.createWizard(); in apply()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplatePreviewPage.java18 import org.eclipse.ltk.core.refactoring.Change;
19 import org.eclipse.ltk.core.refactoring.CompositeChange;
20 import org.eclipse.ltk.internal.ui.refactoring.PreviewWizardPage;

12345