@Override protected Widget onInitialization() { new RequestCommentsServiceCall(parent.getId()).execute(); // TODO commentsManagerComponent activateCommentLink = new HyperlinkWidget(new ActivateCommentEditorAction()); widgets = new HashMap<Comment, CommentWidget>(); containerPanel = new FlowPanel(); containerPanel.setStyleName("CommentsWidget"); return containerPanel; }
@Override protected Widget onInitialization() { new RequestCommentsServiceCall(parent.getId()).execute(); // TODO commentsManagerComponent activateCommentLink = new HyperlinkWidget(new ActivateCommentEditorAction()); widgets = new HashMap<Comment, CommentWidget>(); editorWrapper = new SimplePanel(); editorWrapper.setWidget(activateCommentLink); commentListPanel = new FlowPanel(); FlowPanel panel = new FlowPanel(); panel = new FlowPanel(); panel.setStyleName("CommentsWidget"); panel.add(editorWrapper); panel.add(commentListPanel); return panel; }