Permalink
Browse files

Incremental changes to the ExampleApplication as well as updates to t…

…he plugin managers.
  • Loading branch information...
Grayson committed Feb 6, 2009
1 parent 7eaf590 commit 3d730367db4509c8b966d1e1eca56079e49bc152

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Binary file not shown.
@@ -0,0 +1,11 @@
+def actionProperty():
+ return "label-click"
+
+def actionEnable():
+ return True
+
+def actionTitle():
+ return "Python example"
+
+def actionPerform():
+ print "Hello from Python"
@@ -0,0 +1,15 @@
+def applicationProperty
+ return "label-click"
+end
+
+def applicationEnable withValue, forValue
+ return true
+end
+
+def applicationTitle withValue, forValue
+ return "Ruby example"
+end
+
+def applicationPerform withValue, forValue
+ puts "In Ruby example"
+end
@@ -399,32 +399,35 @@ SUCH DAMAGE.
</suite>
<suite name="ExampleApplication suite" code="exPM" description="Skeleton suite for implementing Applescript plugins">
<cocoa name="ExampleApplication"/>
- <command name="action property" code="exPMAprp">
+ <class name="application" code="capp" inherits="application">
+ <cocoa class="NSApplication"/>
+ </class>
+ <command name="action property" code="exPMXprp">
<result type="text"/>
</command>
- <command name="action enable" code="exPMAena">
+ <command name="action enable" code="exPMXena">
<parameter name="for" code="foR_" type="any">
<cocoa key="for"/>
</parameter>
- <parameter name="with" code="wiTh" type="any">
+ <parameter name="with" code="wITh" type="any">
<cocoa key="with"/>
</parameter>
<result type="boolean"/>
</command>
- <command name="action title" code="exPMAtit">
+ <command name="action title" code="exPMXtit">
<parameter name="for" code="foR_" type="any">
<cocoa key="for"/>
</parameter>
- <parameter name="with" code="wiTh" type="any">
+ <parameter name="with" code="wITh" type="any">
<cocoa key="with"/>
</parameter>
<result type="text"/>
</command>
- <command name="action perform" code="exPMaPer">
+ <command name="action perform" code="exPMXprf">
<parameter name="for" code="foR_" type="any">
<cocoa key="for"/>
</parameter>
- <parameter name="with" code="wiTh" type="any">
+ <parameter name="with" code="wITh" type="any">
<cocoa key="with"/>
</parameter>
<result type="any"/>
Oops, something went wrong.

0 comments on commit 3d73036

Please sign in to comment.