Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jext.scripting.dawn.functions
Class CreateActionFunction  view CreateActionFunction download CreateActionFunction.java

java.lang.Object
  extended byorg.jext.dawn.Function
      extended byorg.jext.scripting.dawn.functions.CreateActionFunction

public class CreateActionFunction
extends org.jext.dawn.Function

Creates a new action in Jext.
Usage:
code actionLabel actionName createAction
code is the Dawn code which will be executed on click, actionLabel is the name which will appear in Jext menu bar, and actionName is Jext internal action name.


Nested Class Summary
(package private)  class CreateActionFunction.DawnAction
           
 
Field Summary
 
Fields inherited from class org.jext.dawn.Function
 
Constructor Summary
CreateActionFunction()
           
 
Method Summary
 void invoke(org.jext.dawn.DawnParser parser)
          Executes the function.
 
Methods inherited from class org.jext.dawn.Function
getHelp, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateActionFunction

public CreateActionFunction()
Method Detail

invoke

public void invoke(org.jext.dawn.DawnParser parser)
            throws org.jext.dawn.DawnRuntimeException
Description copied from class: org.jext.dawn.Function
Executes the function. Usually, the function should make use of the DawnParser given as parameter.