enableShadingUI();
}
private void enableStereo3dUI() {
Stereo3dMode stereo3dMode = (Stereo3dMode) data.stereo3dModeCmb.getSelectedItem();
enableControl(data.stereo3dModeCmb, false);
enableControl(data.stereo3dAngleREd, Stereo3dMode.NONE.equals(stereo3dMode));
enableControl(data.stereo3dEyeDistREd, Stereo3dMode.NONE.equals(stereo3dMode));
enableControl(data.stereo3dFocalOffsetREd, Stereo3dMode.NONE.equals(stereo3dMode));
enableControl(data.stereo3dLeftEyeColorCmb, !Stereo3dMode.ANAGLYPH.equals(stereo3dMode));