ConForM.CoopnTools.Viewer
Class ViewerEnv

java.lang.Object
  |
  +--ConForM.CoopnTools.CoKer.CoopnEnv
        |
        +--ConForM.CoopnTools.Viewer.ViewerEnv
All Implemented Interfaces:
java.lang.Cloneable

public class ViewerEnv
extends CoopnEnv

Viewer environment. Definition of environments dealing with the Viewer tool.


Field Summary
 java.lang.String aspectName
          Aspect name.
 boolean completeMode
          Complete mode.
 boolean spec
          View specifications.
 
Fields inherited from class ConForM.CoopnTools.CoKer.CoopnEnv
cocoRead, cocoWrite, coopnHome, coopnLibs, debug, editor, err, in, locale, names, out, packageFile, project, queryHelp, queryVersion, queryXHelp, user, useThreads, verbose, warn
 
Constructor Summary
ViewerEnv(CoopnUser user)
          Simple constructor.
ViewerEnv(java.lang.String name)
          Simple constructor.
 
Method Summary
 java.lang.Object clone()
          Returns a clone environment.
 void copyFrom(ViewerEnv env)
          Copy the fields of an environment from another one.
 java.lang.String toString()
          String converion.
 
Methods inherited from class ConForM.CoopnTools.CoKer.CoopnEnv
copyFrom, user
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

spec

public boolean spec
View specifications.

aspectName

public java.lang.String aspectName
Aspect name. Specify the name of the aspect to use for the picture.

completeMode

public boolean completeMode
Complete mode. In this mode, not only the specified modules are viewed, but also the modules used by transitive closure.
Constructor Detail

ViewerEnv

public ViewerEnv(java.lang.String name)
Simple constructor.
Parameters:
name - the name of the tool

ViewerEnv

public ViewerEnv(CoopnUser user)
Simple constructor.
Parameters:
user - the user
Method Detail

toString

public java.lang.String toString()
String converion.
Overrides:
toString in class CoopnEnv

copyFrom

public void copyFrom(ViewerEnv env)
              throws CoopnEnvException
Copy the fields of an environment from another one. The user field is not affected.

clone

public java.lang.Object clone()
Returns a clone environment.
Overrides:
clone in class CoopnEnv