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.


Method Summary
 JpaComposite<T> buildAttributeMappingComposite(JpaUiFactory factory, PropertyValueModel<T> subjectHolder, org.eclipse.swt.widgets.Composite parent, WidgetFactory widgetFactory)
          Creates JpaComposite that correponds to this mapping type.
 
Methods inherited from interface org.eclipse.jpt.ui.details.MappingUiProvider
getImage, getLabel, getMappingKey
 

Method Detail

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 type
subjectHolder - The holder of the subject being displayed
parent - The parent container
widgetFactory - The factory used to create the various widgets
Returns:
The composite displaying the information for a certain mapping