FileDocCategorySizeDatePackage
PluginStringsParameter.javaAPI DocAzureus 3.0.3.42097Fri Oct 21 05:45:10 BST 2005org.gudy.azureus2.ui.swt.config.plugins

PluginStringsParameter

public class PluginStringsParameter extends Object implements PluginParameterImpl
author
Olivier

Fields Summary
org.eclipse.swt.widgets.Control[]
controls
Constructors Summary
public PluginStringsParameter(org.eclipse.swt.widgets.Composite pluginGroup, org.gudy.azureus2.pluginsimpl.local.ui.config.StringListParameterImpl parameter)

    controls = new Control[2];
           
    controls[0] = new Label(pluginGroup,SWT.NULL);
    Messages.setLanguageText(controls[0],parameter.getLabelKey());
    
    org.gudy.azureus2.ui.swt.config.StringListParameter slp =
    	new org.gudy.azureus2.ui.swt.config.StringListParameter(
    	    pluginGroup,
    	    parameter.getKey(),
					parameter.getDefaultValue(),
					parameter.getLabels(),
					parameter.getValues());
    controls[1] = slp.getControl();
    GridData gridData = new GridData();
    gridData.widthHint = 100;
    controls[1].setLayoutData(gridData);
    new Label(pluginGroup,SWT.NULL);
  
Methods Summary
public org.eclipse.swt.widgets.Control[]getControls()

    return controls;