|
org.netbeans.modules.refactoring.api 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.modules.refactoring.spi.ui.UI
public final class UI
Various static UI helper methods
RefactoringUI
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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
|
org.netbeans.modules.refactoring.api 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |