- Common ways to obtain OptionalMessageDialog
private void myMethod () {OptionalMessageDialog o =
Composite composite;Layout layout;composite.setLayout(layout)
Link link;String string;link.setText(string)
Link link;Object object;link.setLayoutData(object)
- Smart code suggestions by Codota
}
/** * Sets whether the optional dialog is enabled and should be shown. */ public static void setDialogEnabled(String key, boolean isEnabled) { IDialogSettings settings= getDialogSettings(); settings.put(key, !isEnabled); }
/** * Answers whether the optional dialog is enabled and should be shown. */ public static boolean isDialogEnabled(String key) { IDialogSettings settings= getDialogSettings(); return !settings.getBoolean(key); }
/** * Answers whether the optional dialog is enabled and should be shown. */ public static boolean isDialogEnabled(String key) { IDialogSettings settings= getDialogSettings(); return !settings.getBoolean(key); }
/** * Sets whether the optional dialog is enabled and should be shown. */ public static void setDialogEnabled(String key, boolean isEnabled) { IDialogSettings settings= getDialogSettings(); settings.put(key, !isEnabled); }
/** * Answers whether the optional dialog is enabled and should be shown. */ public static boolean isDialogEnabled(String key) { IDialogSettings settings= getDialogSettings(); return !settings.getBoolean(key); }
/** * Sets whether the optional dialog is enabled and should be shown. */ public static void setDialogEnabled(String key, boolean isEnabled) { IDialogSettings settings= getDialogSettings(); settings.put(key, !isEnabled); }