Added refactoring support for renaming PHP elements (fields, local variables, methods, functions, classes, interfaces, and traits). (Issue #48)
Renamed an unused import. (Issue #48)
Removed unnecessary NULL checks. (Issue #48)
Improved code to dispatch the ISelectionChangedListener#selectionChanged() method. (Issue #48)
Changed the RenamePHPElementAction class so that Rename Resource work in the PHP Explorer view. (Issue #48)
Added the createRenameAction(IWorkbenchPart) method. (Issue #48)
Improved the selectionChanged(IAction, ISelection) method so that the current RenameAction object always has the active IWorkbenchSite object. (Issue #48)
Changed the RefactoringEngine#createRenameProcessor(IModelElement) method so that it avoid trying to rename a namespace. (Issue #48)
Changed the RenamePHPElementActionDelegate#selectionChanged(IAction, ISelection) method so that renaming a file from the context menu works properly. (Issue #48)
Changed the RenamePHPElementActionDelegate class so that the renameAction field is reset with an appropriate RenameAction object on the init(IWorkbenchWindow) and selectionChanged(IAction, ISelection) methods. (Issue #48)
Added the RenamePHPElementActionDelegate#init(PHPStructuredEditor) method. (Issue #48)
minor cleanup
added code so that the file is renamed at the same time when renaming a type if the file name without its extension is same as the type name. (Issue #48)
replaced the extension for the extension point "org.eclipse.dltk.core.manipulation.refactoringEngine" with the PHPRenameSuppport class. (Issue #48)
moved the Message class into the org.pdtextensions.core package. (Issue #48)
replaced RenameSupport#create(...) calls with appropriate constructor calls. (Issue #48)
changed the RenameSupport class so as not to use the RenameUserInterfaceManager#getStarter(Refactoring) method to get a RenameUserInterfaceStarter object which is initialized with an appropriate RenameRefactoringWizard object. (Issue #48)
replaced the use of the org.eclipse.dltk.internal.core.util.Messages class with the org.pdtextensions.core.Messages class. (Issue #48)
inlined the RenameSupport#initialized(RenameRefactoring, String, int) method into the shared constructor. (Issue #48)
removed an unused field. (Issue #48)