blob: f5290a7b02e45c217e3d816c024ab31c2ceca174 [file] [log] [blame]
#
# Thread: UI
# Menu: Examples >Hello > Jose
# Kudos: Ward Cunningham & Bjorn Freeman-Benson
# Description: {You can use this script to display a message into a dialog box. This script only use Java classes.}
# License: EPL 1.0
#
import org.eclipse.jface.dialogs
text = "Hello Jose\n\n";
text += "The quick brown fox jumped over the lazy dog's back.";
text += "Now is the time for all good men to come to the aid of their country."
print text
org.eclipse.jface.dialogs.MessageDialog.openInformation(
org.eclipse.swt.widgets.Display.getDefault().getActiveShell(),
"Monkey Dialog",
text
)