Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
Similarly, the descriptions for both AppComponent and AppUiComponent remain the same as in the Custom View tutorial.
AppUiMessageHandler
This class extends UiMessageHandler to implement code to handle events from the (client-side) sample application view. Salient features to note:
(1) implement createRequestHandlers() to provide request handler implementations for specific event types from our view.
Code Block | ||
---|---|---|
| ||
@Override
protected Collection<RequestHandler> createRequestHandlers() {
return ImmutableSet.of(
new SampleDataRequestHandler(),
new SampleDetailRequestHandler()
);
} |