ccs.cpc
Class Plugin
java.lang.Object
ccs.cpc.Viewer
ccs.cpc.Plugin
- All Implemented Interfaces:
- java.lang.Comparable<Viewer>
public final class Plugin
- extends Viewer
Plugin static state.
Constructor Summary |
Plugin(java.lang.String name,
boolean isEdit,
Viewer.FileCap fileness,
java.lang.Class runtimec)
|
Method Summary |
java.lang.String |
getID()
Return a unique ID for this viewer, unique at least within the current
profile. |
ViewerRuntime |
getRuntime(PluginCallback callback,
VFile target)
create a suitable runtime instance of this viewer, viewing a given target. |
protected void |
submarshal(java.io.DataOutputStream dos)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Plugin
public Plugin(java.lang.String name,
boolean isEdit,
Viewer.FileCap fileness,
java.lang.Class runtimec)
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
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