|
org.netbeans.modules.refactoring.api 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RefactoringUI
Interface representing UI for a refactoring.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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
- ParametersPanel that the returned panel will be displayed in.
hasParameters()
Problem setParameters()
Problem checkParameters()
boolean hasParameters()
getPanel(javax.swing.event.ChangeListener)
method can return null
AbstractRefactoring getRefactoring()
HelpCtx getHelpCtx()
|
org.netbeans.modules.refactoring.api 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |