Class FilePathPropertyDescriptor

All Implemented Interfaces:
IPropertyDescriptor
Direct Known Subclasses:
FilePathPropertyDescriptorWithFilter

public class FilePathPropertyDescriptor extends TextPropertyDescriptor
Descriptor for a property that has a value which should be edited with a path cell editor.

This class may be instantiated; it is not intended to be subclassed.

Example:

 IPropertyDescriptor pd = new ResourcePropertyDescriptor("surname", "Last Name");
 
  • Constructor Details

    • FilePathPropertyDescriptor

      public FilePathPropertyDescriptor(Object id, String displayName, AbstractWidgetModel widgetModel, String[] fileExtensions)
      Creates an property descriptor with the given id and display name.
      Parameters:
      id - the id of the property
      displayName - the name to display for the property
      widgetModel - the widget model which contains the property of this descriptor.
      fileExtensions - The accepted file extensions
  • Method Details