Class ECPropertyComposite


  • @API(type=INTERNAL,
         src=PUBLIC)
    public class ECPropertyComposite
    extends java.lang.Object
    The composite used to edit a 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, a null 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.