selectionListeners = new JitterPackSelectionListeners();
locationBrowser = createSelectorPanel(window);
}
private FileSelectorPanel createSelectorPanel(ApplicationWindow window) {
FileSelectorPanelFactory factory = FileSelectorFactory.getFactory();
FileChooser fc = ApplicationFileChooser.getInstance(window);
RecentFileStore recentFiles = getRecentFileStore();
FileSelectorPanel panel = factory.recentFilesPanel(fc, FileSelectorPanel.OPEN,
Strings.getJitterPackString("Import.Browser.Title"), recentFiles);
panel.setFileFilter(JitterPackerUi.FILE_FILTER);
LabelDecorator d = TextStyles.DefaultText.asLabelDecorator(JitterpackResources.IMPORT_16);
panel.decorateTitle(d);
panel.addInputChangeListener(new SelectionNotifier());