|
TPTP 4.1.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.tptp.platform.analysis.util.ui.propertysheet.impl.AbstractPropertyCell
AbstractPropertyCell
| Constructor Summary | |
|---|---|
AbstractPropertyCell()
|
|
| Method Summary | |
|---|---|
protected abstract org.eclipse.swt.widgets.Control |
create(org.eclipse.swt.widgets.Composite parent)
|
void |
createComponent(org.eclipse.swt.widgets.Composite parent,
IPropertyDescriptor pd,
IPropertyModel model)
Create the component. |
void |
dispose()
Dispose the object. |
protected void |
error(java.lang.String msg,
java.lang.Throwable err)
|
protected java.lang.String |
getAsText(java.lang.Object oValue)
|
org.eclipse.swt.widgets.Control |
getComponent()
Get the component. |
protected java.lang.Object |
getCurrentValue()
|
protected org.eclipse.swt.graphics.Color |
getErrorColor(org.eclipse.swt.widgets.Control control)
|
protected IPropertyModel |
getModel()
|
protected org.eclipse.swt.graphics.Color |
getNoErrorBackgroundColor()
|
protected IPropertySheet |
getParentSheet()
|
IPropertyDescriptor |
getPropertyDescriptor()
Get the property descriptor. |
boolean |
hasError()
return the error flag. |
boolean |
isFilled()
return the isFilled status. |
protected void |
noError()
|
boolean |
requiresLabel()
return the requiresLabel status. |
protected void |
setErrorComponentBackgroundColor(org.eclipse.swt.graphics.Color c)
|
void |
setListener(IPropertyCellChangeListener cellListener)
Set a listener. |
void |
setParentSheet(IPropertySheet sheet)
Set the parent sheet. |
protected abstract void |
updateEditor(java.lang.Object oNewValue)
|
protected void |
updateModel(java.lang.Object oNewValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractPropertyCell()
| Method Detail |
public final void createComponent(org.eclipse.swt.widgets.Composite parent,
IPropertyDescriptor pd,
IPropertyModel model)
createComponent in interface IPropertyCellparent - pd - model - public final org.eclipse.swt.widgets.Control getComponent()
getComponent in interface IPropertyCellpublic IPropertyDescriptor getPropertyDescriptor()
getPropertyDescriptor in interface IPropertyCellpublic void setParentSheet(IPropertySheet sheet)
setParentSheet in interface IPropertyCellsheet - public boolean hasError()
hasError in interface IPropertyCellpublic boolean isFilled()
isFilled in interface IPropertyCellpublic void setListener(IPropertyCellChangeListener cellListener)
setListener in interface IPropertyCellcellListener - public boolean requiresLabel()
requiresLabel in interface IPropertyCellprotected IPropertyModel getModel()
protected java.lang.Object getCurrentValue()
protected void updateModel(java.lang.Object oNewValue)
protected abstract void updateEditor(java.lang.Object oNewValue)
protected abstract org.eclipse.swt.widgets.Control create(org.eclipse.swt.widgets.Composite parent)
protected void error(java.lang.String msg,
java.lang.Throwable err)
protected void noError()
protected IPropertySheet getParentSheet()
protected java.lang.String getAsText(java.lang.Object oValue)
protected void setErrorComponentBackgroundColor(org.eclipse.swt.graphics.Color c)
protected org.eclipse.swt.graphics.Color getNoErrorBackgroundColor()
protected org.eclipse.swt.graphics.Color getErrorColor(org.eclipse.swt.widgets.Control control)
public void dispose()
dispose in interface IPropertyCell
|
TPTP 4.1.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||