| java.lang.Object org.netbeans.modules.xml.refactoring.ui.RenameRefactoringUI
RenameRefactoringUI | public class RenameRefactoringUI implements org.netbeans.modules.refactoring.spi.ui.RefactoringUI,RefactoringCustomUI(Code) | | author: Jeri Lockhart |
RenameRefactoringUI | public RenameRefactoringUI(Nameable ref)(Code) | | Creates a new instance of WhereUsedQueryUI
|
RenameRefactoringUI | public RenameRefactoringUI(WhereUsedView view, Nameable ref, String name, boolean editable)(Code) | | Creates a new instance of RenameRefactoringUI.
In addition to whereusedview and namedreferenceable,
new name and editable flag is also provided.
It is called from scn.setname and name property.
|
checkParameters | public Problem checkParameters()(Code) | | |
getDescription | public String getDescription()(Code) | | Returns description of the refactoring.
Refactoring description. |
getHelpCtx | public HelpCtx getHelpCtx()(Code) | | |
getName | public String getName()(Code) | | Returns name of the refactoring.
Refactoring name. |
getNewName | public String getNewName()(Code) | | End Implementation of RefactoringUI
|
getPanel | public CustomRefactoringPanel getPanel(ChangeListener parent)(Code) | | Returns refactoring-specific panel containing input fields for
refactoring parameters. This method is called by ParametersPanel
which is responsible for displaying refactoring parameters dialog.
Name of the panel returned from this method will be used as the dialog
name. This panel can use setPreviewEnabled method of the passed
ParametersPanel to enable/disable Preview button of the refactoring
parameters dialog.
Parameters: parent - ParametersPanel that the returned panel will be displayed in. Refactoring-specific parameters panel. |
getRefactoring | public AbstractRefactoring getRefactoring()(Code) | | Returns underlying refactoring object.
Underlying refactoring object. |
hasParameters | public boolean hasParameters()(Code) | | |
isQuery | public boolean isQuery()(Code) | | Indicates whether this class represents a real refactoring that changes
code or whether it is just a query (e.g. all usages for a class).
true if the class represents only a query,false if the class represents a real refactoring. |
setNameableTarget | public void setNameableTarget(Nameable target)(Code) | | Parameters: target - the Component to be renamed, must be a Nameable |
setParameters | public Problem setParameters()(Code) | | Implementation of this method should set the refactoring parameters entered
by user into the refactoring-specific parameters panel (returned from getPanel
method) into the underlying refactoring object.
Chain of problems returned from the underlying refactoring objectwhen trying to set its parameters. |
|
|