Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
280,400 | void (final boolean selected) { mySelected = selected; } | setSelected |
280,401 | TreeModel () { return myTreeModel; } | getTreeModel |
280,402 | void (final Object obj) { if (mySelectedItem != null && !mySelectedItem.equals(obj) || mySelectedItem == null && obj != null) { mySelectedItem = obj; fireContentsChanged(this, -1, -1); } } | setSelectedItem |
280,403 | void (final @NotNull TreeNode node, final @NotNull List<? super TreeNode> list, final boolean showRoot) { if (showRoot || node.getParent() != null) list.add(node); final int count = node.getChildCount(); for (int i = 0; i < count; i++) { accumulateChildren(node.getChildAt(i), list, showRoot); } } | accumulateChildren |
280,404 | TreePath (final int row) { TreeNode node = myTreeModelAsList.get(row); final List<TreeNode> path = new ArrayList<>(); while (node != null) { path.add(0, node); node = node.getParent(); } return new TreePath(path.toArray(new TreeNode[0])); } | getPathForRow |
280,405 | Object () { return mySelectedItem; } | getSelectedItem |
280,406 | int () { int count = 0; Enumeration e = new PreorderEnumeration(myTreeModel); while (e.hasMoreElements()) { e.nextElement(); count++; } return count - (myShowRootNode ? 0 : 1); } | getSize |
280,407 | Object (int index) { Enumeration e = new PreorderEnumeration(myTreeModel); if (!myShowRootNode) index++; for (int i = 0; i < index; i++) { e.nextElement(); } return e.nextElement(); } | getElementAt |
280,408 | boolean () { return myIndex < myTreeModel.getChildCount(myNode) - 1; } | hasMoreElements |
280,409 | Object () { return myTreeModel.getChild(myNode, ++myIndex); } | nextElement |
280,410 | boolean () { return !myStack.empty() && myStack.peek().hasMoreElements(); } | hasMoreElements |
280,411 | Object () { Enumeration e = myStack.peek(); Object node = e.nextElement(); if (!e.hasMoreElements()) { myStack.pop(); } Enumeration children = new ChildrenEnumeration(myTreeModel, node); if (children.hasMoreElements()) { myStack.push(children); } return node; } | nextElement |
280,412 | boolean (String inputString) { return !inputString.isEmpty(); } | checkInput |
280,413 | boolean (final String inputString) { return checkInput(inputString); } | canClose |
280,414 | SplitterProportionsDataImpl () { return proportions; } | getProportions |
280,415 | void (SplitterProportionsDataImpl proportions) { this.proportions = proportions; } | setProportions |
280,416 | void (@NonNls String lastEditedConfigurable) { this.lastEditedConfigurable = lastEditedConfigurable; } | setLastEditedConfigurable |
280,417 | void (ListSelectionEvent e) { setOKActionEnabled(myList.getSelectedValues().length > 0); } | valueChanged |
280,418 | JComponent () { myMainPanel.add(ScrollPaneFactory.createScrollPane(myList), BorderLayout.CENTER); return myMainPanel; } | createCenterPanel |
280,419 | void (JComponent userComponent, @NonNls @NotNull String borderLayoutConstraints) { LOG.assertTrue(!borderLayoutConstraints.equals(BorderLayout.CENTER), "Can't add any component to center"); myMainPanel.add(userComponent, borderLayoutConstraints); } | addToDialog |
280,420 | void (final String defaultLocation) { final int index = myModel.indexOf(defaultLocation); if (index >= 0) { myList.getSelectionModel().setSelectionInterval(index, index); } } | setSelection |
280,421 | Object[] () { if (!isOK()) return null; return myList.getSelectedValues(); } | getSelection |
280,422 | JComponent () { return myList; } | getPreferredFocusedComponent |
280,423 | void () { myNaturalLocation = myWindow.getLocation(); myStartTime = System.currentTimeMillis(); new Animator("EarthQuake", 10, 70, true) { @Override public void paintNow(int frame, int totalFrames, int cycle) { final long elapsed = System.currentTimeMillis() - myStartTime; final double waveOffset = (elapsed % 70) / 70d; final double angle = waveOffset * 2d * Math.PI; final int shakenX = (int)((Math.sin(angle) * 10) + myNaturalLocation.x); myWindow.setLocation(shakenX, myNaturalLocation.y); myWindow.repaint(); if (elapsed > 150) { suspend(); myWindow.setLocation(myNaturalLocation); myWindow.repaint(); Disposer.dispose(this); } } }.resume(); } | startShake |
280,424 | void (int frame, int totalFrames, int cycle) { final long elapsed = System.currentTimeMillis() - myStartTime; final double waveOffset = (elapsed % 70) / 70d; final double angle = waveOffset * 2d * Math.PI; final int shakenX = (int)((Math.sin(angle) * 10) + myNaturalLocation.x); myWindow.setLocation(shakenX, myNaturalLocation.y); myWindow.repaint(); if (elapsed > 150) { suspend(); myWindow.setLocation(myNaturalLocation); myWindow.repaint(); Disposer.dispose(this); } } | paintNow |
280,425 | void (Window window) { new DialogEarthquakeShaker(window).startShake(); } | shake |
280,426 | void (String text) { myLabel.setText(XmlStringUtil.wrapInHtml(text)); } | setText |
280,427 | void () { remove(myLabel); add(myLabel, myLabelConstraints); setAnchor(myLabel); } | insertLabel |
280,428 | void (@NlsContexts.Label String text) { text = handleSemicolon(text); TextWithMnemonic.fromTextWithMnemonic(text).setToLabel(myLabel); } | setText |
280,429 | String () { String text = TextWithMnemonic.fromLabel(myLabel).getTextWithMnemonic(); return StringUtil.endsWithChar(text, ':') ? text.substring(0, text.length() - 1) : text; } | getText |
280,430 | void (Comp component) { if (myComponent != null) remove(myComponent); myComponent = component; if (myComponent != null) { add(myComponent, BorderLayout.CENTER); } if (myComponent instanceof ComponentWithBrowseButton && !(myComponent instanceof TextFieldWithBrowseButton)) { myLabel.setLabelFor(((ComponentWithBrowseButton<?>)myComponent).getChildComponent()); } else { myLabel.setLabelFor(myComponent); } } | setComponent |
280,431 | Comp () { return myComponent; } | getComponent |
280,432 | void (boolean enabled) { super.setEnabled(enabled); if (myComponent != null) myComponent.setEnabled(enabled); myLabel.setEnabled(enabled); } | setEnabled |
280,433 | void (@NonNls String borderConstrains) { if (ArrayUtil.indexOf(LABEL_BORDER_CONSTRAINS, borderConstrains) >= 0 && !borderConstrains.equals(myLabelConstraints)) { myLabelConstraints = borderConstrains; insertLabel(); } } | setLabelLocation |
280,434 | Insets () { return myLabel.getInsets(); } | getLabelInsets |
280,435 | void (Insets insets) { if (!Objects.equals(insets, getLabelInsets())) { myLabel.setBorder(IdeBorderFactory.createEmptyBorder(insets)); } } | setLabelInsets |
280,436 | String () { return myLabel.getText().replace(BundleBase.MNEMONIC_STRING, ""); } | getRawText |
280,437 | JBLabel () { return myLabel; } | getLabel |
280,438 | JComponent () { return myAnchor; } | getAnchor |
280,439 | void (@Nullable JComponent labelAnchor) { myAnchor = labelAnchor; myLabel.setAnchor(labelAnchor); } | setAnchor |
280,440 | void (JLabel label) { label.setText(myText); if (myMnemonicIndex != -1) label.setDisplayedMnemonic(myText.charAt(myMnemonicIndex)); else label.setDisplayedMnemonic(0); label.setDisplayedMnemonicIndex(myMnemonicIndex); } | setToLabel |
280,441 | String () { return myMnemonicIndex != -1 ? myText.substring(0, myMnemonicIndex) + '&' + myText.substring(myMnemonicIndex) : myText; } | getTextWithMnemonic |
280,442 | TextWithMnemonic (String text) { int mnemonicIndex = UIUtil.getDisplayMnemonicIndex(text); return mnemonicIndex != -1 ? new TextWithMnemonic(text.substring(0, mnemonicIndex) + text.substring(mnemonicIndex + 1), mnemonicIndex) : new TextWithMnemonic(text, -1); } | fromTextWithMnemonic |
280,443 | TextWithMnemonic (JLabel label) { return new TextWithMnemonic(label.getText(), label.getDisplayedMnemonicIndex()); } | fromLabel |
280,444 | void (@NotNull JBTable table) { table.setAutoResizeMode(AUTO_RESIZE_OFF); table.setTableHeader(createTableHeader(table.getColumnModel())); table.getTableHeader().setReorderingAllowed(false); //setOpaque(false); table.setGridColor(GRID_COLOR); table.setIntercellSpacing(new Dimension(1, 0)); table.setShowGrid(false); table.setStriped(true); } | apply |
280,445 | JTableHeader (@NotNull TableColumnModel columnModel) { return new StripeTableHeader(columnModel); } | createTableHeader |
280,446 | void (Graphics g) { super.paintComponent(g); JViewport viewport = (JViewport)table.getParent(); if (viewport != null && table.getWidth() < viewport.getWidth()) { int x = table.getWidth(); int width = viewport.getWidth() - table.getWidth(); paintHeader(g, getTable(), x, width); } } | paintComponent |
280,447 | void (Graphics g, JTable table, int x, int width) { TableCellRenderer renderer = table.getTableHeader().getDefaultRenderer(); Component component = renderer.getTableCellRendererComponent(table, "", false, false, -1, 2); component.setBounds(0, 0, width, table.getTableHeader().getHeight()); ((JComponent)component).setOpaque(false); myRenderPane.paintComponent(g, component, null, x, 0, width, table.getTableHeader().getHeight(), true); } | paintHeader |
280,448 | void (Graphics g) { final Rectangle bounds = g.getClipBounds(); if (mySplitter instanceof OnePixelSplitter) { final Supplier<Insets> blindZone = ((OnePixelSplitter)mySplitter).getBlindZone(); if (blindZone != null) { final Insets insets = blindZone.get(); if (insets != null && bounds != null) { bounds.x += insets.left; bounds.y += insets.top; bounds.width -= insets.left + insets.right; bounds.height -= insets.top + insets.bottom; g.setColor(getBackground()); g.fillRect(bounds.x, bounds.y, bounds.width, bounds.height); return; } } } super.paint(g); } | paint |
280,449 | void () { super.addNotify(); init(); } | addNotify |
280,450 | void () { super.removeNotify(); if (myDisposable != null && !Disposer.isDisposed(myDisposable)) { Disposer.dispose(myDisposable); } } | removeNotify |
280,451 | void (boolean dragging) { if (myDragging != dragging) { myDragging = dragging; mySplitter.setDragging(dragging); } } | setDragging |
280,452 | boolean () { if (isOneOfComponentsShowing()) { return false; } setDragging(false); myGlassPane.setCursor(null, this); return true; } | skipEventProcessing |
280,453 | void (MouseEvent e) { if (skipEventProcessing()) { return; } setDragging(isInDragZone(e)); _processMouseEvent(e); if (myDragging) { e.consume(); } } | mousePressed |
280,454 | void (MouseEvent e) { if (skipEventProcessing()) { return; } _processMouseEvent(e); if (myDragging) { e.consume(); } setDragging(false); } | mouseReleased |
280,455 | void (MouseEvent e) { if (skipEventProcessing() || getTargetEvent(e) == null) { return; } final OnePixelDivider divider = OnePixelDivider.this; if (isInDragZone(e)) { myGlassPane.setCursor(divider.getCursor(), divider); } else { myGlassPane.setCursor(null, divider); } _processMouseMotionEvent(e); } | mouseMoved |
280,456 | void (MouseEvent e) { if (skipEventProcessing()) { return; } _processMouseMotionEvent(e); } | mouseDragged |
280,457 | double () { return 1; } | getWeight |
280,458 | void (MouseEvent e) { MouseEvent event = getTargetEvent(e); if (event == null) { myGlassPane.setCursor(null, myListener); return; } processMouseMotionEvent(event); if (event.isConsumed()) { e.consume(); } } | _processMouseMotionEvent |
280,459 | void (MouseEvent e) { MouseEvent event = getTargetEvent(e); if (event == null) { myGlassPane.setCursor(null, myListener); return; } processMouseEvent(event); if (event.isConsumed()) { e.consume(); } } | _processMouseEvent |
280,460 | boolean () { if (isShowing()) return true; if (mySplitter instanceof JBSplitter) { JComponent first = ((JBSplitter)mySplitter).getFirstComponent(); JComponent second = ((JBSplitter)mySplitter).getSecondComponent(); if (first != null && first.isShowing()) return true; if (second != null && second.isShowing()) return true; } return false; } | isOneOfComponentsShowing |
280,461 | void () { myGlassPane = IdeGlassPaneUtil.find(this); myDisposable = Disposer.newDisposable(); myGlassPane.addMouseMotionPreprocessor(myListener, myDisposable); myGlassPane.addMousePreprocessor(myListener, myDisposable); } | init |
280,462 | void (boolean vertical) { removeAll(); myVertical = vertical; final int cursorType = isVertical() ? Cursor.N_RESIZE_CURSOR : Cursor.W_RESIZE_CURSOR; UIUtil.setCursor(this, Cursor.getPredefinedCursor(cursorType)); } | setOrientation |
280,463 | void (MouseEvent e) { super.processMouseMotionEvent(e); if (!myResizeEnabled) return; if (MouseEvent.MOUSE_DRAGGED == e.getID() && myDragging) { myPoint = SwingUtilities.convertPoint(this, e.getPoint(), mySplitter.asComponent()); float proportion; float firstMinProportion = mySplitter.getMinProportion(true); float secondMinProportion = mySplitter.getMinProportion(false); Component comp = mySplitter.asComponent(); float thickness = isVertical() ? comp.getHeight() : comp.getWidth(); if (thickness == 0) thickness = 1f; float position = isVertical() ? myPoint.y : myPoint.x; float ratio = position / thickness; proportion = MathUtil.clamp(Math.min(Math.max(firstMinProportion, ratio), 1 - secondMinProportion), 0f, 1f); mySplitter.setProportion(proportion); e.consume(); } } | processMouseMotionEvent |
280,464 | void (MouseEvent e) { super.processMouseEvent(e); if (e.getID() == MouseEvent.MOUSE_CLICKED) { if (mySwitchOrientationEnabled && e.getClickCount() == 1 && SwingUtilities.isLeftMouseButton(e) && (SystemInfo.isMac ? e.isMetaDown() : e.isControlDown())) { mySplitter.setOrientation(!mySplitter.getOrientation()); } if (myResizeEnabled && e.getClickCount() == 2) { mySplitter.setProportion(.5f); } } } | processMouseEvent |
280,465 | void (boolean resizeEnabled) { myResizeEnabled = resizeEnabled; if (!myResizeEnabled) { setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); } else { setCursor(isVertical() ? Cursor.getPredefinedCursor(Cursor.N_RESIZE_CURSOR) : Cursor.getPredefinedCursor(Cursor.W_RESIZE_CURSOR)); } } | setResizeEnabled |
280,466 | void (boolean switchOrientationEnabled) { mySwitchOrientationEnabled = switchOrientationEnabled; } | setSwitchOrientationEnabled |
280,467 | boolean () { return myVertical; } | isVertical |
280,468 | JComponent (@NotNull JComponent comp, int columns, int lines) { return wrapToScrollPaneIfNeeded(comp, columns, lines, 4); } | wrapToScrollPaneIfNeeded |
280,469 | JComponent (@NotNull JComponent comp, int columns, int maxLines, int lines) { float fontSize = comp.getFont().getSize2D(); Dimension maxDim = new Dimension((int)(fontSize * columns), (int)(fontSize * maxLines)); Dimension prefDim = comp.getPreferredSize(); if (prefDim.width <= maxDim.width && prefDim.height <= maxDim.height) return comp; JScrollPane scrollPane = ScrollPaneFactory.createScrollPane(comp); scrollPane.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); scrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED); scrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED); int barWidth = UIUtil.getScrollBarWidth(); Dimension preferredSize = new Dimension(Math.min(prefDim.width, maxDim.width) + barWidth, Math.min(prefDim.height, maxDim.height) + barWidth); if (prefDim.width > maxDim.width) { //Too wide single-line message should be wrapped preferredSize.height = Math.max(preferredSize.height, (int)(lines * fontSize) + barWidth); } scrollPane.setPreferredSize(preferredSize); return scrollPane; } | wrapToScrollPaneIfNeeded |
280,470 | JTextPane (JTextPane messageComponent, @DialogMessage String message) { JTextPane pane = configureMessagePaneUi(messageComponent, message, null); if (UIUtil.HTML_MIME.equals(pane.getContentType())) { pane.addHyperlinkListener(BrowserHyperlinkListener.INSTANCE); } return pane; } | configureMessagePaneUi |
280,471 | JTextPane (@NotNull JTextPane messageComponent, @Nullable @DialogMessage String message, @Nullable UIUtil.FontSize fontSize) { UIUtil.FontSize fixedFontSize = fontSize == null ? UIUtil.FontSize.NORMAL : fontSize; messageComponent.setFont(UIUtil.getLabelFont(fixedFontSize)); if (BasicHTML.isHTMLString(message)) { messageComponent.setEditorKit(HTMLEditorKitBuilder.simple()); } messageComponent.setText(message); messageComponent.setEditable(false); if (messageComponent.getCaret() != null) { messageComponent.setCaretPosition(0); } messageComponent.setBackground(UIUtil.getOptionPaneBackground()); messageComponent.setForeground(UIUtil.getLabelForeground()); return messageComponent; } | configureMessagePaneUi |
280,472 | void (JTextPane messageComponent) { configureMessagePaneUi(messageComponent, "<html></html>"); } | installHyperlinkSupport |
280,473 | String () { return CommonBundle.getYesButtonText(); } | getYesButton |
280,474 | String () { return CommonBundle.getNoButtonText(); } | getNoButton |
280,475 | Icon () { return UIUtil.getErrorIcon(); } | getErrorIcon |
280,476 | Icon () { return UIUtil.getInformationIcon(); } | getInformationIcon |
280,477 | Icon () { return UIUtil.getWarningIcon(); } | getWarningIcon |
280,478 | Icon () { return UIUtil.getQuestionIcon(); } | getQuestionIcon |
280,479 | int (@Nullable Project project, @DialogMessage String message, @DialogTitle String title, String @NotNull @NlsContexts.Button [] options, int defaultOptionIndex, @Nullable Icon icon) { return showDialog(project, message, title, options, defaultOptionIndex, icon, null); } | showDialog |
280,480 | Runnable (@Nullable Project project) { Window projectWindow = project == null ? null : WindowManager.getInstance().suggestParentWindow(project); return () -> SwingUtilities.invokeLater(() -> { makeCurrentMessageDialogGoAway(projectWindow == null ? Window.getWindows() : projectWindow.getOwnedWindows()); }); } | createMessageDialogRemover |
280,481 | void (Window @NotNull [] checkWindows) { for (Window w : checkWindows) { JDialog dialog = w instanceof JDialog ? (JDialog)w : null; if (dialog == null || !dialog.isModal()) { continue; } JButton cancelButton = UIUtil.uiTraverser(dialog.getRootPane()) .filter(JButton.class) .filter(b -> CommonBundle.getCancelButtonText().equals(b.getText())) .first(); if (cancelButton != null) { cancelButton.doClick(); } } } | makeCurrentMessageDialogGoAway |
280,482 | int (@Nullable Project project, @DialogMessage String message, @NotNull @DialogTitle String title, String @NotNull @NlsContexts.Button [] options, int defaultOptionIndex, @Nullable Icon icon, @Nullable DialogWrapper.DoNotAskOption doNotAskOption) { return MessagesService.getInstance() .showMessageDialog(project, null, message, title, options, defaultOptionIndex, -1, icon, doNotAskOption, false, null); } | showDialog |
280,483 | int (@Nullable Project project, @DialogMessage String message, @DialogTitle String title, String @NotNull @NlsContexts.Button [] options, int defaultOptionIndex, @Nullable Icon icon, @Nullable DialogWrapper.DoNotAskOption doNotAskOption) { return MessagesService.getInstance() .showMessageDialog(project, null, message, title, options, defaultOptionIndex, -1, icon, doNotAskOption, true, null); } | showIdeaMessageDialog |
280,484 | boolean () { return false; } | canShowMacSheetPanel |
280,485 | boolean () { return false; } | isMacSheetEmulation |
280,486 | int (Project project, @DialogMessage String message, @NotNull @DialogTitle String title, @Nullable String moreInfo, String @NotNull @NlsContexts.Button [] options, int defaultOptionIndex, int focusedOptionIndex, Icon icon) { return MessagesService.getInstance() .showMoreInfoMessageDialog(project, message, title, moreInfo, options, defaultOptionIndex, focusedOptionIndex, icon); } | showDialog |
280,487 | int (@NotNull Component parent, @DialogMessage String message, @NotNull @DialogTitle String title, String @NotNull @NlsContexts.Button [] options, int defaultOptionIndex, @Nullable Icon icon) { return MessagesService.getInstance().showMessageDialog(null, parent, message, title, options, defaultOptionIndex, -1, icon, null, false, null); } | showDialog |
280,488 | int (@DialogMessage String message, @NotNull @DialogTitle String title, String @NotNull @NlsContexts.Button [] options, int defaultOptionIndex, int focusedOptionIndex, @Nullable Icon icon, @Nullable DialogWrapper.DoNotAskOption doNotAskOption) { return MessagesService.getInstance() .showMessageDialog(null, null, message, title, options, defaultOptionIndex, focusedOptionIndex, icon, doNotAskOption, false, null); } | showDialog |
280,489 | int (@DialogMessage String message, @DialogTitle String title, String @NotNull @NlsContexts.Button [] options, int defaultOptionIndex, @Nullable Icon icon, @Nullable DialogWrapper.DoNotAskOption doNotAskOption) { return showDialog(message, title, options, defaultOptionIndex, -1, icon, doNotAskOption); } | showDialog |
280,490 | int (@DialogMessage String message, @DialogTitle String title, String @NotNull @NlsContexts.Button [] options, int defaultOptionIndex, @Nullable Icon icon) { return showDialog(message, title, options, defaultOptionIndex, icon, null); } | showDialog |
280,491 | void (@Nullable Project project, @DialogMessage String message, @NotNull @DialogTitle String title, @Nullable Icon icon) { showDialog(project, message, title, new String[]{getOkButton()}, 0, icon); } | showMessageDialog |
280,492 | void (@NotNull Component parent, @DialogMessage String message, @NotNull @DialogTitle String title, @Nullable Icon icon) { showDialog(parent, message, title, new String[]{getOkButton()}, 0, icon); } | showMessageDialog |
280,493 | void (@DialogMessage String message, @NotNull @DialogTitle String title, @Nullable Icon icon) { showDialog(message, title, new String[]{getOkButton()}, 0, icon); } | showMessageDialog |
280,494 | int (@NotNull JComponent parent, @NotNull @DialogMessage String message, @NotNull @DialogTitle String title, @NotNull @NlsContexts.Button String yesText, @NotNull @NlsContexts.Button String noText) { return MessageDialogBuilder.yesNo(title, message) .yesText(yesText) .noText(noText) .ask(parent) ? YES : NO; } | showConfirmationDialog |
280,495 | int (@Nullable Project project, @NotNull @DialogMessage String message, @NotNull @DialogTitle String title, @NotNull @NlsContexts.Button String yesText, @NotNull @NlsContexts.Button String noText, @Nullable Icon icon) { return MessageDialogBuilder.yesNo(title, message) .yesText(yesText) .noText(noText) .icon(icon) .ask(project) ? YES : NO; } | showYesNoDialog |
280,496 | int (@Nullable Project project, @DialogMessage String message, @NotNull @DialogTitle String title, @NotNull @NlsContexts.Button String yesText, @NotNull @NlsContexts.Button String noText, @Nullable Icon icon, @Nullable DialogWrapper.DoNotAskOption doNotAskOption) { return MessageDialogBuilder.yesNo(title, message) .icon(icon) .doNotAsk(doNotAskOption) .yesText(yesText) .noText(noText) .ask(project) ? YES : NO; } | showYesNoDialog |
280,497 | int (@Nullable Project project, @DialogMessage String message, @NotNull @DialogTitle String title, @Nullable Icon icon) { return MessageDialogBuilder.yesNo(title, message).icon(icon).ask(project) ? YES : NO; } | showYesNoDialog |
280,498 | int (@Nullable Project project, @DialogMessage String message, @NotNull @DialogTitle String title, @Nullable Icon icon, @Nullable DialogWrapper.DoNotAskOption doNotAskOption) { return MessageDialogBuilder.yesNo(title, message) .icon(icon) .doNotAsk(doNotAskOption) .ask(project) ? YES : NO; } | showYesNoDialog |
280,499 | int (@NotNull Component parent, @DialogMessage String message, @NotNull @DialogTitle String title, @Nullable Icon icon) { return MessageDialogBuilder.yesNo(title, message).icon(icon).ask(parent) ? YES : NO; } | showYesNoDialog |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.