console.commando
Class CommandoCommand
java.lang.Object
org.gjt.sp.jedit.EditAction
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 classes/interfaces inherited from class org.gjt.sp.jedit.EditAction |
org.gjt.sp.jedit.EditAction.Wrapper |
Fields inherited from class org.gjt.sp.jedit.EditAction |
args |
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 |
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