ConForM.CoopnTools.Code
Class GenericCodeEnv

java.lang.Object
  |
  +--ConForM.CoopnTools.CoKer.CoopnEnv
        |
        +--ConForM.CoopnTools.Code.GenericCodeEnv
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
CodeEnv, FormatterEnv

public class GenericCodeEnv
extends CoopnEnv

Generic Code environment.


Field Summary
 boolean compressionMode
          Compression mode.
 java.lang.String[] kwFiles
          Additional keywords files.
 int moduleType
          Module type.
 boolean numberingMode
          Numbering mode.
 boolean prettyMode
          Pretty mode.
 boolean symbolMode
          Highlight symbol mode.
 java.lang.String title
          Title of the display window.
 
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
GenericCodeEnv(CoopnUser name)
          Simple constructor.
GenericCodeEnv(java.lang.String name)
          Simple constructor.
 
Method Summary
 java.lang.Object clone()
          Returns a clone environment.
 void copyFrom(GenericCodeEnv 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

moduleType

public int moduleType
Module type. Defines the module type, one of those defined by the project manager.
See Also:
PackageMgr

prettyMode

public boolean prettyMode
Pretty mode. Text may be reformatted in this mode.

compressionMode

public boolean compressionMode
Compression mode. Empty lines are compressed in this mode.

numberingMode

public boolean numberingMode
Numbering mode. Lines are numbered in this mode.

symbolMode

public boolean symbolMode
Highlight symbol mode. Symbols are rendered as keywords in this mode.

kwFiles

public java.lang.String[] kwFiles
Additional keywords files.

title

public java.lang.String title
Title of the display window. A null values means the default title.
Constructor Detail

GenericCodeEnv

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

GenericCodeEnv

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

toString

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

copyFrom

public void copyFrom(GenericCodeEnv 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