congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
OptionalMessageDialog.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.eclipse.jdt.internal.ui.dialogs.OptionalMessageDialog
constructor

Best Java code snippets using org.eclipse.jdt.internal.ui.dialogs.OptionalMessageDialog.<init> (Showing top 3 results out of 315)

origin: org.eclipse/org.eclipse.jdt.ui

/**
 * Opens the dialog but only if the user hasn't choosen to hide it.
 * Returns <code>NOT_SHOWN</code> if the dialog was not shown.
 */
public static int open(String id, Shell parent, String title, Image titleImage, String message, int dialogType, String[] buttonLabels, int defaultButtonIndex) {
  if (!isDialogEnabled(id))
    return OptionalMessageDialog.NOT_SHOWN;
  
  MessageDialog dialog= new OptionalMessageDialog(id, parent, title, titleImage, message, dialogType, buttonLabels, defaultButtonIndex);
  return dialog.open();
}
origin: org.eclipse.jdt/org.eclipse.jdt.ui

/**
 * Opens the dialog but only if the user hasn't chosen to hide it.
 *
 * @return the index of the pressed button or {@link SWT#DEFAULT} if the dialog got dismissed
 *         without pressing a button (e.g. via Esc) or {{@link #NOT_SHOWN} if the dialog was not
 *         shown
 */
public static int open(String id, Shell parent, String title, Image titleImage, String message, int dialogType, String[] buttonLabels, int defaultButtonIndex, String checkboxText) {
  if (!isDialogEnabled(id))
    return OptionalMessageDialog.NOT_SHOWN;
  MessageDialog dialog= new OptionalMessageDialog(id, parent, title, titleImage, message, dialogType, buttonLabels, defaultButtonIndex, checkboxText);
  return dialog.open();
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

/**
 * Opens the dialog but only if the user hasn't chosen to hide it.
 *
 * @return the index of the pressed button or {@link SWT#DEFAULT} if the dialog got dismissed
 *         without pressing a button (e.g. via Esc) or {{@link #NOT_SHOWN} if the dialog was not
 *         shown
 */
public static int open(String id, Shell parent, String title, Image titleImage, String message, int dialogType, String[] buttonLabels, int defaultButtonIndex, String checkboxText) {
  if (!isDialogEnabled(id))
    return OptionalMessageDialog.NOT_SHOWN;
  MessageDialog dialog= new OptionalMessageDialog(id, parent, title, titleImage, message, dialogType, buttonLabels, defaultButtonIndex, checkboxText);
  return dialog.open();
}
org.eclipse.jdt.internal.ui.dialogsOptionalMessageDialog<init>

Popular methods of OptionalMessageDialog

  • isDialogEnabled
    Answers whether the optional dialog is enabled and should be shown.
  • applyDialogFont
  • clearAllRememberedStates
    Clears all remembered information about hidden dialogs
  • close
  • convertHorizontalDLUsToPixels
  • convertVerticalDLUsToPixels
  • createContents
  • createCustomArea
  • getDialogSettings
    Returns this dialog
  • open
    Opens the dialog but only if the user hasn't chosen to hide it.
  • setDialogEnabled
    Sets whether the optional dialog is enabled and should be shown.
  • getButtonLabels
  • setDialogEnabled,
  • getButtonLabels,
  • getReturnCode

Popular in Java

  • Finding current android device location
  • compareTo (BigDecimal)
  • startActivity (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now