org.eclipse.emf.ecp.view.spi.table.swt
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 Summary
 boolean isCellReadOnly(VTableControl vTableControl, org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
          The test method, which defines whether a cell should be readonly or not.
 

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


Copyright © 2014. All Rights Reserved.