com.tensegrity.gui.swt.dialog
Interface PreviewDialog

All Known Implementing Classes:
AbstractPreviewDialog

public interface PreviewDialog

An abstract description of a general preview dialog. A preview dialog contains a preview component which must be updated according to changes in other components.

Version:
$Id: PreviewDialog.java,v 1.4 2005/03/23 09:46:36 ArndHouben Exp $
Author:
Arnd Houben

Method Summary
 java.lang.Object getPreviewedItem()
          Return the item which is previewed
 void registerPreview(Preview preview)
          Register a preview which should be updated
 

Method Detail

registerPreview

public void registerPreview(Preview preview)
Register a preview which should be updated

Parameters:
preview - the preview to monitor

getPreviewedItem

public java.lang.Object getPreviewedItem()
Return the item which is previewed

Returns:
the item which is shown in the preview


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