Search in sources :

Example 1 with EditablePatternComboProperty

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);
}
Also used : EditablePatternComboProperty(org.freeplane.features.styles.mindmapmode.EditablePatternComboProperty) BooleanProperty(org.freeplane.core.resources.components.BooleanProperty)

Aggregations

BooleanProperty (org.freeplane.core.resources.components.BooleanProperty)1 EditablePatternComboProperty (org.freeplane.features.styles.mindmapmode.EditablePatternComboProperty)1