org.eclipse.jpt.ui.details
Interface JpaDetailsProvider


public interface JpaDetailsProvider

This provider is responsible to create the JpaDetailsPage responsible to show the information for a given content node id.

Since:
2.0 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.
Version:
2.2
See Also:
JpaDetailsPage

Method Summary
 JpaDetailsPage<? extends JpaStructureNode> buildDetailsPage(org.eclipse.swt.widgets.Composite parent, WidgetFactory widgetFactory)
          Creates a new details page based on the given content node id.
 org.eclipse.core.runtime.content.IContentType getContentType()
          Return the content type of the reosurce
 java.lang.String getId()
          Return the id of the corresponding JpaStructureNode.
 

Method Detail

buildDetailsPage

JpaDetailsPage<? extends JpaStructureNode> buildDetailsPage(org.eclipse.swt.widgets.Composite parent,
                                                            WidgetFactory widgetFactory)
Creates a new details page based on the given content node id.

Parameters:
parent - The parent container
contentNodeId - The unique identifier used to determine which details page to create
widgetFactory - The factory used to create various widgets

getId

java.lang.String getId()
Return the id of the corresponding JpaStructureNode.


getContentType

org.eclipse.core.runtime.content.IContentType getContentType()
Return the content type of the reosurce