public class RenameArguments extends RefactoringArguments
This class may be subclassed by refactoring processors wishing to provide special rename arguments for special participants.
Constructor and Description |
---|
RenameArguments(String newName,
boolean updateReferences)
Creates new rename arguments.
|
Modifier and Type | Method and Description |
---|---|
String |
getNewName()
Returns the new element name.
|
boolean |
getUpdateReferences()
Returns whether reference updating is requested or not.
|
String |
toString()
Returns a string representation of these arguments suitable for debugging
purposes only.
|
public RenameArguments(String newName, boolean updateReferences)
newName
- the new name of the element to be renamedupdateReferences
- true
if reference
updating is requested; false
otherwisepublic String getNewName()
public boolean getUpdateReferences()
true
if reference
updating is requested; false
otherwisepublic String toString()
Subclasses should reimplement this method.
toString
in class RefactoringArguments
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.