...
- Create MVP classes for your widget editor. See the YouTube view, editor, and view implementation.
For your widget to be inline, add to the editor's updateDescriptorFromView() method:
descriptor.put(WidgetConstants.INLINE_WIDGET_KEY, "true");
Bind your Widget editor view to the implementation by modifying the Portal gin module:
bind(YouTubeConfigView.class).to(YouTubeConfigViewImpl.class);
- Add a unit test for your editor! (see YouTubeConfigEditorTest)
...