home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2008 February / MAC_easy_02_08.iso / Software / Tools / Tastaturkürzel-Programme / Spark.dmg / Spark.app / Contents / Resources / SparkSuite.sdef < prev    next >
Encoding:
Extensible Markup Language  |  2008-03-02  |  14.1 KB  |  300 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
  3. <!-- Generated by SdefEditor 1.0 -->
  4. <dictionary title="Spark Terminology">
  5.     <suite name="Standard Suite" code="core" description="Base Suite">
  6.         <value-type name="image" code="imaA" description="an image">
  7.             <cocoa class="NSImage"/>
  8.         </value-type>
  9.         <value-type name="bundle" code="bunN">
  10.             <cocoa class="NSBundle"/>
  11.         </value-type>
  12.         <enumeration name="save options" code="savo">
  13.             <enumerator name="yes" code="yes " description="Save the file."/>
  14.             <enumerator name="no" code="no  " description="Do not save the file."/>
  15.             <enumerator name="ask" code="ask " description="Ask the user whether or not to save the file."/>
  16.         </enumeration>
  17.         <class name="item" code="cobj" description="A scriptable object.">
  18.             <cocoa class="AbstractObject"/>
  19.             <property name="class" code="pcls" description="The class of the object." type="type" access="r">
  20.                 <cocoa key="classCode"/>
  21.             </property>
  22.             <property name="properties" code="pALL" description="All of the object's properties." type="record">
  23.                 <cocoa key="scriptingProperties"/>
  24.             </property>
  25.             <!--
  26.                         The blank method declarations are needed to emulate the existing
  27.                         NSCoreSuite.scriptSuite.framework.  Ordinarily, you wouldn't do this.
  28.                     -->
  29.             <responds-to name="count">
  30.                 <cocoa method=""/>
  31.             </responds-to>
  32.             <responds-to name="delete">
  33.                 <cocoa method=""/>
  34.             </responds-to>
  35.             <responds-to name="duplicate">
  36.                 <cocoa method=""/>
  37.             </responds-to>
  38.             <responds-to name="exists">
  39.                 <cocoa method=""/>
  40.             </responds-to>
  41.             <responds-to name="get">
  42.                 <cocoa method=""/>
  43.             </responds-to>
  44.             <responds-to name="move">
  45.                 <cocoa method=""/>
  46.             </responds-to>
  47.             <responds-to name="set">
  48.                 <cocoa method=""/>
  49.             </responds-to>
  50.         </class>
  51.         <class name="color" code="colr" description="A color." inherits="item">
  52.             <cocoa class="NSColor"/>
  53.         </class>
  54.         <class name="window" code="cwin" description="A window." inherits="item">
  55.             <cocoa class="NSWindow"/>
  56.             <property name="name" code="pnam" description="The full title of the window." type="text">
  57.                 <cocoa key="title"/>
  58.             </property>
  59.             <property name="id" code="ID  " description="The unique identifier of the window." type="number" access="r">
  60.                 <cocoa key="uniqueID"/>
  61.             </property>
  62.             <property name="bounds" code="pbnd" description="The bounding rectangle of the window." type="rectangle">
  63.                 <cocoa key="boundsAsQDRect"/>
  64.             </property>
  65.             <property name="closeable" code="hclb" description="Whether the window has a close box." type="boolean" access="r">
  66.                 <cocoa key="hasCloseBox"/>
  67.             </property>
  68.             <property name="titled" code="ptit" description="Whether the window has a title bar." type="boolean" access="r">
  69.                 <cocoa key="hasTitleBar"/>
  70.             </property>
  71.             <!-- the type is supposed to be "integer" -->
  72.             <property name="index" code="pidx" description="The index of the window in the back-to-front window ordering." type="number">
  73.                 <cocoa key="orderedIndex"/>
  74.             </property>
  75.             <property name="floating" code="isfl" description="Whether the window floats." type="boolean" access="r">
  76.                 <cocoa key="isFloatingPanel"/>
  77.             </property>
  78.             <property name="miniaturizable" code="ismn" description="Whether the window can be miniaturized." type="boolean" access="r">
  79.                 <cocoa key="isMiniaturizable"/>
  80.             </property>
  81.             <property name="miniaturized" code="pmnd" description="Whether the window is currently miniaturized." type="boolean">
  82.                 <cocoa key="isMiniaturized"/>
  83.             </property>
  84.             <property name="modal" code="pmod" description="Whether the window is the application's current modal window." type="boolean" access="r">
  85.                 <cocoa key="isModalPanel"/>
  86.             </property>
  87.             <property name="resizable" code="prsz" description="Whether the window can be resized." type="boolean" access="r">
  88.                 <cocoa key="isResizable"/>
  89.             </property>
  90.             <property name="visible" code="pvis" description="Whether the window is currently visible." type="boolean">
  91.                 <cocoa key="isVisible"/>
  92.             </property>
  93.             <property name="zoomable" code="iszm" description="Whether the window can be zoomed." type="boolean" access="r">
  94.                 <cocoa key="isZoomable"/>
  95.             </property>
  96.             <property name="zoomed" code="pzum" description="Whether the window is currently zoomed." type="boolean">
  97.                 <cocoa key="isZoomed"/>
  98.             </property>
  99.             <responds-to name="close">
  100.                 <cocoa method="handleCloseScriptCommand:"/>
  101.             </responds-to>
  102.             <responds-to name="print">
  103.                 <cocoa method="handlePrintScriptCommand:"/>
  104.             </responds-to>
  105.             <responds-to name="save">
  106.                 <cocoa method="handleSaveScriptCommand:"/>
  107.             </responds-to>
  108.         </class>
  109.         <!-- The old Core Suite: the object model commands, plus a few more. -->
  110.         <command name="close" code="coreclos" description="Close an object.">
  111.             <cocoa class="NSCloseCommand"/>
  112.             <direct-parameter description="the object to close" type="specifier"/>
  113.             <parameter name="saving" code="savo" description="Specifies whether changes should be saved before closing." type="save options" optional="yes">
  114.                 <cocoa key="SaveOptions"/>
  115.             </parameter>
  116.             <parameter name="saving in" code="kfil" description="The file in which to save the object." type="file" optional="yes">
  117.                 <cocoa key="File"/>
  118.             </parameter>
  119.         </command>
  120.         <command name="count" code="corecnte" description="Return the number of elements of a particular class within an object.">
  121.             <cocoa class="NSCountCommand"/>
  122.             <direct-parameter description="the object whose elements are to be counted" type="specifier"/>
  123.             <parameter name="each" code="kocl" description="The class of objects to be counted." type="type" optional="yes">
  124.                 <cocoa key="ObjectClass"/>
  125.             </parameter>
  126.             <result description="the number of elements" type="integer"/>
  127.         </command>
  128.         <command name="delete" code="coredelo" description="Delete an object.">
  129.             <cocoa class="NSDeleteCommand"/>
  130.             <direct-parameter description="the object to delete" type="specifier"/>
  131.         </command>
  132.         <command name="duplicate" code="coreclon" description="Copy object(s) and put the copies at a new location.">
  133.             <cocoa name="Copy" class="NSCloneCommand"/>
  134.             <direct-parameter description="the object(s) to duplicate" type="specifier"/>
  135.             <!-- "duplicate" is supposed to return the new objects.
  136.                 <result type="object" description="to the duplicated object(s)"/>
  137.                 -->
  138.             <!-- "to" is supposed to be optional. -->
  139.             <parameter name="to" code="insh" description="The location for the new object(s)." type="location specifier">
  140.                 <cocoa key="ToLocation"/>
  141.             </parameter>
  142.             <parameter name="with properties" code="prdt" description="Properties to be set in the new duplicated object(s)." type="record" optional="yes">
  143.                 <cocoa key="WithProperties"/>
  144.             </parameter>
  145.         </command>
  146.         <command name="exists" code="coredoex" description="Verify if an object exists.">
  147.             <cocoa class="NSExistsCommand"/>
  148.             <direct-parameter description="the object in question" type="specifier"/>
  149.             <result description="true if it exists, false if not" type="boolean"/>
  150.         </command>
  151.         <!-- "get" is supposed to be hidden. -->
  152.         <command name="get" code="coregetd" description="Get the data for an object.">
  153.             <cocoa class="NSGetCommand"/>
  154.             <direct-parameter type="specifier"/>
  155.             <result type="any"/>
  156.         </command>
  157.         <command name="make" code="corecrel" description="Make a new object.">
  158.             <cocoa name="Create" class="NSCreateCommand"/>
  159.             <parameter name="new" code="kocl" description="The class of the new object." type="type">
  160.                 <cocoa key="ObjectClass"/>
  161.             </parameter>
  162.             <parameter name="at" code="insh" description="The location at which to insert the object." type="location specifier" optional="yes">
  163.                 <cocoa key="Location"/>
  164.             </parameter>
  165.             <parameter name="with data" code="data" description="The initial data for the object." type="any" optional="yes">
  166.                 <cocoa key="ObjectData"/>
  167.             </parameter>
  168.             <parameter name="with properties" code="prdt" description="The initial values for properties of the object." type="record" optional="yes">
  169.                 <cocoa key="KeyDictionary"/>
  170.             </parameter>
  171.             <result description="to the new object" type="specifier"/>
  172.         </command>
  173.         <command name="move" code="coremove" description="Move object(s) to a new location.">
  174.             <cocoa class="NSMoveCommand"/>
  175.             <direct-parameter description="the object(s) to move" type="specifier"/>
  176.             <!-- "move" is supposed to return the relocated objects.
  177.                 <result type="object" description="to the object(s) after they have been moved"/>
  178.                 -->
  179.             <parameter name="to" code="insh" description="The new location for the object(s)." type="location specifier">
  180.                 <cocoa key="ToLocation"/>
  181.             </parameter>
  182.         </command>
  183.         <!-- The old Standard Suite: run, reopen, open, print, and quit. -->
  184.         <command name="open" code="aevtodoc" description="Open an object.">
  185.             <direct-parameter description="The file(s) to be opened." type="file"/>
  186.         </command>
  187.         <command name="quit" code="aevtquit" description="Quit an application.">
  188.             <cocoa class="NSQuitCommand"/>
  189.             <parameter name="saving" code="savo" description="Specifies whether changes should be saved before quitting." type="save options" optional="yes">
  190.                 <cocoa key="SaveOptions"/>
  191.             </parameter>
  192.         </command>
  193.         <command name="save" code="coresave" description="Save an object.">
  194.             <direct-parameter description="the object to save, usually a document or window" type="specifier"/>
  195.             <parameter name="in" code="kfil" description="The file in which to save the object." type="file" optional="yes">
  196.                 <cocoa key="File"/>
  197.             </parameter>
  198.             <parameter name="as" code="fltp" description="The file type in which to save the data." type="text" optional="yes">
  199.                 <cocoa key="FileType"/>
  200.             </parameter>
  201.         </command>
  202.         <!-- "set" is supposed to be hidden. -->
  203.         <command name="set" code="coresetd" description="Set an object's data.">
  204.             <cocoa class="NSSetCommand"/>
  205.             <direct-parameter type="specifier"/>
  206.             <!-- "set" is supposed to return the fully evaluated "to" data.
  207.                 <result type="any"/>
  208.                 -->
  209.             <parameter name="to" code="data" description="The new value." type="any">
  210.                 <cocoa key="Value"/>
  211.             </parameter>
  212.         </command>
  213.     </suite>
  214.     <suite name="Spark Suite" code="SpSu">
  215.         <class name="plugin" code="cPlg" description="Spark Action Plugin" plural="plugins" inherits="item">
  216.             <cocoa class="SparkPlugIn"/>
  217.             <property name="icon" code="pIco" description="Plugin icon" type="image"/>
  218.             <property name="path" code="pPth" description="Plugin Path" type="text"/>
  219.             <property name="bundle" code="pBun" description="Plugin Bundle" type="bundle"/>
  220.         </class>
  221.         <class name="library" code="cLib" description="Spark Object library" plural="libraries" inherits="item">
  222.             <cocoa class="SparkLibrary"/>
  223.             <element type="action">
  224.                 <accessor style="id"/>
  225.             </element>
  226.             <element type="trigger">
  227.                 <accessor style="id"/>
  228.             </element>
  229.             <property name="location" code="pLoc" description="Library persistent location" type="file">
  230.                 <cocoa key="location"/>
  231.             </property>
  232.         </class>
  233.         <class name="action" code="cAct" description="Spark Action" plural="actions" inherits="spark object">
  234.             <cocoa class="SparkAction"/>
  235.             <property name="version" code="vers" description="Action version" type="integer"/>
  236.             <property name="categorie" code="pCat" type="text" access="r"/>
  237.             <property name="description" code="pDes" type="text">
  238.                 <cocoa key="actionDescription"/>
  239.             </property>
  240.         </class>
  241.         <class name="trigger" code="cTrg" description="Spark Trigger" plural="triggers">
  242.             <cocoa class="SparkTrigger"/>
  243.         </class>
  244.         <class hidden="yes" name="spark object" code="cSpO" description="Abstract Spark Object" plural="spark objects" inherits="item">
  245.             <cocoa class="SparkObject"/>
  246.             <property name="uid" code="ID  " description="Uniq identifier" type="integer">
  247.                 <cocoa key="uid"/>
  248.             </property>
  249.             <property name="icon" code="pIco" description="Object icon" type="image"/>
  250.             <property name="name" code="pnam" description="Object name" type="text"/>
  251.             <property name="library" code="pLib" description="Parent library" type="library" access="r">
  252.                 <cocoa key="library"/>
  253.             </property>
  254.         </class>
  255.     </suite>
  256.     <suite name="Spark Editor Suite" code="Sprk" description="Some Spark privates extensions. Do not use please!.">
  257.         <cocoa name="SparkSuite"/>
  258.         <enumeration hidden="yes" name="daemon status" code="dast">
  259.             <enumerator name="started" code="strt" description="Daemon started."/>
  260.             <enumerator name="stopped" code="stop" description="Daemon stopped."/>
  261.             <enumerator name="error" code="erro" description="Error prevent starting."/>
  262.         </enumeration>
  263.         <class name="application" code="capp" description="Spark application object." plural="applications" inherits="item">
  264.             <contents name="contents" description="Main Spark library" type="library">
  265.                 <cocoa key="library"/>
  266.             </contents>
  267.             <cocoa class="SparkEditor"/>
  268.             <element description="Spark plugin" type="plugin"/>
  269.             <element type="window" access="r">
  270.                 <cocoa key="orderedWindows"/>
  271.             </element>
  272.             <property name="name" code="pnam" description="The name of the application." type="text" access="r"/>
  273.             <property name="version" code="vers" description="The version of the application." type="text" access="r"/>
  274.             <property name="frontmost" code="pisf" description="Is this the frontmost (active) application?" type="boolean" access="r">
  275.                 <cocoa key="isActive"/>
  276.             </property>
  277.             <property hidden="yes" name="trapping" code="Trap" description="If Editor is currently trapping keyboards event." type="boolean" access="r">
  278.                 <cocoa key="trapping"/>
  279.             </property>
  280.             <!--hidden="hidden"-->
  281.             <property hidden="yes" name="daemon status" code="srvS" description="Status of the daemon application." type="daemon status">
  282.                 <cocoa key="serverStatus"/>
  283.             </property>
  284.             <responds-to name="open">
  285.                 <cocoa method="handleOpenScriptCommand:"/>
  286.             </responds-to>
  287.             <responds-to name="quit">
  288.                 <cocoa method="handleQuitScriptCommand:"/>
  289.             </responds-to>
  290.             <responds-to name="show help">
  291.                 <cocoa method="handleHelpScriptCommand:"/>
  292.             </responds-to>
  293.         </class>
  294.         <command name="show help" code="SprkHelp" description="Open the plugins help.">
  295.             <parameter name="page" code="page" description="Plugin name." type="text" optional="yes">
  296.                 <cocoa key="Page"/>
  297.             </parameter>
  298.         </command>
  299.     </suite>
  300. </dictionary>