Class ECPropertyComposite
- java.lang.Object
-
- ro.sync.ecss.extensions.commons.table.properties.ECPropertyComposite
-
@API(type=INTERNAL, src=PUBLIC) public class ECPropertyComposite extends java.lang.Object
The composite used to edit a table property.
-
-
Constructor Summary
Constructors Constructor Description ECPropertyComposite(org.eclipse.swt.widgets.Composite parent, TableProperty tableProperty, AuthorResourceBundle authorResourceBundle, PropertySelectionController controller, boolean firstChild)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCurrentlySelectedValue()
Obtain the current selected value for this property.TableProperty
getModifiedProperty()
Get the new table property.TableProperty
getTableProperty()
The current edited table property.
-
-
-
Constructor Detail
-
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 Detail
-
getModifiedProperty
public TableProperty 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
public TableProperty getTableProperty()
The current edited table property.- Returns:
- Returns the corresponding table property.
-
getCurrentlySelectedValue
public java.lang.String getCurrentlySelectedValue()
Obtain the current selected value for this property.- Returns:
- The current selected value of the table property.
-
-