public final class UI extends Object
RefactoringUI
Modifier and Type | Class and Description |
---|---|
static class |
UI.Constants |
Modifier and Type | Method and Description |
---|---|
static void |
openRefactoringUI(RefactoringUI ui)
Open Refactoring UI for specified RefactoringUI
|
static void |
openRefactoringUI(RefactoringUI ui,
RefactoringSession callerTC,
Action callback)
Open Refactoring UI for specufied RefactoringUI from specified TopComponent.
|
static void |
openRefactoringUI(RefactoringUI ui,
TopComponent callerTC)
Open Refactoring UI for specufied RefactoringUI from specified TopComponent.
|
static boolean |
setComponentForRefactoringPreview(Component component)
use this method from RefactoringElementImplementation.showPreview
|
public static void openRefactoringUI(RefactoringUI ui)
ui
- RefactoringUI
public static void openRefactoringUI(RefactoringUI ui, TopComponent callerTC)
ui
- callerTC
- RefactoringUI
public static void openRefactoringUI(RefactoringUI ui, RefactoringSession callerTC, Action callback)
callback
- this action will be called when user clicks refresh buttoncallerTC
- which component will get focus when refactoring is finishedui
- this RefactoringUI will openRefactoringUI
,
RefactoringSession
public static boolean setComponentForRefactoringPreview(Component component)
component
- is set as a preview component of RefactoringPanel