|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.view.internal.table.swt.CellReadOnlyTesterHelper
public final class CellReadOnlyTesterHelper
Helper class which collects the cell testers and allows to iterate over all to check whether a cell should be read only.
Method Summary | |
---|---|
static CellReadOnlyTesterHelper |
getInstance()
The CellReadOnlyTesterHelper instance. |
boolean |
isReadOnly(VTableControl vTableControl,
org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
Check all ECPCellReadOnlyTester for the cell. |
void |
registerCellReadOnlyTester(ECPCellReadOnlyTester tester)
Register an ECPCellReadOnlyTester programmatically. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static CellReadOnlyTesterHelper getInstance()
public void registerCellReadOnlyTester(ECPCellReadOnlyTester tester)
ECPCellReadOnlyTester
programmatically.
tester
- the ECPCellReadOnlyTester
to registerpublic boolean isReadOnly(VTableControl vTableControl, org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
ECPCellReadOnlyTester
for the cell.
vTableControl
- the VTableControl
setting
- the EStructuralFeature.Setting
of the cell
ECPCellReadOnlyTester
wants the cell to be readonly false otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |