diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-10-13 13:04:47 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-10-13 13:04:47 +0000 |
commit | d77ef8c0d4526c44823216c219f0734639cad701 (patch) | |
tree | 48ad35f1035b41dcfd3e2c1bb5b067f77df8f4a0 /Resources | |
parent | a2a954c933d261e0cb9a0b4eca0d0d1f42902e81 (diff) | |
download | sequelpro-d77ef8c0d4526c44823216c219f0734639cad701.tar.gz sequelpro-d77ef8c0d4526c44823216c219f0734639cad701.tar.bz2 sequelpro-d77ef8c0d4526c44823216c219f0734639cad701.zip |
• cleaned the current Applescript support definitions slightly
- removed unnecessary method 'handleQuitScriptCommand' from SPAppController
- set main class to SPAppController
Diffstat (limited to 'Resources')
-rw-r--r-- | Resources/sequel-pro.scriptSuite | 5 | ||||
-rw-r--r-- | Resources/sequel-pro.scriptTerminology | 36 |
2 files changed, 20 insertions, 21 deletions
diff --git a/Resources/sequel-pro.scriptSuite b/Resources/sequel-pro.scriptSuite index e5dcb29f..3d98e84d 100644 --- a/Resources/sequel-pro.scriptSuite +++ b/Resources/sequel-pro.scriptSuite @@ -3,12 +3,11 @@ "AppleEventCode" = "cmec"; "Classes" = { - "NSApplication" = { - "Superclass" = "NSCoreSuite.NSApplication"; + "SPAppController" = { + "Superclass" = "NSCoreSuite.AbstractObject"; "AppleEventCode" = "capp"; "SupportedCommands" = { "authenticate" = "authenticate:"; - "NSCoreSuite.Quit" = "handleQuitScriptCommand:"; }; }; }; diff --git a/Resources/sequel-pro.scriptTerminology b/Resources/sequel-pro.scriptTerminology index a59a137d..f569cbfe 100644 --- a/Resources/sequel-pro.scriptTerminology +++ b/Resources/sequel-pro.scriptTerminology @@ -2,28 +2,28 @@ "Name" = "Sequel Pro suite"; "Description" = "Sequel Pro specific classes."; "Classes" = { - "NSApplication" = { + "SPAppController" = { "Name" = "application"; "PluralName" = "applications"; "Description" = "Sequel Pro application"; }; - }; - "Commands" = { - "authenticate" = { - "Name" = "authenticate"; - "Description" = "Open the dialog asking for password or passphrase"; - "Arguments" = { - "query" = { - "Name" = "query phrase"; - "Description" = "The string to show in the dialog"; - }; - "fifo" = { - "Name" = "fifo"; - "Description" = "The FIFO file where expecting the passphrase"; - }; - "tunnelName" = { - "Name" = "tunnel"; - "Description" = "Tunnel's name"; + "Commands" = { + "authenticate" = { + "Name" = "authenticate"; + "Description" = "Open the dialog asking for password or passphrase"; + "Arguments" = { + "query" = { + "Name" = "query phrase"; + "Description" = "The string to show in the dialog"; + }; + "fifo" = { + "Name" = "fifo"; + "Description" = "The FIFO file where expecting the passphrase"; + }; + "tunnelName" = { + "Name" = "tunnel"; + "Description" = "Tunnel's name"; + }; }; }; }; |