Updated to for AppleWorksFileExportFilter enhancements. Added RTF

as an export option and changed to use select methods.
This commit is contained in:
Robert Greene 2003-02-08 16:34:41 +00:00
parent 2a17b2c722
commit f346a0ac28
1 changed files with 10 additions and 2 deletions

View File

@ -83,7 +83,7 @@ public class AppleWorksWordProcessorPane extends WizardPane {
button.setSelection(getFilter().isTextRendering());
button.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
getFilter().setRendering(AppleWorksWordProcessorFileFilter.RENDER_AS_TEXT);
getFilter().selectTextRendering();
}
});
button = new Button(control, SWT.RADIO);
@ -91,7 +91,15 @@ public class AppleWorksWordProcessorPane extends WizardPane {
button.setSelection(getFilter().isHtmlRendering());
button.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
getFilter().setRendering(AppleWorksWordProcessorFileFilter.RENDER_AS_HTML);
getFilter().selectHtmlRendering();
}
});
button = new Button(control, SWT.RADIO);
button.setText("RTF (Rich Text Format)");
button.setSelection(getFilter().isRtfRendering());
button.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
getFilter().selectRtfRendering();
}
});
}