console.commando
Class CommandoCommand

java.lang.Object
  extended by org.gjt.sp.jedit.EditAction
      extended by console.commando.CommandoCommand

public class CommandoCommand
extends org.gjt.sp.jedit.EditAction

An EditAction which is intended to be used in the Console Commando. Associated with an .xml file which may be inside a jar, or may be in the user dir.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.gjt.sp.jedit.EditAction
org.gjt.sp.jedit.EditAction.Wrapper
 
Field Summary
 
Fields inherited from class org.gjt.sp.jedit.EditAction
args
 
Method Summary
static CommandoCommand create(java.lang.String path)
           
static CommandoCommand create(java.net.URL url)
           
 java.lang.String getCode()
           
 java.lang.String getPropertyPrefix()
           
 java.lang.String getShortLabel()
           
 void invoke(org.gjt.sp.jedit.View view)
           
 boolean isUser()
           
protected  java.io.Reader openStream()
           
 
Methods inherited from class org.gjt.sp.jedit.EditAction
getLabel, getMouseOverText, getName, getView, invoke, isSelected, isToggle, noRecord, noRememberLast, noRepeat, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isUser

public boolean isUser()
Returns:
true if userdefined

create

public static CommandoCommand create(java.net.URL url)

create

public static CommandoCommand create(java.lang.String path)

getShortLabel

public java.lang.String getShortLabel()
Returns:
the short label - for button text

getPropertyPrefix

public java.lang.String getPropertyPrefix()

invoke

public void invoke(org.gjt.sp.jedit.View view)
Specified by:
invoke in class org.gjt.sp.jedit.EditAction

getCode

public java.lang.String getCode()
Overrides:
getCode in class org.gjt.sp.jedit.EditAction

openStream

protected java.io.Reader openStream()
                             throws java.io.IOException
Throws:
java.io.IOException