Oxygen XML Editor 12.2 Author API

ro.sync.ecss.extensions.commons
Class ImageFileChooser

java.lang.Object
  extended by ro.sync.ecss.extensions.commons.ImageFileChooser

public class ImageFileChooser
extends java.lang.Object

Choose an image file.


Field Summary
static java.lang.String IMG_FROM_TESTS
          Used to test the class from JUnit test cases.
 
Constructor Summary
ImageFileChooser()
           
 
Method Summary
static java.lang.String chooseImageFile(AuthorAccess authorAccess)
          Ask user to choose an image file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMG_FROM_TESTS

public static java.lang.String IMG_FROM_TESTS
Used to test the class from JUnit test cases.

Constructor Detail

ImageFileChooser

public ImageFileChooser()
Method Detail

chooseImageFile

public static java.lang.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.

Oxygen XML Editor 12.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.