org.eclipse.jpt.jpa.ui
Interface MappingResourceUiDefinition

All Superinterfaces:
ResourceUiDefinition

public interface MappingResourceUiDefinition
extends ResourceUiDefinition

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
 java.util.Iterator<MappingUiDefinition<ReadOnlyPersistentAttribute,? extends AttributeMapping>> attributeMappingUiDefinitions()
          Return an iterator of attribute mapping ui definitions appropriate for this file type
 JpaComposite buildAttributeMappingComposite(java.lang.String key, PropertyValueModel<AttributeMapping> mappingHolder, org.eclipse.swt.widgets.Composite parent, WidgetFactory widgetFactory)
           
 JpaComposite buildTypeMappingComposite(java.lang.String key, PropertyValueModel<TypeMapping> mappingHolder, org.eclipse.swt.widgets.Composite parent, WidgetFactory widgetFactory)
           
 DefaultMappingUiDefinition<ReadOnlyPersistentAttribute,? extends AttributeMapping> getDefaultAttributeMappingUiDefinition(java.lang.String key)
          Return a default attribute mapping ui definition for the given key or null
 DefaultMappingUiDefinition<PersistentType,? extends TypeMapping> getDefaultTypeMappingUiDefinition()
          Return a default type mapping ui provider or null
 java.util.Iterator<MappingUiDefinition<PersistentType,? extends TypeMapping>> typeMappingUiDefinitions()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.ui.ResourceUiDefinition
getStructureProvider, providesUi
 

Method Detail

buildAttributeMappingComposite

JpaComposite buildAttributeMappingComposite(java.lang.String key,
                                            PropertyValueModel<AttributeMapping> mappingHolder,
                                            org.eclipse.swt.widgets.Composite parent,
                                            WidgetFactory widgetFactory)

attributeMappingUiDefinitions

java.util.Iterator<MappingUiDefinition<ReadOnlyPersistentAttribute,? extends AttributeMapping>> attributeMappingUiDefinitions()
Return an iterator of attribute mapping ui definitions appropriate for this file type


getDefaultAttributeMappingUiDefinition

DefaultMappingUiDefinition<ReadOnlyPersistentAttribute,? extends AttributeMapping> getDefaultAttributeMappingUiDefinition(java.lang.String key)
Return a default attribute mapping ui definition for the given key or null


buildTypeMappingComposite

JpaComposite buildTypeMappingComposite(java.lang.String key,
                                       PropertyValueModel<TypeMapping> mappingHolder,
                                       org.eclipse.swt.widgets.Composite parent,
                                       WidgetFactory widgetFactory)

typeMappingUiDefinitions

java.util.Iterator<MappingUiDefinition<PersistentType,? extends TypeMapping>> typeMappingUiDefinitions()

getDefaultTypeMappingUiDefinition

DefaultMappingUiDefinition<PersistentType,? extends TypeMapping> getDefaultTypeMappingUiDefinition()
Return a default type mapping ui provider or null