|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IExtendedPropertySource
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 |
---|
java.lang.Object getElement()
void addProperty(java.lang.Object id, java.lang.Object property)
id
- Objectproperty
- Objectvoid removeProperty(java.lang.Object id)
id
- Objectvoid addPropertyDescriptor(IExtendedPropertyDescriptor propertyDescriptor)
propertyDescriptor
- IExtendedPropertyDescriptor that is to be addedvoid setElement(java.lang.Object element)
element
- Object The element to which the properties belong to.void setDirty(boolean flag)
flag
- : Flag = true means dirty, Flag = false means not dirty.boolean isDirty()
void refresh()
java.util.Map getProperties()
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.