org.eclipse.jpt.ui.details
Interface JpaComposite<T>

All Known Subinterfaces:
JpaPageComposite<T>

public interface JpaComposite<T>

A JpaComposite defines the common behavior of the JPA related widgets. 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
 void dispose()
          Notifies this composite it should dispose any resources.
 void enableWidgets(boolean enabled)
          Changes the enablement state of the widgets of this pane.
 org.eclipse.swt.widgets.Control getControl()
          Returns the actual Composite.
 void populate()
          Notifies this composite it should populates its widgets using the given model object.
 

Method Detail

populate

void populate()
Notifies this composite it should populates its widgets using the given model object.

Parameters:
model - The model used to retrieve the information to be displayed

getControl

org.eclipse.swt.widgets.Control getControl()
Returns the actual Composite.

Returns:
This composite's actual widget

enableWidgets

void enableWidgets(boolean enabled)
Changes the enablement state of the widgets of this pane.

Parameters:
enabled - true to enable the widgets or false to disable them

dispose

void dispose()
Notifies this composite it should dispose any resources.