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

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

public class DirectoryParameter
extends Parameter

Author:
parg

Field Summary
 
Fields inherited from class org.gudy.azureus2.ui.swt.config.Parameter
change_listeners, config_adapter
 
Constructor Summary
DirectoryParameter(org.eclipse.swt.widgets.Composite pluginGroup, String name, String defaultValue)
           
 
Method Summary
protected  String getBrowseImageResource()
           
 org.eclipse.swt.widgets.Control getControl()
           
 org.eclipse.swt.widgets.Control[] getControls()
           
protected  String openDialog(org.eclipse.swt.widgets.Shell shell, String old_value)
           
 void setLayoutData(Object layoutData)
           
 void setValue(Object value)
           
 
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
 

Constructor Detail

DirectoryParameter

public DirectoryParameter(org.eclipse.swt.widgets.Composite pluginGroup,
                          String name,
                          String defaultValue)
Method Detail

setLayoutData

public void setLayoutData(Object layoutData)

getControl

public org.eclipse.swt.widgets.Control getControl()

getControls

public org.eclipse.swt.widgets.Control[] getControls()
Specified by:
getControls in interface IParameter
Overrides:
getControls in class Parameter

getBrowseImageResource

protected String getBrowseImageResource()

openDialog

protected String openDialog(org.eclipse.swt.widgets.Shell shell,
                            String old_value)

setValue

public void setValue(Object value)
Specified by:
setValue in class Parameter