public void openProductSceneViewRGB(Product rgbProduct, final String helpId) {
final Product[] openedProducts = SnapApp.getDefault().getProductManager().getProducts();
final int[] defaultBandIndices = getDefaultBandIndices(rgbProduct);
final RGBImageProfilePane profilePane = new RGBImageProfilePane(SnapApp.getDefault().getPreferencesPropertyMap(), rgbProduct,
openedProducts, defaultBandIndices);
final String title = "Select RGB-Image Channels";
final boolean ok = profilePane.showDialog(SnapApp.getDefault().getMainFrame(), title, helpId);
if (!ok) {
return;
}
final String[] rgbaExpressions = profilePane.getRgbaExpressions();
if (profilePane.getStoreProfileInProduct()) {
RGBImageProfile.storeRgbaExpressions(rgbProduct, rgbaExpressions);
}
final String sceneName = createSceneName(rgbProduct, profilePane.getSelectedProfile(), "RGB");
openProductSceneViewRGB(sceneName, rgbProduct, rgbaExpressions);
}