Package org.eclipse.jdt.internal.ui.wizards.dialogfields

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


        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

    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

    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

TOP

Related Classes of org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField

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.