g-Eclipse
Release 1.0.0

eu.geclipse.ui.properties
Class PropertyId<ESourceType>

java.lang.Object
  extended by eu.geclipse.ui.properties.PropertyId<ESourceType>
Type Parameters:
ESourceType - Type of object, for which property is displayed

public class PropertyId<ESourceType>
extends java.lang.Object

Help class allow to detect which AbstractPropertySource and IProperty should return property-value


Constructor Summary
PropertyId(java.lang.Class<? extends AbstractPropertySource<?>> sourceClass, IProperty<ESourceType> property)
           
 
Method Summary
 IProperty<ESourceType> getProperty()
           
 java.lang.Class<? extends AbstractPropertySource<?>> getSourceClass()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyId

public PropertyId(java.lang.Class<? extends AbstractPropertySource<?>> sourceClass,
                  IProperty<ESourceType> property)
Parameters:
sourceClass - Object, for which property is displayed
property - IProperty object, which handles property operations
Method Detail

getProperty

public IProperty<ESourceType> getProperty()
Returns:
The property

getSourceClass

public java.lang.Class<? extends AbstractPropertySource<?>> getSourceClass()
Returns:
TShe sourceClass

g-Eclipse
Release 1.0.0