getFileExtensions is now a static member - updated code to reflect this.

This commit is contained in:
Robert Greene 2004-07-04 22:02:16 +00:00
parent 4bf1a965d5
commit 3eb7adc2a8

View File

@ -143,7 +143,7 @@ public class ExportGraphicsTypePane extends WizardPane {
label.setText(textBundle.get("ExportGraphicsFileFormatPrompt")); //$NON-NLS-1$ label.setText(textBundle.get("ExportGraphicsFileFormatPrompt")); //$NON-NLS-1$
Composite graphicsFormatGroup = new Composite(control, SWT.NULL); Composite graphicsFormatGroup = new Composite(control, SWT.NULL);
graphicsFormatGroup.setLayout(subpanelLayout); graphicsFormatGroup.setLayout(subpanelLayout);
String[] formats = getGraphicsFilter().getFileExtensions(); String[] formats = GraphicsFileFilter.getFileExtensions();
for (int i=0; i<formats.length; i++) { for (int i=0; i<formats.length; i++) {
button = new Button(graphicsFormatGroup, SWT.RADIO); button = new Button(graphicsFormatGroup, SWT.RADIO);
button.setText(formats[i]); button.setText(formats[i]);