java.lang.Objectcom.ibm.jdg2e.simplemodel.adapters.LocationPropertySource
Provides support for read-only and modifiable values that are shown in the Properties view. JDG2E: 99c - Delegates IPropertySource implementation to standalone class
| Field Summary | |
|---|---|
(package private) org.eclipse.ui.views.properties.ComboBoxPropertyDescriptor |
comboDescriptor
Modifiable display of drop-down attribute |
(package private) org.eclipse.ui.views.properties.PropertyDescriptor |
propDescriptor
Read-only display of attribute |
(package private) static org.eclipse.ui.views.properties.IPropertyDescriptor[] |
propertyDescriptors
Property descriptors for ILocation (equals number of attributes shown in the Properties view). |
(package private) org.eclipse.ui.views.properties.TextPropertyDescriptor |
textDescriptor
Modifiable display of text attribute |
| Fields inherited from interface com.ibm.jdg2e.simplemodel.adapters.ILocationPropertySource |
|---|
PROP_DISPLAY_ACTIVITY, PROP_DISPLAY_NAME, PROP_DISPLAY_NOTHING, PROP_DISPLAY_POLITICAL, PROP_ID_ACTIVITY, PROP_ID_NAME, PROP_ID_NOTHING, PROP_ID_POLITICAL |
| Constructor Summary | |
|---|---|
LocationPropertySource(ILocation location)
Constructor connects the IPropertySource implementation with the ILocation object involved. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getEditableValue()
|
org.eclipse.ui.views.properties.IPropertyDescriptor[] |
getPropertyDescriptors()
Descriptors describe what will be shown in the Properties view. |
java.lang.Object |
getPropertyValue(java.lang.Object id)
Returns value for ID; IDs logically map to ILocation attributes. |
boolean |
isPropertySet(java.lang.Object id)
|
void |
resetPropertyValue(java.lang.Object id)
|
void |
setPropertyValue(java.lang.Object id,
java.lang.Object value)
Takes modification made in the Properties view and applies them to the appropriate property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
org.eclipse.ui.views.properties.ComboBoxPropertyDescriptor comboDescriptor
org.eclipse.ui.views.properties.PropertyDescriptor propDescriptor
static final org.eclipse.ui.views.properties.IPropertyDescriptor[] propertyDescriptors
org.eclipse.ui.views.properties.TextPropertyDescriptor textDescriptor
| Constructor Detail |
public LocationPropertySource(ILocation location)
location - | Method Detail |
public java.lang.Object getEditableValue()
getEditableValue in interface org.eclipse.ui.views.properties.IPropertySourcepublic org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors in interface org.eclipse.ui.views.properties.IPropertySourceIPropertySource.getPropertyDescriptors()public java.lang.Object getPropertyValue(java.lang.Object id)
getPropertyValue in interface org.eclipse.ui.views.properties.IPropertySourceIPropertySource.getPropertyValue(java.lang.Object)public boolean isPropertySet(java.lang.Object id)
isPropertySet in interface org.eclipse.ui.views.properties.IPropertySourcepublic void resetPropertyValue(java.lang.Object id)
resetPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
public void setPropertyValue(java.lang.Object id,
java.lang.Object value)
setPropertyValue in interface org.eclipse.ui.views.properties.IPropertySourceIPropertySource.setPropertyValue(java.lang.Object, java.lang.Object)