org.jacp.api.component
Interface IExtendedComponent<C>

Type Parameters:
C - defines the base component where others extend from
All Known Subinterfaces:
IVComponent<C,L,A,M>

public interface IExtendedComponent<C>

Represents an extended component with menu entries and tool bar access. The onStart/onTeardown methods gives you the reference to global bar and menu entries. This methods will be executed once on component startup and teardown; also when component is moving to an other perspective. Use both method to initialize and to clean up component.

Author:
Andy Moncsek

Method Summary
 void onStart(IBaseLayout<C> layout)
          This method is always executed when the component is activated.
 void onTearDown(IBaseLayout<C> layout)
          This method is always executed when the component is deactivated.
 

Method Detail

onStart

void onStart(IBaseLayout<C> layout)
This method is always executed when the component is activated. Use this entry point to add menu entries or bar entries or to create stuff only need to create once.

Parameters:
layout -

onTearDown

void onTearDown(IBaseLayout<C> layout)
This method is always executed when the component is deactivated. Use this method to clean up your component before it will be deactivated.

Parameters:
layout -