use of com.talosvfx.talos.editor.addons.bvb.PropertiesPanel in project talos by rockbite.
the class PropertyPanel method build.
public void build() {
container.clear();
Array<IPropertyProvider> list = new Array<>();
for (IPropertyProvider provider : providerSet.values()) {
list.add(provider);
}
list.sort(new Comparator<IPropertyProvider>() {
@Override
public int compare(IPropertyProvider o1, IPropertyProvider o2) {
return o1.getPriority() - o2.getPriority();
}
});
panelList.clear();
providerPanelMap.clear();
for (IPropertyProvider provider : list) {
PropertiesPanel panel = new PropertiesPanel(provider, getSkin());
container.add(panel).growX().top().padBottom(5);
container.row();
panelList.add(panel);
providerPanelMap.put(provider, panel);
}
}
Aggregations