TPTP 4.5.0 Testing Tools Project
Internal API Specification

org.eclipse.tptp.test.auto.gui.internal.core
Interface IWritable

All Known Subinterfaces:
IMacroCommand, IMacroInstruction
All Known Implementing Classes:
AbstractMacroCommand, AbstractMacroInstruction, AbstractStructuredCommand, BooleanSelectionCommand, CheckCommand, ChoiceSelectionCommand, CloseWorkbenchPartCommand, ExpansionCommand, FocusCommand, KeyEventCommand, Macro, MacroCommandShell, ModifyCommand, MouseEventCommand, PositionBasedCommand, StructuredSelectionCommand, ToggleStructuredCommand, VerificationCommand, WaitCommand

public interface IWritable

A writable object is capable of serializing itself to string and writing the string version to a PrintWriter that is passed to parameters to the methods that are described below.
The ideal order of the method invocations are:


Method Summary
 void write(int indent, java.lang.StringBuffer sb)
          Invoked after writeStart
 void writeFinish(int indent, java.lang.StringBuffer sb)
          Invoked in the end of the write of a writable object
 void writeStart(int indent, java.lang.StringBuffer sb)
          Invoked at start of the write of a writable object
 

Method Detail

writeStart

void writeStart(int indent,
                java.lang.StringBuffer sb)
Invoked at start of the write of a writable object

Parameters:
indent - The indents
sb - The buffer that the string serialization should be written to

write

void write(int indent,
           java.lang.StringBuffer sb)
Invoked after writeStart

Parameters:
indent - The indents
sb - The buffer that the string serialization should be written to

writeFinish

void writeFinish(int indent,
                 java.lang.StringBuffer sb)
Invoked in the end of the write of a writable object

Parameters:
indent - The indents
sb - The buffer that the string serialization should be written to

TPTP 4.5.0 Testing Tools Project
Internal API Specification