Skip to content

Commit

Permalink
Remove XML export option (for now).
Browse files Browse the repository at this point in the history
  • Loading branch information
dma committed Jun 29, 2016
1 parent 322e535 commit 01cbdde
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,27 +47,28 @@ public void createControl(Composite parent) {


radioGroup = new Group(container, SWT.SHADOW_IN);
radioGroup.setText("Select XML or HTML output.");
//radioGroup.setText("Select XML or HTML output.");
gd.grabExcessHorizontalSpace = true;
radioGroup.setLayoutData(gd);

radioGroup.setLayout(new RowLayout(SWT.VERTICAL));
Button htmlButton = new Button(radioGroup, SWT.RADIO);
Button xmlButton = new Button(radioGroup, SWT.RADIO);
xmlButton.setText("XML");
//Button xmlButton = new Button(radioGroup, SWT.RADIO | SWT.);
// xmlButton.setText("XML");
htmlButton.setText("HTML");
htmlButton.setSelection(true);
xmlButton.addSelectionListener(new SelectionAdapter() {
/*xmlButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
choice = xmlButton.getText();
}
});
*/

htmlButton.addSelectionListener(new SelectionAdapter() {

public void widgetSelected(SelectionEvent e) {
choice = xmlButton.getText();
choice = htmlButton.getText();
}
});

Expand Down

0 comments on commit 01cbdde

Please sign in to comment.