g-Eclipse
Release 1.0.0

eu.geclipse.ui.properties
Interface IProperty<ESourceType>

Type Parameters:
ESourceType - type of object, for which property is shown
All Known Implementing Classes:
AbstractProperty, MultilineProperty

public interface IProperty<ESourceType>

Property shown in Properties view


Method Summary
 IPropertyDescriptor getDescriptor(java.lang.Class<? extends AbstractPropertySource<?>> propSourceClass)
           
 java.lang.Object getValue(ESourceType sourceObject)
           
 boolean isShowEmptyValue()
           
 

Method Detail

getValue

java.lang.Object getValue(ESourceType sourceObject)
Parameters:
sourceObject - Object, for which property will be displayed
Returns:
Property value
See Also:
org.eclipse.ui.views.properties.IPropertySource#getPropertyValue(Object)

getDescriptor

IPropertyDescriptor getDescriptor(java.lang.Class<? extends AbstractPropertySource<?>> propSourceClass)
Parameters:
propSourceClass - property source in which this IProperty object is
Returns:
property descriptor

isShowEmptyValue

boolean isShowEmptyValue()
Returns:
true if property containg null value should be shown

g-Eclipse
Release 1.0.0