|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.jpa.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<ReadOnlyPersistentAttribute,? extends AttributeMapping>> |
attributeMappingUiDefinitions(JptResourceType resourceType)
|
JpaComposite |
buildAttributeMappingComposite(JptResourceType 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(JptResourceType 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<ReadOnlyPersistentAttribute,? extends AttributeMapping> |
getDefaultAttributeMappingUiDefinition(JptResourceType resourceType,
java.lang.String mappingKey)
|
DefaultMappingUiDefinition<PersistentType,? extends TypeMapping> |
getDefaultTypeMappingUiDefinition(JptResourceType resourceType)
|
JpaNavigatorProvider |
getNavigatorProvider()
Return the JpaNavigatorProvider for this platform,
which determines Project Explorer content and look |
ResourceUiDefinition |
getResourceUiDefinition(JptResourceType 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(JptResourceType resourceType)
|
| Method Detail |
|---|
JpaNavigatorProvider getNavigatorProvider()
JpaNavigatorProvider for this platform,
which determines Project Explorer content and look
JpaStructureProvider getStructureProvider(JpaFile jpaFile)
JpaDetailsPage<? extends JpaStructureNode> buildJpaDetailsPage(org.eclipse.swt.widgets.Composite parent,
JpaStructureNode structureNode,
WidgetFactory widgetFactory)
ResourceUiDefinition getResourceUiDefinition(JptResourceType resourceType)
JpaComposite buildTypeMappingComposite(JptResourceType resourceType,
java.lang.String mappingKey,
org.eclipse.swt.widgets.Composite parent,
PropertyValueModel<TypeMapping> mappingHolder,
WidgetFactory widgetFactory)
DefaultMappingUiDefinition<PersistentType,? extends TypeMapping> getDefaultTypeMappingUiDefinition(JptResourceType resourceType)
java.util.Iterator<MappingUiDefinition<PersistentType,? extends TypeMapping>> typeMappingUiDefinitions(JptResourceType resourceType)
JpaComposite buildAttributeMappingComposite(JptResourceType resourceType,
java.lang.String mappingKey,
org.eclipse.swt.widgets.Composite parent,
PropertyValueModel<AttributeMapping> mappingHolder,
WidgetFactory widgetFactory)
DefaultMappingUiDefinition<ReadOnlyPersistentAttribute,? extends AttributeMapping> getDefaultAttributeMappingUiDefinition(JptResourceType resourceType,
java.lang.String mappingKey)
java.util.Iterator<MappingUiDefinition<ReadOnlyPersistentAttribute,? extends AttributeMapping>> attributeMappingUiDefinitions(JptResourceType resourceType)
void generateEntities(JpaProject project,
org.eclipse.jface.viewers.IStructuredSelection selection)
void generateDDL(JpaProject project,
org.eclipse.jface.viewers.IStructuredSelection selection)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||