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

PluginStringParameter

public class PluginStringParameter extends Object implements PluginParameterImpl
author
Olivier

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

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

    return controls;