Eclipse Platform
Release 3.0

org.eclipse.ui.views.properties
Interface IPropertySource2

All Superinterfaces:
IPropertySource

public interface IPropertySource2
extends IPropertySource

Extension to the standard IPropertySource interface.

This interface provides extended API to IPropertySource to allow an easier indication of properties that have a default value and can be resetted.

Since:
3.0
See Also:
IPropertySource

Method Summary
 boolean isPropertyResettable(Object id)
          Returns whether the value of the property with the specified id is resettable to a default value.
 
Methods inherited from interface org.eclipse.ui.views.properties.IPropertySource
getEditableValue, getPropertyDescriptors, getPropertyValue, isPropertySet, resetPropertyValue, setPropertyValue
 

Method Detail

isPropertyResettable

public boolean isPropertyResettable(Object id)
Returns whether the value of the property with the specified id is resettable to a default value.

Parameters:
id - the id of the property
Returns:
true if the property with the specified id has a meaningful default value to which it can be resetted to, and false otherwise
See Also:
IPropertySource.resetPropertyValue(Object), IPropertySource.isPropertySet(Object)

Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.