org.eclipse.hyades.test.ui.adapter
Class NamedElementPropertySource
java.lang.Object
org.eclipse.hyades.test.ui.adapter.NamedElementPropertySource
- All Implemented Interfaces:
- org.eclipse.ui.views.properties.IPropertySource, org.eclipse.ui.views.properties.IPropertySource2
- Direct Known Subclasses:
- DatapoolEquivalenceClassPropertySource, DatapoolVariablePropertySource
- public class NamedElementPropertySource
- extends java.lang.Object
- implements org.eclipse.ui.views.properties.IPropertySource2
This class is a IPropertySource2
implemented for INamedElement.
- Since:
- 3.3
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_SOURCE_NAME
public static final java.lang.String PROPERTY_SOURCE_NAME
- See Also:
- Constant Field Values
PROPERTY_SOURCE_DESCRIPTION
public static final java.lang.String PROPERTY_SOURCE_DESCRIPTION
- See Also:
- Constant Field Values
PROPERTY_SOURCE_ID
public static final java.lang.String PROPERTY_SOURCE_ID
- See Also:
- Constant Field Values
NamedElementPropertySource
public NamedElementPropertySource(org.eclipse.hyades.edit.datapool.INamedElement namedElement)
getNamedElement
public org.eclipse.hyades.edit.datapool.INamedElement getNamedElement()
addPropertyChangeListener
public void addPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
removePropertyChangeListener
public void removePropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
isPropertyResettable
public boolean isPropertyResettable(java.lang.Object id)
- Specified by:
isPropertyResettable in interface org.eclipse.ui.views.properties.IPropertySource2
getEditableValue
public java.lang.Object getEditableValue()
- Specified by:
getEditableValue in interface org.eclipse.ui.views.properties.IPropertySource
getPropertyDescriptors
public org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
- Specified by:
getPropertyDescriptors in interface org.eclipse.ui.views.properties.IPropertySource
getPropertyValue
public java.lang.Object getPropertyValue(java.lang.Object id)
- Specified by:
getPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
isPropertySet
public boolean isPropertySet(java.lang.Object id)
- Specified by:
isPropertySet in interface org.eclipse.ui.views.properties.IPropertySource2
resetPropertyValue
public void resetPropertyValue(java.lang.Object id)
- Specified by:
resetPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
setPropertyValue
public void setPropertyValue(java.lang.Object id,
java.lang.Object value)
- Specified by:
setPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
firePropertyChangeEvent
protected void firePropertyChangeEvent(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)