mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
55 lines
1.0 KiB
Plaintext
55 lines
1.0 KiB
Plaintext
|
|
String src = arg("source");
|
|
|
|
WindowContext context = argObj("windowContext");
|
|
|
|
log.debug("Event received: " + src);
|
|
|
|
if (src == "SQL Help")
|
|
{
|
|
script("helpDialog$" + context.get("vendor"), args());
|
|
}
|
|
else if (src == "Heidi SQL Website")
|
|
{
|
|
BareBonesBrowserLaunch.openURL("http://www.heidisql.com");
|
|
}
|
|
else if (src == "Downloads")
|
|
{
|
|
BareBonesBrowserLaunch.openURL("http://download.heidisql.com/");
|
|
}
|
|
else if (src == "Support Forums")
|
|
{
|
|
BareBonesBrowserLaunch.openURL("http://www.heidisql.com/forum/");
|
|
}
|
|
else if (src == "Bug Tracker")
|
|
{
|
|
BareBonesBrowserLaunch.openURL("http://code.google.com/p/heidisql/issues/list?q=type:Defect");
|
|
}
|
|
else if (src == "Feature Tracker")
|
|
{
|
|
BareBonesBrowserLaunch.openURL("http://code.google.com/p/heidisql/issues/list?q=type:Enhancement");
|
|
}
|
|
else if (src == "About")
|
|
{
|
|
script("aboutDialog", args());
|
|
}
|
|
else if (src == "Check For Updates")
|
|
{
|
|
worker("autoUpdateWorker", args());
|
|
}
|
|
else
|
|
{
|
|
((Frame)context.get("/")).popupMessage("Feature Unimplemented!");
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|