Class ObjectChooser

java.lang.Object
ro.sync.ecss.extensions.commons.ObjectChooser
Direct Known Subclasses:
ImageFileChooser, MediaFileChooser

@API(type=INTERNAL, src=PUBLIC) public abstract class ObjectChooser extends Object
Base class for choosers dialogs.
  • Field Details

    • ALLOWED_IMAGE_EXTENSIONS

      public static final String[] ALLOWED_IMAGE_EXTENSIONS
      All the allowed extensions for an image.
  • Constructor Details

    • ObjectChooser

      public ObjectChooser()
  • Method Details

    • makeUrlRelative

      public static String makeUrlRelative(AuthorAccess authorAccess, String url)
      Makes the given URL relative to the XML whose access object we are given.
      Parameters:
      authorAccess - The author access of the XML document.
      url - The url.
      Returns:
      The relative URL.