/**
* Wizard page that lets the user manage the files of a project.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public class ProjectFilesPage extends TWizardPage implements ActionListener, ListSelectionListener, DocumentListener, FileScannerListener, ChangeListener {
/**
* Creates a new project file page.
- *
+ *
* @param wizard
* The wizard the page belongs to
*/
/**
* Creates the panel contains the project file list and options.
- *
+ *
* @return The created panel
*/
private JComponent createProjectFilesPanel() {
fileOptionsMIMETypeComboBox.setToolTipText(I18n.getMessage("jsite.project-files.mime-type.tooltip"));
fileOptionsMIMETypeComboBox.setName("project-files.mime-type");
fileOptionsMIMETypeComboBox.addActionListener(this);
+ fileOptionsMIMETypeComboBox.setEditable(true);
fileOptionsMIMETypeComboBox.setEnabled(false);
final TLabel mimeTypeLabel = new TLabel(I18n.getMessage("jsite.project-files.mime-type") + ":", KeyEvent.VK_M, fileOptionsMIMETypeComboBox);
/**
* Sets the project whose files to manage.
- *
+ *
* @param project
* The project whose files to manage
*/
/**
* Returns a list of all project files.
- *
+ *
* @return All project files
*/
private List<String> getProjectFiles() {
/**
* Updates the options of the currently selected file with the changes made
* in the “custom key” textfield.
- *
+ *
* @param documentEvent
* The document event to process
*/