us.temerity.pipeline.plugin.TerminalEditor.v2_2_1
Class TerminalEditor
java.lang.Object
us.temerity.pipeline.Named
us.temerity.pipeline.PluginID
us.temerity.pipeline.BasePlugin
us.temerity.pipeline.BaseEditor
us.temerity.pipeline.plugin.TerminalEditor.v2_2_1.TerminalEditor
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<PluginID>, Glueable
public class TerminalEditor
- extends BaseEditor
A UNIX terminal in the node's working directory with the current toolset environment.
When run on a Unix system, this Editor will attempt to use konsole(1), gnome-terminal(1) or
xterm(1) if found in the Toolset's PATH in that order.
On Mac OS X systems, the default Terminal program will be used via AppleScript.
- See Also:
- Serialized Form
| Fields inherited from class us.temerity.pipeline.Named |
pName |
| Methods inherited from class us.temerity.pipeline.BasePlugin |
addSupport, compareTo, getDescription, getFullMessage, getPluginID, getResource, getResources, getResourceSize, getSupports, isUnderDevelopment, removeSupport, setSupports, supports, toString, underDevelopment |
| Methods inherited from class us.temerity.pipeline.Named |
getName |
TerminalEditor
public TerminalEditor()
prep
public SubProcessLight prep(String author,
FileSeq fseq,
Map<String,String> env,
File dir)
throws PipelineException
- Construct a
SubProcessLight instance which when executed will launch an editor
program to view the given file sequence as arguments.
The default implementation executes the editor program obtained with getProgram method under the given environment. Subclasses should override this method
if more specialized behavior or different command line arguments are needed in order to
launch the editor for the given file sequence.
- Overrides:
prep in class BaseEditor
- Parameters:
author - The name of the user owning the files.fseq - The file sequence to edit.env - The environment under which the editor is run.dir - The working directory where the editor is run.
- Returns:
- The controlling
SubProcessLight instance.
- Throws:
PipelineException - If unable to launch the editor.- See Also:
SubProcessLight
launch
@Deprecated
public SubProcessLight launch(FileSeq fseq,
Map<String,String> env,
File dir)
throws PipelineException
- Deprecated.
- This implementation always throws a PipelineException, to insure that the
prep method is used for this Editor instead of this deprecated method.
- Overrides:
launch in class BaseEditor
- Parameters:
fseq - The file sequence to edit.env - The environment under which the editor is run.dir - The working directory where the editor is run.
- Returns:
- The controlling
SubProcessLight instance.
- Throws:
PipelineException - If unable to launch the editor.- See Also:
SubProcessLight