Class ImageFileChooser

java.lang.Object
ro.sync.ecss.extensions.commons.ObjectChooser
ro.sync.ecss.extensions.commons.ImageFileChooser

@API(type=INTERNAL, src=PUBLIC) public class ImageFileChooser extends ObjectChooser
Choose an image file.
  • Field Details

    • IMG_FROM_TESTS

      public static String IMG_FROM_TESTS
      Used to test the class from JUnit test cases.
  • Constructor Details

    • ImageFileChooser

      public ImageFileChooser()
  • Method Details

    • chooseImageFile

      public static String chooseImageFile(AuthorAccess authorAccess)
      Ask user to choose an image file.
      Parameters:
      authorAccess - Access to some author utility methods.
      Returns:
      The path to the image file relative to the opened XML and escaped so that it can be used as an attribute value, or null if the user canceled the operation.