TPTP 4.1.0 Platform Project
Public API Specification

org.eclipse.tptp.platform.analysis.util.ui.propertysheet
Interface IPropertyCell

All Known Implementing Classes:
AbstractPropertyCell

public interface IPropertyCell

IPropertyCell


Method Summary
 void createComponent(org.eclipse.swt.widgets.Composite parent, IPropertyDescriptor pd, IPropertyModel model)
          Create a ui component.
 void dispose()
          Dispose the object.
 org.eclipse.swt.widgets.Control getComponent()
          Get the component.
 IPropertyDescriptor getPropertyDescriptor()
          Get the IPropertyDescriptor.
 boolean hasError()
          Return the hasError status.
 boolean isFilled()
          Return the isFilled status.
 boolean requiresLabel()
          Return the requiresLabel status.
 void setListener(IPropertyCellChangeListener listener)
          Set a listener.
 void setParentSheet(IPropertySheet sheet)
          Set the parent sheet.
 

Method Detail

createComponent

public void createComponent(org.eclipse.swt.widgets.Composite parent,
                            IPropertyDescriptor pd,
                            IPropertyModel model)
Create a ui component.

Parameters:
parent -
pd -
model -

getComponent

public org.eclipse.swt.widgets.Control getComponent()
Get the component.

Returns:

getPropertyDescriptor

public IPropertyDescriptor getPropertyDescriptor()
Get the IPropertyDescriptor.

Returns:
the IPropertyDescriptor

setParentSheet

public void setParentSheet(IPropertySheet sheet)
Set the parent sheet.

Parameters:
sheet -

setListener

public void setListener(IPropertyCellChangeListener listener)
Set a listener.

Parameters:
listener -

hasError

public boolean hasError()
Return the hasError status.

Returns:
hasError status

isFilled

public boolean isFilled()
Return the isFilled status.

Returns:
isFilled status

requiresLabel

public boolean requiresLabel()
Return the requiresLabel status.

Returns:
requiresLabel status.

dispose

public void dispose()
Dispose the object.


TPTP 4.1.0 Platform Project
Public API Specification