ccs.cpc
Class Plugin

java.lang.Object
  extended by ccs.cpc.Viewer
      extended by ccs.cpc.Plugin
All Implemented Interfaces:
java.lang.Comparable<Viewer>

public final class Plugin
extends Viewer

Plugin static state.


Nested Class Summary
 
Nested classes/interfaces inherited from class ccs.cpc.Viewer
Viewer.FileCap
 
Field Summary
 
Fields inherited from class ccs.cpc.Viewer
editness, fileness
 
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 ccs.cpc.Viewer
compareTo, createFrom, getEditness, getFileness, getName, marshalTo, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Plugin

public Plugin(java.lang.String name,
              boolean isEdit,
              Viewer.FileCap fileness,
              java.lang.Class runtimec)
Method Detail

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