Class FilePathPropertyDescriptor
java.lang.Object
org.eclipse.ui.views.properties.PropertyDescriptor
org.eclipse.ui.views.properties.TextPropertyDescriptor
org.csstudio.opibuilder.properties.support.FilePathPropertyDescriptor
- All Implemented Interfaces:
IPropertyDescriptor
- Direct Known Subclasses:
FilePathPropertyDescriptorWithFilter
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 Summary
ConstructorDescriptionFilePathPropertyDescriptor
(Object id, String displayName, AbstractWidgetModel widgetModel, String[] fileExtensions) Creates an property descriptor with the given id and display name. -
Method Summary
Methods inherited from class org.eclipse.ui.views.properties.PropertyDescriptor
getAlwaysIncompatible, getCategory, getDescription, getDisplayName, getFilterFlags, getHelpContextIds, getId, getLabelProvider, getValidator, isCompatibleWith, isLabelProviderSet, setAlwaysIncompatible, setCategory, setDescription, setFilterFlags, setHelpContextIds, setLabelProvider, setValidator
-
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 propertydisplayName
- the name to display for the propertywidgetModel
- the widget model which contains the property of this descriptor.fileExtensions
- The accepted file extensions
-
-
Method Details
-
createPropertyEditor
- Specified by:
createPropertyEditor
in interfaceIPropertyDescriptor
- Overrides:
createPropertyEditor
in classTextPropertyDescriptor
-