Interface ECPCellReadOnlyTester


  • public interface ECPCellReadOnlyTester
    Interface used in the cellReadOnly extensionpoint. By providing such a tester, the user can set individual cells to read only.
    Author:
    Eugen Neufeld
    • Method Detail

      • isCellReadOnly

        boolean isCellReadOnly​(VTableControl vTableControl,
                               org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
        The test method, which defines whether a cell should be readonly or not.
        Parameters:
        vTableControl - the VTableControl the view model element of the table
        setting - the EStructuralFeature.Setting of the cell
        Returns:
        true if the cell should be read only, false otherwise