use of org.freeplane.features.styles.mindmapmode.EditablePatternComboProperty in project freeplane by freeplane.
the class FormatControlGroup method addControlGroup.
@Override
public void addControlGroup(DefaultFormBuilder formBuilder) {
mSetNodeFormat = new BooleanProperty(ControlGroup.SET_RESOURCE);
mNodeFormat = new EditablePatternComboProperty(NODE_FORMAT, PatternFormat.getIdentityPatternFormat(), FormatController.getController().getAllFormats());
propertyChangeListener = new NodeFormatChangeListener(mSetNodeFormat, mNodeFormat);
mSetNodeFormat.addPropertyChangeListener(propertyChangeListener);
mNodeFormat.addPropertyChangeListener(propertyChangeListener);
mSetNodeFormat.layout(formBuilder);
mNodeFormat.layout(formBuilder);
}
Aggregations