public interface RefactoringUI
Modifier and Type | Method and Description |
---|---|
Problem |
checkParameters()
check parameters of refactoring
|
String |
getDescription()
Returns description of the refactoring.
|
HelpCtx |
getHelpCtx() |
String |
getName()
Returns name of the refactoring.
|
CustomRefactoringPanel |
getPanel(ChangeListener parent)
Returns refactoring-specific panel containing input fields for
refactoring parameters.
|
AbstractRefactoring |
getRefactoring()
Returns underlying refactoring object.
|
boolean |
hasParameters()
true, if refactoring has parameters
false otherwise.
|
boolean |
isQuery()
Indicates whether this class represents a real refactoring that changes
code or whether it is just a query (e.g.
|
Problem |
setParameters()
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.
|
String getName()
String getDescription()
boolean isQuery()
true
if the class represents only a query,
false
if the class represents a real refactoring.CustomRefactoringPanel getPanel(ChangeListener parent)
parent
- dialog in which that the returned panel will be displayed in.RefactoringUI.hasParameters()
Problem setParameters()
Problem checkParameters()
boolean hasParameters()
RefactoringUI.getPanel(javax.swing.event.ChangeListener)
method can return nullAbstractRefactoring getRefactoring()
HelpCtx getHelpCtx()