FileDocCategorySizeDatePackage
PluginParameter.javaAPI DocAzureus 3.0.3.43361Thu Jun 10 14:55:38 BST 2004org.gudy.azureus2.ui.swt.config.plugins

PluginParameter

public class PluginParameter extends Object
author
Olivier

Fields Summary
public PluginParameterImpl
implementation
Constructors Summary
public PluginParameter(org.eclipse.swt.widgets.Composite pluginGroup, org.gudy.azureus2.plugins.ui.config.Parameter parameter)

    if(parameter instanceof StringParameterImpl) {
      implementation = new PluginStringParameter(pluginGroup,(StringParameterImpl)parameter);
    } else if(parameter instanceof IntParameterImpl) {
      implementation = new PluginIntParameter(pluginGroup,(IntParameterImpl)parameter);
    } else if(parameter instanceof BooleanParameterImpl) {
      implementation = new PluginBooleanParameter(pluginGroup,(BooleanParameterImpl)parameter);
    } else if(parameter instanceof FileParameter) {
      implementation = new PluginFileParameter(pluginGroup,(FileParameter)parameter);
    } else if(parameter instanceof DirectoryParameterImpl) {
      implementation = new PluginDirectoryParameter(pluginGroup,(DirectoryParameterImpl)parameter);
    } else if(parameter instanceof IntsParameter) {
      implementation = new PluginIntsParameter(pluginGroup,(IntsParameter)parameter);
    } else if(parameter instanceof StringListParameterImpl) {
      implementation = new PluginStringsParameter(pluginGroup,(StringListParameterImpl)parameter);
    } else if(parameter instanceof ColorParameter) {
      implementation = new PluginColorParameter(pluginGroup,(ColorParameter)parameter);
    }
  
Methods Summary
public org.eclipse.swt.widgets.Control[]getControls()

    return implementation.getControls();
  
public voidsetAdditionalActionPerfomer(org.gudy.azureus2.ui.swt.config.IAdditionalActionPerformer performer)

    if(implementation instanceof PluginBooleanParameter) {
      ((PluginBooleanParameter)implementation).setAdditionalActionPerfomer(performer);
    }