class LayerActivationHandler {

    public void close()
    {
        myEventManager.unsubscribe(DataTypeVisibilityChangeEvent.class, myVisibilityListener);
        myEventManager.unsubscribe(DataGroupInfoChildRemovedEvent.class, myRemovedListener);
        myEventManager.unsubscribe(ActiveDataGroupsChangedEvent.class, myActiveListener);
        myEventManager.unsubscribe(DataTypeInfoZOrderChangeEvent.class, myZorderListener);
        myEventManager.unsubscribe(DataGroupInfoMemberAddedEvent.class, myMemberAddedListener);
        myEventManager.unsubscribe(DataGroupInfoMemberRemovedEvent.class, myMemberRemovedListener);
    }

    public  LayerActivationHandler(EventManager eventManager, LayerActivationListener tileLayerListener);

}