Package org.eclipse.php.internal.server.ui

Examples of org.eclipse.php.internal.server.ui.PixelConverter


    browserGroup.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    browserGroup.setText(PHPServerUIMessages.getString("PHPServerAdvancedTab.2")); //$NON-NLS-1$

    // == Controls ==
    // Add the tunneling controls
    PixelConverter converter = new PixelConverter(composite);
    debugThroughTunnel = new Button(tunnelGroup, SWT.CHECK);
    debugThroughTunnel.setText(PHPServerUIMessages.getString("PHPServerAdvancedTab.3")); //$NON-NLS-1$
    Composite credentialsComposite = new Composite(tunnelGroup, SWT.NONE);
    credentialsComposite.setLayout(new GridLayout(2, false));
    GridData data = new GridData(GridData.FILL_HORIZONTAL);
    data.horizontalIndent = 20;
    credentialsComposite.setLayoutData(data);
    nameLabel = new Label(credentialsComposite, SWT.NONE);
    nameLabel.setText(PHPServerUIMessages.getString("PHPServerAdvancedTab.4")); //$NON-NLS-1$
    userName = new Text(credentialsComposite, SWT.BORDER | SWT.SINGLE);
    data = new GridData();
    data.widthHint = converter.convertHorizontalDLUsToPixels(150);
    userName.setLayoutData(data);
    passwordLabel = new Label(credentialsComposite, SWT.NONE);
    passwordLabel.setText(PHPServerUIMessages.getString("PHPServerAdvancedTab.5")); //$NON-NLS-1$
    password = new Text(credentialsComposite, SWT.PASSWORD | SWT.BORDER
        | SWT.SINGLE);
    data = new GridData();
    data.widthHint = converter.convertHorizontalDLUsToPixels(150);
    password.setLayoutData(data);
    final Composite testConnectionComposite = new Composite(
        credentialsComposite, SWT.NONE);
    GridLayout layout = new GridLayout(2, false);
    layout.marginWidth = 0;
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.server.ui.PixelConverter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.