package devopsdistilled.operp.client.context.items;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import devopsdistilled.operp.client.items.panes.CreateBrandPane;
import devopsdistilled.operp.client.items.panes.CreateCategoryPane;
import devopsdistilled.operp.client.items.panes.CreateItemPane;
import devopsdistilled.operp.client.items.panes.CreateManufacturerPane;
import devopsdistilled.operp.client.items.panes.CreateProductPane;
import devopsdistilled.operp.client.items.panes.EditBrandPane;
import devopsdistilled.operp.client.items.panes.EditCategoryPane;
import devopsdistilled.operp.client.items.panes.EditItemPane;
import devopsdistilled.operp.client.items.panes.EditManufacturerPane;
import devopsdistilled.operp.client.items.panes.EditProductPane;
import devopsdistilled.operp.client.items.panes.ListBrandPane;
import devopsdistilled.operp.client.items.panes.ListCategoryPane;
import devopsdistilled.operp.client.items.panes.ListItemPane;
import devopsdistilled.operp.client.items.panes.ListManufacturerPane;
import devopsdistilled.operp.client.items.panes.ListProductPane;
@Configuration
public class MvcViewContext {
@Bean
public CreateItemPane createItemPane() {
return new CreateItemPane();
}
@Bean
public ListItemPane listItemPane() {
return new ListItemPane();
}
@Bean
public EditItemPane editItemPane() {
return new EditItemPane();
}
@Bean
public CreateCategoryPane createCategoryPane() {
return new CreateCategoryPane();
}
@Bean
public EditCategoryPane editCategoryPane() {
return new EditCategoryPane();
}
@Bean
public ListCategoryPane listCategoryPane() {
return new ListCategoryPane();
}
@Bean
public CreateProductPane createProductPane() {
return new CreateProductPane();
}
@Bean
public ListProductPane listProductPane() {
return new ListProductPane();
}
@Bean
public EditProductPane editProductPane() {
return new EditProductPane();
}
@Bean
public CreateManufacturerPane createManufacturerPane() {
return new CreateManufacturerPane();
}
@Bean
public ListManufacturerPane listManufacturerPane() {
return new ListManufacturerPane();
}
@Bean
public EditManufacturerPane editManufacturerPane() {
return new EditManufacturerPane();
}
@Bean
public CreateBrandPane createBrandPane() {
return new CreateBrandPane();
}
@Bean
public ListBrandPane listBrandPane() {
return new ListBrandPane();
}
@Bean
public EditBrandPane editBrandPane() {
return new EditBrandPane();
}
}