当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
RefactoringCustomUI (Refactoring API) - NetBeans API Javadoc (Current Development Version)
org.netbeans.modules.refactoring.spi.ui
Interface RefactoringCustomUI
public interface RefactoringCustomUI
Backward compatible extension to RefactoringUI providing custom preview panel.
If implementation of RefactoringUI also implement RefactoringCustomUI, default
Refactoring Preview appears with new "Custom View" toggle button, which
shows custom Component
this interface is just prototype and might be subject of change.
getCustomComponent
Component getCustomComponent(Collection<RefactoringElement> elements)
- Returns:
- component to show
getCustomIcon
Icon getCustomIcon()
- Returns:
- icon for toggle button
getCustomToolTip
String getCustomToolTip()
- tooltip for toggle button