Package com.ps.consul.eclipse.ui.viewer
Class AttributeValueProvider
java.lang.Object
com.ps.consul.eclipse.core.ValueProvider
com.ps.consul.eclipse.ui.viewer.AttributeValueProvider
- All Implemented Interfaces:
 IValueProvider,org.eclipse.core.runtime.IAdaptable
- Direct Known Subclasses:
 VariantAttributeValueProvider
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReturns the descriptor for the attribute this provider stands for.String[]protected StringgetValue(IPVProperty property) Get the value for this value provider for the specified element.booleanisCalculation(IPVProperty prop) booleanisConstant(IPVProperty prop) String[]Methods inherited from class com.ps.consul.eclipse.core.ValueProvider
equals, getAdapter, getLabel, getType, hashCode, toString 
- 
Field Details
- 
SEPERATOR
- See Also:
 
 - 
ATTRIBUTE_VALUE
- See Also:
 
 
 - 
 - 
Constructor Details
- 
AttributeValueProvider
public AttributeValueProvider() 
 - 
 - 
Method Details
- 
getValue
Description copied from interface:IValueProviderGet the value for this value provider for the specified element.- Specified by:
 getValuein interfaceIValueProvider- Overrides:
 getValuein classValueProvider- Parameters:
 el- The object where to get the specific attribute value from. This might be a generic attribute or any other special attribute.- Returns:
 - The attribute value for the specified element.
 
 - 
getValue
 - 
setQuotes
 - 
getQuotes
- Returns:
 - array of characters used for quotation of attribute values.
 
         Elements are (in order)
         
- Starting symbol or character
 - Ending symbol or character
 
 - Since:
 - 4.0.19
 
 - 
isCalculation
 - 
isConstant
 - 
getAttributeDescriptor
Description copied from interface:IValueProviderReturns the descriptor for the attribute this provider stands for. it is the id for the ValueProvider- Specified by:
 getAttributeDescriptorin interfaceIValueProvider- Overrides:
 getAttributeDescriptorin classValueProvider- Returns:
 
 
 -