| org.netbeans.modules.refactoring.spi.ui.RefactoringUI
All known Subclasses: org.netbeans.modules.refactoring.java.ui.ChangeParametersUI, org.netbeans.modules.refactoring.java.ui.MoveClassesUI, org.netbeans.modules.refactoring.java.ui.MoveClassUI, org.netbeans.modules.refactoring.java.ui.EncapsulateFieldUI, org.netbeans.modules.refactoring.java.ui.ExtractInterfaceRefactoringUI, org.netbeans.modules.refactoring.java.ui.RenameRefactoringUI, org.netbeans.modules.refactoring.java.ui.SafeDeleteUI, org.netbeans.modules.refactoring.java.ui.InnerToOuterRefactoringUI, org.netbeans.modules.refactoring.java.ui.UseSuperTypeRefactoringUI, org.netbeans.modules.refactoring.java.ui.PushDownRefactoringUI, org.netbeans.modules.refactoring.spi.impl.SafeDeleteUI, org.netbeans.modules.refactoring.java.ui.PullUpRefactoringUI, org.netbeans.modules.refactoring.java.ui.WhereUsedQueryUI, org.netbeans.modules.refactoring.java.ui.ExtractSuperclassRefactoringUI, org.netbeans.modules.refactoring.java.ui.CopyClassRefactoringUI,
RefactoringUI | public interface RefactoringUI (Code) | | Interface representing UI for a refactoring.
author: Martin Matula |
checkParameters | Problem checkParameters()(Code) | | check parameters of refactoring
Chain of problems returned from the underlying refactoring objectwhen trying to check its parameters. |
getDescription | String getDescription()(Code) | | Returns description of the refactoring.
Refactoring description. |
getHelpCtx | public HelpCtx getHelpCtx()(Code) | | helpcontext |
getName | String getName()(Code) | | Returns name of the refactoring.
Refactoring name. |
getPanel | CustomRefactoringPanel getPanel(ChangeListener parent)(Code) | | Returns refactoring-specific panel containing input fields for
refactoring parameters.
Name of the panel returned from this method will be used as the dialog
name.
this method might return null if hasParameters return false.
Parameters: parent - dialog in which that the returned panel will be displayed in. See Also: RefactoringUI.hasParameters Refactoring-specific parameters panel. |
getRefactoring | AbstractRefactoring getRefactoring()(Code) | | Returns underlying refactoring object.
Underlying refactoring object. |
hasParameters | boolean hasParameters()(Code) | | true, if refactoring has parameters
false otherwise. In this case
RefactoringUI.getPanel method can return null
false if this UI does not require any parameters. True otherwise. |
isQuery | 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. |
setParameters | 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. |
|
|