Extension SDK

oracle.ide.layout
Interface BaseLayoutListener

All Known Subinterfaces:
LayoutListener
All Known Implementing Classes:
AbstractLayoutListener, CodeEditor

public interface BaseLayoutListener

Base interface for layout listeners. In general, a standalone View needs to be a LayoutListener if it wants to save state information. An embedded view (such as a Editor need only implement the BaseLayoutListener interface.


Method Summary
 void close(Layout layout)
          Close the views associated with the specified layout.
 void init(Layout layout)
          Initialize the View state from the information in the stored in the specified layout.
 void save(Layout layout)
          Save layout information in the specified layout.
 

Method Detail

save

public void save(Layout layout)
Save layout information in the specified layout. This method is called by the layout management system when the active layout is about to be deactivated.


init

public void init(Layout layout)
Initialize the View state from the information in the stored in the specified layout. This method is called by the layout management system when a layout is about to be activated.


close

public void close(Layout layout)
Close the views associated with the specified layout. This method is called by the layout management system when a layout is being deactivated.


Extension SDK

 

Copyright ©1997, 2003, Oracle. All rights reserved.