|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.graphdocument.persistence.GraphDocumentWriter
com.tensegrity.gui.swt.document.SwtGraphDocumentWriter
This is the SWT-specific implementation of
GraphDocumentWriter
which allows persisting instances of
SwtGraphDocument.
| Field Summary |
| Fields inherited from class com.tensegrity.gui.graphdocument.persistence.GraphDocumentWriter |
applicationframe, DOCUMENTSETTINGS |
| Constructor Summary | |
SwtGraphDocumentWriter(ApplicationFrame applicationframe)
Initializes a SwtGraphDocumentWriter with the given application
context.
|
|
| Method Summary | |
boolean |
writeDocument(Document doc,
java.io.OutputStream output)
Writes the data from the given document into the output stream. |
| Methods inherited from class com.tensegrity.gui.graphdocument.persistence.GraphDocumentWriter |
clearUsedItems, getImageList, prepareForWriting, saveGeometries, saveLayouts, saveRules, saveStyles, writeDocumentToStream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SwtGraphDocumentWriter(ApplicationFrame applicationframe)
Initializes a SwtGraphDocumentWriter with the given application
context.
applicationframe - application context giving access to application
specific information to this document writer.| Method Detail |
public boolean writeDocument(Document doc,
java.io.OutputStream output)
throws SerializeException,
WriteException
DocumentWriter
doc - The document to writeoutput - The output stream to write to
SerializeException - this is thrown if serializing the
document failed
WriteException - this is thrown if writing to the output
stream failed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||