...
Every subapp must configure its own content connector. The
Javadoc resource link |
---|
0 | info.magnolia.flickr.simplebrowser.app.contentconnector.ConfiguredSimpleFlickrBrowserContentConnectorDefinition |
---|
rangeHigherVersion | 1.1 |
---|
className | info.magnolia.flickr.simplebrowser.app.contentconnector.ConfiguredSimpleFlickrBrowserContentConnectorDefinition |
---|
renderType | asynchronous |
---|
|
class extends Javadoc resource link |
---|
0 | info.magnolia.ui.vaadin.integration.contentconnector.ConfiguredContentConnectorDefinition |
---|
rangeHigherVersion | 5.65 |
---|
className | info.magnolia.ui.vaadin.integration.contentconnector.ConfiguredContentConnectorDefinition |
---|
renderType | asynchronous |
---|
|
and sets the implementation class Javadoc |
---|
0 | info.magnolia.flickr.simplebrowser.app.contentconnector.SimpleFlickrBrowserContentConnectorImpl |
---|
|
....
Javadoc resource link |
---|
0 | info.magnolia.ui.contentapp.contentconnector.ContentConnectorProvider |
---|
rangeHigherVersion | 5.65 |
---|
className | info.magnolia.ui.contentapp.contentconnector.ContentConnectorProvider |
---|
renderType | asynchronous |
---|
|
creates and provides only one instance of SimpleFlickrBrowserContentConnector
in our subapp. The content connector can be injected into any class used within the subapp. You can cast it to your own type if required....
We use the same container for the tree view and the thumbnail view. In this case it would be sufficient to implement just the base interface Container. However, we also implement
Javadoc resource link |
---|
0 | info.magnolia.ui.workbench.container.Refreshable |
---|
rangeHigherVersion | 5.65 |
---|
className | info.magnolia.ui.workbench.container.Refreshable |
---|
renderType | asynchronous |
---|
|
so we can use the refresh mechanism in the Magnolia workbench. We also need the
Container.Indexed
subinterface for lazy loading.
...
In the presenter class, extend
Javadoc resource link |
---|
0 | info.magnolia.ui.workbench.thumbnail.ThumbnailPresenter |
---|
rangeHigherVersion | 5.65 |
---|
className | info.magnolia.ui.workbench.thumbnail.ThumbnailPresenter |
---|
renderType | asynchronous |
---|
|
and initialize the container:
...