@Deprecated public interface DocModelTableModelVisitor
All classes that know how to create a specific table row need to implement this interface and register to the table model so that when an event is caught by the table model that a new row shoudl be added for a specific document then a new table model row must be created.
Use case: an action listener that has a table model should implement this interface and add itself as a visitor to the table model because the action listener alone knows whats in the table model row because the action listener decides what the row contains. Then when a cache row added occurs then the table modle will call this method with the new document model so that a new table row could be added to the table.
Modifier and Type | Method and Description |
---|---|
DocModelTableRow |
createDocModelTableModelRow(DocumentModel doc)
Deprecated.
Visit method.
|
DocModelTableRow createDocModelTableModelRow(DocumentModel doc)
Creates a table row that can be added to the table model.
doc
- Copyright © 2013 Nuxeo SA. All Rights Reserved.