ccs.cpc.impl
Class HelperApp
java.lang.Object
ccs.cpc.Viewer
ccs.cpc.impl.HelperApp
- All Implemented Interfaces:
- java.lang.Comparable<Viewer>
public final class HelperApp
- extends Viewer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HelperApp
public HelperApp(java.lang.String name,
boolean doesEdit,
Viewer.FileCap fileness,
java.lang.String cmd,
HelperApp.FileLinkage linkage,
boolean isPreprocXSPF)
getID
public java.lang.String getID()
- Description copied from class:
Viewer
- Return a unique ID for this viewer, unique at least within the current
profile.
- Specified by:
getID
in class Viewer
submarshal
protected void submarshal(java.io.DataOutputStream dos)
throws java.io.IOException
- Specified by:
submarshal
in class Viewer
- Throws:
java.io.IOException
getCmdline
public java.lang.String getCmdline()
setCmdline
void setCmdline(java.lang.String cmdline)
setEditness
public void setEditness(boolean editness)
- Set whether the viewer edits files.
setFileness
public void setFileness(Viewer.FileCap fileness)
- Sets the viewer's capacity to be launched with or without a file (or either).
setLinkage
public void setLinkage(HelperApp.FileLinkage linkage)
setPreprocessXSPF
public void setPreprocessXSPF(boolean preproc)
getLinkage
public HelperApp.FileLinkage getLinkage()
isPreprocessXSPF
public boolean isPreprocessXSPF()
getRuntime
public ViewerRuntime getRuntime(PluginCallback callback,
VFile target)
throws java.io.IOException
- Description copied from class:
Viewer
- create a suitable runtime instance of this viewer, viewing a given target.
- Specified by:
getRuntime
in class Viewer
- Throws:
java.io.IOException
validate
public void validate(java.awt.Frame frame)
throws ccs.LoseException
- Overrides:
validate
in class Viewer
- Throws:
ccs.LoseException
createExternalFrom
public static final Viewer createExternalFrom(java.io.DataInputStream dis,
int marshalver)
throws java.io.IOException
- Throws:
java.io.IOException