org.eclipse.jpt.ui
Interface JpaPlatformUi


public interface JpaPlatformUi

This interface is to be implemented by a JPA vendor to provide extensions to JPA UI functionality. This is intended to work in conjunction with a core JPA platform (JpaPlatform) implementation with the same ID.

Any implementation should be stateless in nature.

The "generic" extension supplies UI for the core platform extension with the same ID. See the extension point: org.eclipse.jpt.ui.jpaPlatform 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<PersistentAttribute,? extends AttributeMapping>> attributeMappingUiDefinitions(JpaResourceType resourceType)
           
 JpaComposite buildAttributeMappingComposite(JpaResourceType resourceType, java.lang.String mappingKey, org.eclipse.swt.widgets.Composite parent, PropertyValueModel<AttributeMapping> mappingHolder, WidgetFactory widgetFactory)
           
 JpaDetailsPage<? extends JpaStructureNode> buildJpaDetailsPage(org.eclipse.swt.widgets.Composite parent, JpaStructureNode structureNode, WidgetFactory widgetFactory)
           
 JpaComposite buildTypeMappingComposite(JpaResourceType resourceType, java.lang.String mappingKey, org.eclipse.swt.widgets.Composite parent, PropertyValueModel<TypeMapping> mappingHolder, WidgetFactory widgetFactory)
           
 void generateDDL(JpaProject project, org.eclipse.jface.viewers.IStructuredSelection selection)
           
 void generateEntities(JpaProject project, org.eclipse.jface.viewers.IStructuredSelection selection)
           
 DefaultMappingUiDefinition<PersistentAttribute,? extends AttributeMapping> getDefaultAttributeMappingUiDefinition(JpaResourceType resourceType, java.lang.String mappingKey)
           
 DefaultMappingUiDefinition<PersistentType,? extends TypeMapping> getDefaultTypeMappingUiDefinition(JpaResourceType resourceType)
           
 JpaNavigatorProvider getNavigatorProvider()
          Return the JpaNavigatorProvider for this platform, which determines Project Explorer content and look
 ResourceUiDefinition getResourceUiDefinition(JpaResourceType resourceType)
          Return a resource ui definition for the specified resource type.
 JpaStructureProvider getStructureProvider(JpaFile jpaFile)
          Return a structure provider for the specified JPA file.
 java.util.Iterator<MappingUiDefinition<PersistentType,? extends TypeMapping>> typeMappingUiDefinitions(JpaResourceType resourceType)
           
 

Method Detail

getNavigatorProvider

JpaNavigatorProvider getNavigatorProvider()
Return the JpaNavigatorProvider for this platform, which determines Project Explorer content and look


getStructureProvider

JpaStructureProvider getStructureProvider(JpaFile jpaFile)
Return a structure provider for the specified JPA file.


buildJpaDetailsPage

JpaDetailsPage<? extends JpaStructureNode> buildJpaDetailsPage(org.eclipse.swt.widgets.Composite parent,
                                                               JpaStructureNode structureNode,
                                                               WidgetFactory widgetFactory)

getResourceUiDefinition

ResourceUiDefinition getResourceUiDefinition(JpaResourceType resourceType)
Return a resource ui definition for the specified resource type.


buildTypeMappingComposite

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

getDefaultTypeMappingUiDefinition

DefaultMappingUiDefinition<PersistentType,? extends TypeMapping> getDefaultTypeMappingUiDefinition(JpaResourceType resourceType)

typeMappingUiDefinitions

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

buildAttributeMappingComposite

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

getDefaultAttributeMappingUiDefinition

DefaultMappingUiDefinition<PersistentAttribute,? extends AttributeMapping> getDefaultAttributeMappingUiDefinition(JpaResourceType resourceType,
                                                                                                                  java.lang.String mappingKey)

attributeMappingUiDefinitions

java.util.Iterator<MappingUiDefinition<PersistentAttribute,? extends AttributeMapping>> attributeMappingUiDefinitions(JpaResourceType resourceType)

generateEntities

void generateEntities(JpaProject project,
                      org.eclipse.jface.viewers.IStructuredSelection selection)

generateDDL

void generateDDL(JpaProject project,
                 org.eclipse.jface.viewers.IStructuredSelection selection)