}
private void updateOperation() {
final LayerMode mode = getMode();
final double opacity = getOpacity();
final LayerConfig config = new LayerConfig(mode, opacity);
op.setLayerConfig(config);
if (opacity == 1.0 && mode.getName().equals("Normal"))
pcs.firePropertyChange(BLENDING_MODES, Boolean.TRUE, Boolean.FALSE);
else
pcs.firePropertyChange(BLENDING_MODES, Boolean.FALSE, Boolean.TRUE);