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
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
AbleEnvironment
public AbleEnvironment()
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: Produced by Joe, Don, and Jeff who say, 'Thanks for your support.'