org.esa.beam.visat
Interface VisatPlugIn

All Known Implementing Classes:
AbstractVisatPlugIn, StatusBarPosDisplayVPI, VersionCheckerVPI

public interface VisatPlugIn

The VISAT plug-in interface. VISAT searches for implementing classes on startup and instantiates each plug-in using its default no-argument constructor.

After loading all plug-ins, their start(VisatApp) method is called once in the lifetime of a plug-in.

Clients shall use the AbstractVisatPlugIn as the base class for their implementations of this interface.


Method Summary
 void start(VisatApp visatApp)
          Called by VISAT after the plug-in instance has been registered in VISAT's plug-in manager.
 void stop(VisatApp visatApp)
          Called by VISAT before the application shuts down.
 void updateComponentTreeUI()
          Tells a plug-in to update its component tree (if any) since the Java look-and-feel has changed.
 

Method Detail

start

void start(VisatApp visatApp)
Called by VISAT after the plug-in instance has been registered in VISAT's plug-in manager.

Parameters:
visatApp - a reference to the VISAT application instance.

stop

void stop(VisatApp visatApp)
Called by VISAT before the application shuts down.

Parameters:
visatApp - a reference to the VISAT application instance.

updateComponentTreeUI

void updateComponentTreeUI()
Tells a plug-in to update its component tree (if any) since the Java look-and-feel has changed.

If a plug-in uses top-level containers such as dialogs or frames, implementors of this method should invoke SwingUtilities.updateComponentTreeUI() on such containers.



Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.