Class ECPropertyComposite
java.lang.Object
ro.sync.ecss.extensions.commons.table.properties.ECPropertyComposite
The composite used to edit a table property.
-
Constructor Summary
ConstructorsConstructorDescriptionECPropertyComposite
(org.eclipse.swt.widgets.Composite parent, TableProperty tableProperty, AuthorResourceBundle authorResourceBundle, PropertySelectionController controller, boolean firstChild) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionObtain the current selected value for this property.Get the new table property.The current edited table property.
-
Constructor Details
-
ECPropertyComposite
public ECPropertyComposite(org.eclipse.swt.widgets.Composite parent, TableProperty tableProperty, AuthorResourceBundle authorResourceBundle, PropertySelectionController controller, boolean firstChild) Constructor.- Parameters:
parent
- The parent composite.tableProperty
- The table property that is edited using the current composite.authorResourceBundle
- The author resource bundle. It is used for translation.controller
- The property controller.firstChild
-true
if the current property is the first child in the given parent.
-
-
Method Details
-
getModifiedProperty
Get the new table property. If the value of the given property is not modified, anull
will be return.- Returns:
- The modified property or
null
if the property value was not changed.
-
getTableProperty
The current edited table property.- Returns:
- Returns the corresponding table property.
-
getCurrentlySelectedValue
Obtain the current selected value for this property.- Returns:
- The current selected value of the table property.
-