Package org.eclipse.php.internal.ui.wizards.fields

Examples of org.eclipse.php.internal.ui.wizards.fields.ListDialogField$ListViewerAdapter


    ServerAdapter adapter = new ServerAdapter();
    String buttons[] = new String[] {
        PHPServerUIMessages
            .getString("PHPServersConfigurationBlock.new"), PHPServerUIMessages.getString("PHPServersConfigurationBlock.edit"), PHPServerUIMessages.getString("PHPServersConfigurationBlock.remove"), PHPServerUIMessages.getString("PHPServersConfigurationBlock.setDefault") }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
    fServersList = new ListDialogField(adapter, buttons,
        new PHPServersLabelProvider()) {
      protected boolean managedButtonPressed(int index) {
        if (index == getRemoveButtonIndex()) {
          handleRemoveServer();
        }
View Full Code Here


    super(parent, style);
    initializeControls();
  }

  protected void initializeControls() {
    fMapList = new ListDialogField(new ListAdapter(), buttonLabels,
        new LabelProvider());
    fMapList.setRemoveButtonIndex(IDX_REMOVE);
    fMapList.setTableColumns(new ListDialogField.ColumnsDescription(
        columnLayoutDatas, columnHeaders, true));
View Full Code Here

        String[] buttons = new String[] {
                "Add service",
                "Edit service",
                "Remove service",
                null};
        serviceList = new ListDialogField(adapter, buttons,
                new ServiceLabelProvider());
        serviceList.setDialogFieldListener(adapter);
        serviceList.setRemoveButtonIndex(IDX_REMOVE);

        String[] columnsHeaders = new String[] {
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.ui.wizards.fields.ListDialogField$ListViewerAdapter

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.