troizet commented on code in PR #7694:
URL: https://github.com/apache/netbeans/pull/7694#discussion_r1734959986
##########
ide/refactoring.api/src/org/netbeans/modules/refactoring/spi/impl/RefactoringPanel.java:
##########
@@ -1090,17 +1147,45 @@ public void restoreDeviderLocation() {
}
}
+ public boolean isPreview()
+ {
+ return getPrefPreview();
+ }
+
+ public boolean isSelectedPreview()
Review Comment:
I thought better and removed the `isPreview` method, since the stored value
is used only for panel initialization. Renamed the `isSelectedPreview` method
to `isPreviewEnabled`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists