private void createSecondColumn()

in client/src/main/java/org/apache/hupa/client/ui/ComposeView.java [177:211]


    private void createSecondColumn() {
        selectFrom = new ListBox();
        sendButton = new Button("Send message");
        saveButton = new Button("Save as draft");
        cancelButton = new Button("Cancel");
        sendButton.addStyleName(style.hide());
        saveButton.addStyleName(style.hide());
        cancelButton.addStyleName(style.hide());
        HorizontalPanel operationPanel = new HorizontalPanel();
        FlowPanel contactPanel = new FlowPanel();
        FlowPanel buttonPanel = new FlowPanel();
        contactPanel.add(selectFrom);
        contactPanel.addStyleName(style.left());
        // buttonPanel.add(new Anchor("Edit identities"));
        buttonPanel.add(sendButton);
        buttonPanel.add(saveButton);
        buttonPanel.add(cancelButton);
        buttonPanel.addStyleName(style.right());
        operationPanel.add(contactPanel);
        operationPanel.add(buttonPanel);
        operationPanel.addStyleName(style.operation());
        headerTable.setWidget(ROW_FROM, 1, operationPanel);
        headerTable.setWidget(ROW_TO, 1, toSuggest);
        headerTable.setWidget(ROW_CC, 1, ccSuggest);
        headerTable.setWidget(ROW_BCC, 1, bccSuggest);
        headerTable.setWidget(ROW_REPLY, 1, create());
        headerTable.setWidget(ROW_FOLLOWUP, 1, create());
        headerTable.setWidget(ROW_SWITCH, 1, createOpsPanel());
        cellFormatter.addStyleName(ROW_SWITCH, 1, style.formlinks());
        headerTable.setWidget(ROW_SUBJECT, 1, subject);
        rowFormatter.addStyleName(ROW_CC, style.hide());
        rowFormatter.addStyleName(ROW_BCC, style.hide());
        rowFormatter.addStyleName(ROW_REPLY, style.hide());
        rowFormatter.addStyleName(ROW_FOLLOWUP, style.hide());
    }