*/
protected void build() {
displayedWidgets = new ArrayList();
for (int i = 0; i < widgets.size(); i++) {
BaseType o = (BaseType) widgets.get(i);
if (o.validate(this)) {
if (o.shouldBeDisplayed(getProject())) {
if (o instanceof DummyComponent) {
o = ((DummyComponent) o).getRealType();
widgets.set(i, o);
}