/** * Returns the combined image for given array of descriptors. Orientation can be vertical or * horizontal. * * @param resourceManager * {@link ResourceManager}. * @param orientation * SWT#Vertical or SWT#Horizontal. Descriptors will be passed in given order. * @param descriptors * Array of descriptors. * * @return Combined {@link Image}. */ public static Image getCombinedImage(ResourceManager resourceManager, int orientation, ImageDescriptor... descriptors) { return getCombinedImage(resourceManager, orientation, 0, 0, descriptors); }
return null; } else { return getCombinedImage(resourceManager, SWT.HORIZONTAL, descs.toArray(new ImageDescriptor[descs.size()]));
return getCombinedImage(resourceManager, SWT.HORIZONTAL, descriptors);