uk.ac.starlink.diva
Interface FigureStore

All Known Implementing Classes:
AstFigureStore, DrawFigureStore

public interface FigureStore

Interface providing access to a facility for storing and restoring XML descriptions of DrawFigures that are displayed on a DrawGraphicsPane by a DrawActions instance.

When used in conjuction with DrawGraphicMenu this interface will have the activate() method invoked, after an update of the current instance of DrawActions is made.

Version:
$Id$
Author:
Peter W. Draper

Method Summary
 void activate()
          Activate the interface so that the user can either choose to save the currently displayed figures, or restore a previously saved set of figures.
 void setDrawActions(DrawActions drawActions)
          Set the DrawActions instance to use when storing and restoring previous Figures.
 

Method Detail

setDrawActions

void setDrawActions(DrawActions drawActions)
Set the DrawActions instance to use when storing and restoring previous Figures.


activate

void activate()
Activate the interface so that the user can either choose to save the currently displayed figures, or restore a previously saved set of figures. This may also offer the ability to either clear or append to the existing display.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.