Package org.eclipse.egit.ui.internal.components

Examples of org.eclipse.egit.ui.internal.components.RemoteSelectionCombo


        .spacing(LayoutConstants.getSpacing()).numColumns(2).create());

    Label remoteLabel = new Label(main, SWT.NONE);
    remoteLabel.setText(UIText.PushTagsPage_RemoteLabel);

    RemoteSelectionCombo remoteSelectionCombo = new RemoteSelectionCombo(
        main, SWT.NONE, SelectionType.PUSH);
    remoteSelectionCombo.setLayoutData(GridDataFactory.fillDefaults()
        .grab(true, false).create());
    selectedRemoteConfig = remoteSelectionCombo
        .setItems(getRemoteConfigs());
    remoteSelectionCombo
        .addRemoteSelectionListener(new RemoteSelectionCombo.IRemoteSelectionListener() {
          public void remoteSelected(RemoteConfig remoteConfig) {
            selectedRemoteConfig = remoteConfig;
          }
        });
View Full Code Here


    remoteLabel.setText(UIText.PushBranchPage_RemoteLabel);

    // Use full width in case "New Remote..." button is not shown
    int remoteSelectionSpan = showNewRemoteButton ? 1 : 2;

    remoteSelectionCombo = new RemoteSelectionCombo(remoteGroup, SWT.NONE,
        SelectionType.PUSH);
    GridDataFactory.fillDefaults().grab(true, false).span(remoteSelectionSpan, 1)
        .applyTo(remoteSelectionCombo);
    setRemoteConfigs();
    remoteSelectionCombo
View Full Code Here

TOP

Related Classes of org.eclipse.egit.ui.internal.components.RemoteSelectionCombo

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.