use of org.freeplane.core.resources.components.PropertyBean in project freeplane by freeplane.
the class OptionPanelController method getCurrentOptionProperties.
public Properties getCurrentOptionProperties() {
final Properties p = new Properties();
Vector<IPropertyControl> controls = this.propertyControls;
for (final IPropertyControl control : controls) {
if (control instanceof PropertyBean) {
final PropertyBean bean = (PropertyBean) control;
final String value = bean.getValue();
if (value != null) {
p.setProperty(bean.getName(), value);
}
}
}
return p;
}
Aggregations