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, java.lang.String name, java.lang.String defaultValue)
           
 
Method Summary
protected  java.lang.String getBrowseImageResource()
           
 org.eclipse.swt.widgets.Control getControl()
           
 org.eclipse.swt.widgets.Control[] getControls()
           
protected  java.lang.String openDialog(org.eclipse.swt.widgets.Shell shell, java.lang.String old_value)
           
 void setLayoutData(java.lang.Object layoutData)
           
 void setValue(java.lang.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,
                          java.lang.String name,
                          java.lang.String defaultValue)
Method Detail

setLayoutData

public void setLayoutData(java.lang.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 java.lang.String getBrowseImageResource()

openDialog

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

setValue

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