features.expandItem(i.next());
// Add demo component and tabs
- currentFeature = new IntroWelcome();
+ currentFeature = new FeatureTable();
layout.addComponent(currentFeature);
// Add properties
propertiesSelect.setSwitchMode(true);
right.addComponent(propertiesSelect);
properties = currentFeature.getPropertyPanel();
- if (properties != null) {
- properties.setVisible(false);
- right.addComponent(properties);
- }
+ properties.setVisible(false);
+ right.addComponent(properties);
}
public void registerFeature(String path, Feature feature) {