use of org.ovirt.engine.ui.webadmin.section.main.view.popup.storage.backup.ImportTemplateGeneralSubTabView in project ovirt-engine by oVirt.
the class RegisterTemplateInfoPanel method initGeneralForm.
private void initGeneralForm() {
DetailModelProvider<TemplateListModel, TemplateGeneralModel> modelProvider = new DetailModelProvider<TemplateListModel, TemplateGeneralModel>() {
@Override
public TemplateGeneralModel getModel() {
return getTemplateGeneralModel();
}
@Override
public void onSubTabSelected() {
}
@Override
public void onSubTabDeselected() {
}
@Override
public void activateDetailModel() {
}
@Override
public TemplateListModel getMainModel() {
// Not used, here to satisfy interface contract.
return null;
}
};
generalView = new ImportTemplateGeneralSubTabView(modelProvider);
}
Aggregations