public interface IFieldFactory
Field
and pages
factory used by ElementFormPanel
.
Don't implement this interface directly, subclass AbstractFieldFactory
instead.
Modifier and Type | Method and Description |
---|---|
java.util.List<FormFieldPage> |
createFieldPages(ModelElement input)
Create form field pages from a specific
ModelElement . |
java.util.List<IField> |
createFields(FormToolkit toolkit,
Composite parent,
ModelElement input,
FormFieldPage page)
Fill a form field page from a specific
ModelElement . |
java.util.List<FormFieldPage> createFieldPages(ModelElement input)
ModelElement
.input
- the element to build the pages for.java.util.List<IField> createFields(FormToolkit toolkit, Composite parent, ModelElement input, FormFieldPage page)
ModelElement
.parent
- a widget which will be the parent of the new field instance (cannot be null)input
- the element to build the form field for.