org.gudy.azureus2.ui.swt.config
Class FileParameter

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.config.Parameter
      extended by org.gudy.azureus2.ui.swt.config.DirectoryParameter
          extended by org.gudy.azureus2.ui.swt.config.FileParameter
All Implemented Interfaces:
IParameter

public class FileParameter
extends DirectoryParameter

This class inherits from the DirectoryParameter class and appears the same, except for the dialog box that it opens. The reason for this is not because it is logically an extension of the DirectoryParameter class, but because it's better to leave the existing code where it is (for the sake of browsing CVS history).


Field Summary
protected  String[] extension_list
           
 
Fields inherited from class org.gudy.azureus2.ui.swt.config.Parameter
change_listeners, config_adapter
 
Constructor Summary
FileParameter(org.eclipse.swt.widgets.Composite pluginGroup, String name, String defaultValue, String[] extension_list)
           
 
Method Summary
protected  String getBrowseImageResource()
          We don't have a better resource for this at the moment.
protected  String openDialog(org.eclipse.swt.widgets.Shell shell, String old_value)
           
 
Methods inherited from class org.gudy.azureus2.ui.swt.config.DirectoryParameter
getControl, getControls, setLayoutData, setValue
 
Methods inherited from class org.gudy.azureus2.ui.swt.config.Parameter
addChangeListener, getValueObject, isDisposed, isInitialised, removeChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extension_list

protected String[] extension_list
Constructor Detail

FileParameter

public FileParameter(org.eclipse.swt.widgets.Composite pluginGroup,
                     String name,
                     String defaultValue,
                     String[] extension_list)
Method Detail

getBrowseImageResource

protected String getBrowseImageResource()
We don't have a better resource for this at the moment.

Overrides:
getBrowseImageResource in class DirectoryParameter

openDialog

protected String openDialog(org.eclipse.swt.widgets.Shell shell,
                            String old_value)
Overrides:
openDialog in class DirectoryParameter