index ff075c1868da82da7d4992a4297423780f6667c5..0e8a23baf75af137e8caf0c9dd7ea332b203f694 100644 (file)
-/**
- * Dialog for executing and monitoring script execution
- *
- * Author:
+/** @file
+ * @brief Dialog for executing and monitoring script execution
+ */
+/* Author:
* Bob Jamison
*
* Copyright (C) 2004-2008 Authors
* Bob Jamison
*
* Copyright (C) 2004-2008 Authors
" * This is some example Javascript.\n"
" * Try 'Execute Javascript'\n"
" */\n"
" * This is some example Javascript.\n"
" * Try 'Execute Javascript'\n"
" */\n"
+ "importPackage(javax.swing);\n"
"function sayHello() {\n"
"function sayHello() {\n"
- " println('Hello, world!');\n"
+ " JOptionPane.showMessageDialog(null, 'Hello, world!',\n"
+ " 'Welcome to Inkscape', JOptionPane.WARNING_MESSAGE);\n"
"}\n"
"\n"
"sayHello();\n"
"}\n"
"\n"
"sayHello();\n"
} //namespace UI
} //namespace Inkscape
} //namespace UI
} //namespace Inkscape
-//#########################################################################
-//## E N D O F F I L E
-//#########################################################################
-
-
-
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :