Examples of ListDialogField


Examples of org.eclipse.dltk.internal.ui.wizards.dialogfields.ListDialogField

  protected void initContainerElements() {
    BuildPathAdapter adapter = new BuildPathAdapter();
    String[] buttonLabels = new String[] {
        NewWizardMessages.BuildPathsBlock_buildpath_up_button,
        NewWizardMessages.BuildPathsBlock_buildpath_down_button };
    fBuildPathList = new ListDialogField(null, buttonLabels,
        new PHPIPListLabelProvider());
    fBuildPathList.setDialogFieldListener(adapter);
    fBuildPathList
        .setLabelText(NewWizardMessages.BuildPathsBlock_buildpath_label);
    fBuildPathList.setUpButtonIndex(0);
View Full Code Here

Examples of org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField

        super(PAGE_NAME);
        setTitle("Method Cut Customization");
        setDescription("Select an optional target class and argument types that must match.");

        String[] buttonNames = new String[] { "Add...", "Remove", null, "Up", "Down"};
        fArgumentTypesDialogField = new ListDialogField(new ListAdapter(), buttonNames, new LabelProvider());
        fArgumentTypesDialogField.setDialogFieldListener(new IDialogFieldListener() {
            public void dialogFieldChanged(DialogField field) {
                fArgumentTypesStatus = updateArgumentTypes();
                handleFieldChanged(ARGUMENT_TYPES);
            }
View Full Code Here

Examples of org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField

        super(PAGE_NAME);
        setTitle("MethodRedefine Cut Customization");
        setDescription("Select an optional target class and argument types that must match.");

        String[] buttonNames = new String[] { "Add...", "Remove", null, "Up", "Down"};
        fArgumentTypesDialogField = new ListDialogField(new ListAdapter(), buttonNames, new LabelProvider());
        fArgumentTypesDialogField.setDialogFieldListener(new IDialogFieldListener() {
            public void dialogFieldChanged(DialogField field) {
                fArgumentTypesStatus = updateArgumentTypes();
                handleFieldChanged(ARGUMENT_TYPES);
            }
View Full Code Here

Examples of org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField

    fMapNameDialogField = new StringDialogField();
    fMapNameDialogField.setDialogFieldListener(this);
    fMapNameDialogField.setLabelText("Map name:");
    fMapNameDialogField.setText("default.map");
   
    fProjectListDialogField= new ListDialogField(this,
        new String[] { "Add...",   null, "Remove" },
        new WorkbenchLabelProvider());
    fProjectListDialogField.setDialogFieldListener(this);
    fProjectListDialogField.setLabelText("Projects:");
    fProjectListDialogField.setRemoveButtonIndex(2);

    fFileExtensionsDialogField= new ListDialogField(this,
        new String[] { "Add...",   null, "Remove" },
        new LabelProvider());
    fFileExtensionsDialogField.setDialogFieldListener(this);
    fFileExtensionsDialogField.setLabelText("File extensions:");
    fFileExtensionsDialogField.setRemoveButtonIndex(2);
View Full Code Here

Examples of org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField

    this.moduleNameField.setLabelText("Module name:");

    String[] addButtons = {
        NewWizardMessages.NewTypeWizardPage_interfaces_add, null,
        NewWizardMessages.NewTypeWizardPage_interfaces_remove };
    this.moduleInheritsDialogField = new ListDialogField(adapter,
        addButtons, new ModuleSelectionLabelProvider());
    this.moduleInheritsDialogField.setDialogFieldListener(adapter);
    this.moduleInheritsDialogField
        .setTableColumns(new ListDialogField.ColumnsDescription(1,
            false));
View Full Code Here

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

    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

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

    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

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

        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
Copyright © 2018 www.massapi.com. 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.