org.gudy.azureus2.ui.swt.config
Class FileParameter
java.lang.Object
org.gudy.azureus2.ui.swt.config.Parameter
org.gudy.azureus2.ui.swt.config.DirectoryParameter
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).
Constructor Summary |
FileParameter(org.eclipse.swt.widgets.Composite pluginGroup,
java.lang.String name,
java.lang.String defaultValue,
java.lang.String[] extension_list)
|
Method Summary |
protected java.lang.String |
getBrowseImageResource()
We don't have a better resource for this at the moment. |
protected java.lang.String |
openDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String old_value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
extension_list
protected java.lang.String[] extension_list
FileParameter
public FileParameter(org.eclipse.swt.widgets.Composite pluginGroup,
java.lang.String name,
java.lang.String defaultValue,
java.lang.String[] extension_list)
getBrowseImageResource
protected java.lang.String getBrowseImageResource()
- We don't have a better resource for this at the moment.
- Overrides:
getBrowseImageResource
in class DirectoryParameter
openDialog
protected java.lang.String openDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String old_value)
- Overrides:
openDialog
in class DirectoryParameter