package org.ovirt.engine.ui.webadmin.section.main.presenter.tab.quota; import org.ovirt.engine.ui.common.presenter.DynamicTabContainerPresenter.DynamicTabPanel; import org.ovirt.engine.ui.common.presenter.ScrollableTabBarPresenterWidget; import org.ovirt.engine.ui.webadmin.section.main.presenter.AbstractSubTabPanelPresenter; import com.google.gwt.event.shared.EventBus; import com.google.gwt.event.shared.GwtEvent.Type; import com.google.inject.Inject; import com.gwtplatform.mvp.client.ChangeTabHandler; import com.gwtplatform.mvp.client.RequestTabsHandler; import com.gwtplatform.mvp.client.annotations.ChangeTab; import com.gwtplatform.mvp.client.annotations.ContentSlot; import com.gwtplatform.mvp.client.annotations.ProxyCodeSplit; import com.gwtplatform.mvp.client.annotations.RequestTabs; import com.gwtplatform.mvp.client.proxy.Proxy; import com.gwtplatform.mvp.client.proxy.RevealContentHandler; public class QuotaSubTabPanelPresenter extends AbstractSubTabPanelPresenter<QuotaSubTabPanelPresenter.ViewDef, QuotaSubTabPanelPresenter.ProxyDef> { @ProxyCodeSplit public interface ProxyDef extends Proxy<QuotaSubTabPanelPresenter> { } public interface ViewDef extends AbstractSubTabPanelPresenter.ViewDef, DynamicTabPanel { } @RequestTabs public static final Type<RequestTabsHandler> TYPE_RequestTabs = new Type<>(); @ChangeTab public static final Type<ChangeTabHandler> TYPE_ChangeTab = new Type<>(); @ContentSlot public static final Type<RevealContentHandler<?>> TYPE_SetTabContent = new Type<>(); @Inject public QuotaSubTabPanelPresenter(EventBus eventBus, ViewDef view, ProxyDef proxy, QuotaMainTabSelectedItems selectedItems, ScrollableTabBarPresenterWidget tabBar) { super(eventBus, view, proxy, TYPE_SetTabContent, TYPE_RequestTabs, TYPE_ChangeTab, selectedItems, tabBar); } }