Menu

[r42]: / GraphScript / trunk / ls / script / ScriptUtils.java  Maximize  Restore  History

Download this file

25 lines (19 with data), 414 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package ls.script;
import ls.util.Utils;
public class ScriptUtils implements Scriptable
{
public String getBindingName()
{
return "Utils";
}
public void popup(String msg)
{
if (msg == null) msg = "null";
Utils.msg(msg); //assumed a swing msg handler is setup in the message manager
}
public void msg(String msg)
{
if (msg == null) msg = "null";
Utils.msg(msg);
}
}
MongoDB Logo MongoDB