org.eclipse.jpt.ui.details
Interface AttributeMappingUiProvider<T extends AttributeMapping>
- All Superinterfaces:
- MappingUiProvider<T>
public interface AttributeMappingUiProvider<T extends AttributeMapping>
- extends MappingUiProvider<T>
Provisional API: This interface is part of an interim API that is still
under development and expected to change significantly before reaching
stability. It is available at this early stage to solicit feedback from
pioneering adopters on the understanding that any code that uses this API
will almost certainly be broken (repeatedly) as the API evolves.
buildAttributeMappingComposite
JpaComposite<T> buildAttributeMappingComposite(JpaUiFactory factory,
PropertyValueModel<T> subjectHolder,
org.eclipse.swt.widgets.Composite parent,
WidgetFactory widgetFactory)
- Creates
JpaComposite
that correponds to this mapping type.
This will be displayed by the PersistentAttributeDetailsPage
when the mapping key matches the key given by this provider. The
composites will be stored in a Map with the mapping key as the key.
- Parameters:
factory
- The UI factory responsible to create the right composite
for any mapping typesubjectHolder
- The holder of the subject being displayedparent
- The parent containerwidgetFactory
- The factory used to create the various widgets
- Returns:
- The composite displaying the information for a certain mapping