com.tensegrity.gui.document.persistence
Interface DocumentDataProvider


public interface DocumentDataProvider

Generic interface defining a provider that is retrieved using the method Document#getDocumentDataProvider(String) and can be used to get application defined data from the document. The data usually is something that will be generated like a thumbnail image of the document. Static values should be stored in the document using the setDocumentSetting() method.

Instances of this class are usually managed by the document itself and can be retrieved by passing a string constant dedscribing the requested data to the getDocumentDataProvider() method of the Document implementation. The generated data can be used for the persistence (e.g. the thumbnail image from above for a preview in the file browser) or in the GUI for editing data.

Author:
BurkhardWick

Method Summary
 java.lang.Object getData()
          Returns the information of this provider
 

Method Detail

getData

public java.lang.Object getData()
Returns the information of this provider

Returns:
the information of this provider


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.