-
Notifications
You must be signed in to change notification settings - Fork 8
/
Webmailer.sdef
101 lines (101 loc) · 4.2 KB
/
Webmailer.sdef
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
<dictionary title="Webmailer Terminology">
<suite name="Standard Suite" code="????" description="Common classes and commands for most applications.">
<cocoa name="NSCoreSuite"/>
<class name="item" code="cobj" description="A scriptable object.">
<cocoa class="AbstractObject"/>
<property name="class" code="pcls" description="The class of the object." type="type" access="r">
<cocoa key="classCode"/>
</property>
<property name="properties" code="pALL" description="All of the object's properties." type="record">
<cocoa key="scriptingProperties"/>
</property>
<!--
The blank method declarations are needed to emulate the existing
NSCoreSuite.scriptSuite.framework. Ordinarily, you wouldn't do this.
-->
<responds-to command="count">
<cocoa method=""/>
</responds-to>
<responds-to command="exists">
<cocoa method=""/>
</responds-to>
<responds-to command="get">
<cocoa method=""/>
</responds-to>
<responds-to command="set">
<cocoa method=""/>
</responds-to>
</class>
<class name="application" code="capp" description="An application's top level scripting object.">
<cocoa class="NSApplication"/>
<property name="name" code="pnam" description="The name of the application." type="text" access="r"/>
<property name="frontmost" code="pisf" description="Is this the frontmost (active) application?" type="boolean" access="r">
<cocoa key="isActive"/>
</property>
<property name="version" code="vers" description="The version of the application." type="text" access="r"/>
<responds-to command="quit">
<cocoa method="handleQuitScriptCommand:"/>
</responds-to>
</class>
<command name="quit" code="aevtquit" description="Quit an application.">
<cocoa class="NSQuitCommand"/>
</command>
<command name="count" code="corecnte" description="Return the number of elements of a particular class within an object.">
<cocoa class="NSCountCommand"/>
<direct-parameter description="the object whose elements are to be counted" type="specifier"/>
<parameter name="each" code="kocl" description="The class of objects to be counted." type="type" optional="yes">
<cocoa key="ObjectClass"/>
</parameter>
<result description="the number of elements" type="integer"/>
</command>
<command name="exists" code="coredoex" description="Verify if an object exists.">
<cocoa class="NSExistsCommand"/>
<direct-parameter description="the object in question" type="specifier"/>
<result description="true if it exists, false if not" type="boolean"/>
</command>
<!-- "get" is supposed to be hidden. -->
<command name="get" code="coregetd" description="Get the data for an object.">
<cocoa class="NSGetCommand"/>
<direct-parameter type="specifier"/>
<result type="any"/>
</command>
<!-- "set" is supposed to be hidden. -->
<command name="set" code="coresetd" description="Set an object's data.">
<cocoa class="NSSetCommand"/>
<direct-parameter type="specifier"/>
<!-- "set" is supposed to return the fully evaluated "to" data.
<result type="any"/>
-->
<parameter name="to" code="data" description="The new value." type="any">
<cocoa key="Value"/>
</parameter>
</command>
</suite>
<suite name="Webmailer Suite" code="B‚úâ">
<class-extension extends="application">
<element type="destination" access="r">
<cocoa key="configurations"/>
<accessor style="test"/>
<accessor style="name"/>
</element>
<property name="active destination" code="Actv" type="destination">
<cocoa key="activeConfiguration"/>
</property>
<responds-to command="open URL">
<cocoa method="ComBelkadanWebmailer_openURL:"/>
</responds-to>
</class-extension>
<class name="destination" code="Dest" inherits="item">
<cocoa class="ComBelkadanWebmailer_Configuration"/>
<property name="name" code="pnam" type="text"/>
<property name="URL" code="DURL" type="text">
<cocoa key="destinationURL"/>
</property>
</class>
<command name="open URL" code="GURLGURL" description="Opens a mailto URL">
<direct-parameter type="text"/>
</command>
</suite>
</dictionary>