net.n2oapp.framework.config.metadata.pack.N2oPagesPack Maven / Gradle / Ivy
package net.n2oapp.framework.config.metadata.pack;
import net.n2oapp.framework.api.pack.MetadataPack;
import net.n2oapp.framework.config.N2oApplicationBuilder;
import net.n2oapp.framework.config.metadata.compile.page.*;
/**
* Набор для сборки стандартных страниц
*/
public class N2oPagesPack implements MetadataPack {
@Override
public void build(N2oApplicationBuilder b) {
b.packs(new N2oPagesIOv3Pack(), new N2oPagesIOv4Pack(), new N2oAllDatasourcesPack(),
new N2oAllEventsPack());
b.compilers(new SimplePageCompiler(),
new StandardPageCompiler(),
new LeftRightPageCompiler(),
new TopLeftRightPageCompiler(),
new SearchablePageCompiler());
b.binders(new SimplePageBinder(), new StandardPageBinder());
}
}