dbalek commented on a change in pull request #3584:
URL: https://github.com/apache/netbeans/pull/3584#discussion_r809322448



##########
File path: platform/openide.dialogs/src/org/openide/NotifyDescriptor.java
##########
@@ -1153,4 +1163,209 @@ JTextField createTextField() {
         }
     }
      // end of InputLine
+    
+    /** Notification providing a selection list allowing multiple selections.
+    * @since 7.60
+    */
+    public static final class QuickPick extends NotifyDescriptor {
+
+        private final Map<JToggleButton, Item> btn2items = new 
LinkedHashMap<JToggleButton, Item>();
+        private final boolean multipleSelection;
+
+        /**
+         * Construct dialog with the specified title and label text.
+         * @param text label text
+         * @param title title of the dialog
+         * @param items a list of items
+         * @param multipleSelection true if multiple selection allowed
+         * @since 7.60
+         */
+        public QuickPick(final String text, final String title, final 
List<Item> items, final boolean multipleSelection) {
+            super(null, title, OK_CANCEL_OPTION, PLAIN_MESSAGE, null, null);
+            this.multipleSelection = multipleSelection;
+            super.setMessage(createDesign(text, items));

Review comment:
       Fixed.




-- 
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: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to