Class ResourceFilePropertyDescriptor

java.lang.Object

public class ResourceFilePropertyDescriptor extends SBPropertyDescriptor
PropertyDescriptor for properties wishing to access external resources at runtime.

The Operator field should be of type String (representing a name/path usually to be looked up via the resource search path of the containing application).

The contents of the resource may be retrieved using Operator.getResourceContents(String), giving the value of the String field as the argument, or you may retrieve (if available) a File using Operator.getResourceFile(String)

Since:
6.5 added restrictFileHints(String[]) to improve user experience selecting a resource in Studio, 7.6.2 a ResourceFilePropertyDescriptor.TypeHint enumeration is provided to indicate to Studio the kind of selector to display
See Also: