Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.ui
Interface ResourceUiDefinition

All Known Subinterfaces:
MappingResourceUiDefinition, PersistenceResourceUiDefinition

public interface ResourceUiDefinition

Resource UI definition.

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
 Iterable<JpaDetailsProvider> getDetailsProviders()
          Return the details providers for this resource ui definition.
 org.eclipse.jpt.common.utility.iterable.ListIterable<JpaEditorPageDefinition> getEditorPageDefinitions()
          Return the JPA editor page definitions to be displayed as tabs for an editor for the resource.
 ItemTreeStateProviderFactoryProvider getStructureViewFactoryProvider()
          Return the resource definition's JPA Structure View factory provider.
 boolean providesUi(JptResourceType resourceType)
          Return whether the definition provides UI for resource of the specified type.
 

Method Detail

providesUi

boolean providesUi(JptResourceType resourceType)
Return whether the definition provides UI for resource of the specified type.


getDetailsProviders

Iterable<JpaDetailsProvider> getDetailsProviders()
Return the details providers for this resource ui definition.


getStructureViewFactoryProvider

ItemTreeStateProviderFactoryProvider getStructureViewFactoryProvider()
Return the resource definition's JPA Structure View factory provider. This is used by the view to build and maintain its tree's content and labels.


getEditorPageDefinitions

org.eclipse.jpt.common.utility.iterable.ListIterable<JpaEditorPageDefinition> getEditorPageDefinitions()
Return the JPA editor page definitions to be displayed as tabs for an editor for the resource.

Currently Dali has only a persistence.xml editor.

See Also:
org.eclipse.jpt.jpa.ui.internal.editors.JpaXmlEditor

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.