public class ListEntry extends Observable implements org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.views.properties.IPropertySource, DataSourceListener
| Constructor and Description |
|---|
ListEntry() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
dispose() |
Object |
getAdapter(Class adapter) |
List<AttributePair> |
getAttributes() |
org.eclipse.swt.graphics.Color |
getBackground() |
DataItemHolder |
getDataItem() |
Object |
getEditableValue() |
org.eclipse.swt.graphics.Font |
getFont() |
org.eclipse.swt.graphics.Color |
getForeground() |
org.eclipse.swt.graphics.Image |
getImage() |
Item |
getItem() |
DataItemValue |
getItemValue() |
org.eclipse.ui.views.properties.IPropertyDescriptor[] |
getPropertyDescriptors() |
Object |
getPropertyValue(Object id) |
Throwable |
getSubscriptionError() |
SubscriptionState |
getSubscriptionState() |
Variant |
getValue() |
protected void |
handleStyleUpdate(StyleBlinker.CurrentStyle style) |
boolean |
hasAttributes()
check if attributes are in the list
|
boolean |
isPropertySet(Object id) |
void |
resetPropertyValue(Object id) |
void |
setDataItem(Item item) |
void |
setPropertyValue(Object id,
Object value) |
void |
updateData(DataItemValue value) |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic Item getItem()
public DataItemHolder getDataItem()
public void setDataItem(Item item)
public void dispose()
public void clear()
public DataItemValue getItemValue()
public Variant getValue()
public SubscriptionState getSubscriptionState()
public List<AttributePair> getAttributes()
public boolean hasAttributes()
true if the attributes list is not emptypublic Throwable getSubscriptionError()
public void updateData(DataItemValue value)
updateData in interface DataSourceListenerprotected void handleStyleUpdate(StyleBlinker.CurrentStyle style)
public org.eclipse.swt.graphics.Image getImage()
public org.eclipse.swt.graphics.Color getBackground()
public org.eclipse.swt.graphics.Color getForeground()
public org.eclipse.swt.graphics.Font getFont()
public Object getAdapter(Class adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptablepublic 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.IPropertySourcepublic Object getPropertyValue(Object id)
getPropertyValue in interface org.eclipse.ui.views.properties.IPropertySourcepublic boolean isPropertySet(Object id)
isPropertySet in interface org.eclipse.ui.views.properties.IPropertySourcepublic void resetPropertyValue(Object id)
resetPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource