class DisplayerTypeSelector implements IsWidget {

    void onSelect(DisplayerType type) {
        selectedType = type;
        subtypeSelector.init(type, null);
        typeSelectedEvent.fire(new DisplayerTypeSelectedEvent(selectedType));
    }

    @Inject public  DisplayerTypeSelector(View view,
                                 DisplayerSubtypeSelector subtypeSelector,
                                 Event<DisplayerTypeSelectedEvent> typeSelectedEvent);

}