| |
|
| java.lang.Object core.AbstractAST refactor.RenamePackageFragment
Method Summary | |
public void | modification(IJavaElement modelElement) Renames the given package fragment. | public void | process(RefactorInfo info) | public void | updateModel(IJavaElement modelElement) Scans all model files in the workspace
and updates implementations property
of the concerning model elements if needed. | public void | updateSource(IJavaElement modelElement) Udates the package declarations on all compilatin units
found in the workspace. |
RenamePackageFragment | public RenamePackageFragment(String newName)(Code) | | |
modification | public void modification(IJavaElement modelElement)(Code) | | Renames the given package fragment.
It automatically renames the package name
and the package declarations in the compilatin units.
Parameters: modelElement - the package fragment to get renamed See Also: refactor.core.IRefactoring.modification(org.eclipse.jdt.core.IJavaElement) |
updateModel | public void updateModel(IJavaElement modelElement)(Code) | | Scans all model files in the workspace
and updates implementations property
of the concerning model elements if needed.
Parameters: modelElement - the compilation unit to modify See Also: refactor.core.IRefactoring.updateModel(org.eclipse.jdt.core.IJavaElement) |
updateSource | public void updateSource(IJavaElement modelElement)(Code) | | Udates the package declarations on all compilatin units
found in the workspace.
Parameters: modelElement - the package fragment to modify See Also: refactor.core.IRefactoring.updateSource(org.eclipse.jdt.core.IJavaElement) |
Methods inherited from core.AbstractAST | protected CompilationUnit parse(ICompilationUnit lwUnit)(Code)(Java Doc)
|
|
|
|