|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
void |
addProperty(java.lang.Object id,
java.lang.Object property)
add properties to the properties map |
void |
addPropertyDescriptor(IExtendedPropertyDescriptor propertyDescriptor)
Adds propertyDescriptor to this property source. |
java.lang.Object |
getElement()
Returns the element. |
java.util.Map |
getProperties()
Returns the properties. |
boolean |
isDirty()
Return if the dirty flag. |
boolean |
isValueOkay(java.lang.Object id,
java.lang.Object value)
Returns true if the property value is not equal to BLANK as displayed in multiple select unequal values. |
void |
refresh()
Refresh properties |
void |
removeProperty(java.lang.Object id)
removes properties from the properties map |
void |
setDirty(boolean flag)
Set the dirty flag to boolean. |
void |
setElement(java.lang.Object element)
Set the element of which the properties belong to. |
| Methods inherited from interface org.eclipse.gmf.runtime.common.ui.services.properties.ICompositePropertySource |
addPropertySource |
| Methods inherited from interface org.eclipse.ui.views.properties.IPropertySource |
getEditableValue, getPropertyDescriptors, getPropertyValue, isPropertySet, resetPropertyValue, setPropertyValue |
| Method Detail |
public java.lang.Object getElement()
public void addProperty(java.lang.Object id,
java.lang.Object property)
id - Objectproperty - Objectpublic void removeProperty(java.lang.Object id)
id - Objectpublic void addPropertyDescriptor(IExtendedPropertyDescriptor propertyDescriptor)
propertyDescriptor - IExtendedPropertyDescriptor that is to be addedpublic void setElement(java.lang.Object element)
element - Object The element to which the properties belong to.public void setDirty(boolean flag)
flag - : Flag = true means dirty, Flag = false means not dirty.public boolean isDirty()
public void refresh()
public java.util.Map getProperties()
public boolean isValueOkay(java.lang.Object id,
java.lang.Object value)
id - property idvalue - value to verify
true if value is ok, false otherwise
|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.