}
void save( XmlNode node ) {
final RGBColorSelection cs = m_op.getColorSelection();
final XmlNode colorNode = node.addChild( ColorSelectionKey );
colorNode.setAttribute(
HueRedKey, Float.toString( cs.red )
);
colorNode.setAttribute(
HueGreenKey, Float.toString( cs.green )
);
colorNode.setAttribute(
HueBlueKey, Float.toString( cs.blue )
);
colorNode.setAttribute(
HueRadiusKey, Float.toString( cs.radius )
);
colorNode.setAttribute(
HueEnabledKey, Boolean.toString( cs.isColorEnabled )
);
colorNode.setAttribute(
LuminosityLowerKey,
Float.toString( cs.luminosityLower )
);
colorNode.setAttribute(
LuminosityLowerFeatherKey,
Float.toString( cs.luminosityLowerFeather )
);
colorNode.setAttribute(
LuminosityUpperKey,
Float.toString( cs.luminosityUpper )
);
colorNode.setAttribute(
LuminosityUpperFeatherKey,
Float.toString( cs.luminosityUpperFeather )
);
colorNode.setAttribute(
LuminosityEnabledKey,
Boolean.toString( cs.isLuminosityEnabled )
);
colorNode.setAttribute(
InvertedKey,
Boolean.toString( cs.isInverted )
);
}