Oxygen XML Editor 11.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 Object

Choose an image file.


Field Summary
static String IMG_FROM_TESTS
          Used to test the class from JUnit test cases.
 
Constructor Summary
ImageFileChooser()
           
 
Method Summary
static 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 String IMG_FROM_TESTS
Used to test the class from JUnit test cases.

Constructor Detail

ImageFileChooser

public ImageFileChooser()
Method Detail

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.

Oxygen XML Editor 11.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.