ABLE, Version 1.1b

com.ibm.able.editor
Class AbleEnvironment

java.lang.Object
  |
  +--com.ibm.able.editor.AbleEnvironment

public class AbleEnvironment
extends java.lang.Object
implements java.io.Serializable

This class is used to save/restore the Able Editor environment Which includes, viewObject positions and Inspector windows and their settings An Agent is saved to agentFileName.ser, The corresponding environment is serialized into agentFileName.env

See Also:
Serialized Form

Constructor Summary
AbleEnvironment()
           
 
Method Summary
 void addInspector(AbleInspector insp)
           
 AbleInspectorContext[] getInspectorContexts()
           
 java.util.Vector getInspectors()
           
 void removeInspector(AbleInspector insp)
           
static AbleEnvironment restoreFromFile(java.lang.String aFileName)
          Restore the object from the specified serialized file.
 void saveToFile(java.lang.String aFileName)
          Save the object (serialize it) to the specified file name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbleEnvironment

public AbleEnvironment()
Method Detail

addInspector

public void addInspector(AbleInspector insp)

removeInspector

public void removeInspector(AbleInspector insp)

getInspectors

public java.util.Vector getInspectors()

saveToFile

public void saveToFile(java.lang.String aFileName)
                throws java.io.IOException
Save the object (serialize it) to the specified file name.
Parameters:
FileName - A String parameter of the file name

restoreFromFile

public static AbleEnvironment restoreFromFile(java.lang.String aFileName)
                                       throws java.io.IOException,
                                              java.lang.ClassNotFoundException
Restore the object from the specified serialized file.
Parameters:
FileName - A String parameter of the file name

Returns:
The deserialized AbleBean.
Throws:
java.io.IOException - any IO exception
java.lang.ClassNotFoundException - if class file not found

getInspectorContexts

public AbleInspectorContext[] getInspectorContexts()

ABLE, Version 1.1b

ABLE: Produced by Joe, Don, and Jeff who say, 'Thanks for your support.'