org.eclipse.jpt.jpa.ui.details.java
Interface JavaTypeMappingUiDefinition<T extends TypeMapping>
- All Superinterfaces:
- MappingUiDefinition<PersistentType,T>
- All Known Subinterfaces:
- DefaultJavaTypeMappingUiDefinition<T>
public interface JavaTypeMappingUiDefinition<T extends TypeMapping>
- extends MappingUiDefinition<PersistentType,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.
buildTypeMappingComposite
JpaComposite buildTypeMappingComposite(JavaUiFactory factory,
PropertyValueModel<T> subjectHolder,
org.eclipse.swt.widgets.Composite parent,
WidgetFactory widgetFactory)
- Creates
JpaComposite that corresponds to this mapping type.
This will be displayed by the PersistentTypeDetailsPage 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