Package org.apache.directory.studio.ldapbrowser.common.widgets

Examples of org.apache.directory.studio.ldapbrowser.common.widgets.ListContentProposalProvider


        administrativeRoleCombo = BaseWidgetUtils.createCombo( composite, new String[0], -1, 1 );
        administrativeRoleCombo.setVisibleItemCount( 20 );
        administrativeRoleCombo.setItems( administrativeRoleValues );
        administrativeRoleCombo.setText( initialValue );
        new ExtendedContentAssistCommandAdapter( administrativeRoleCombo, new ComboContentAdapter(),
            new ListContentProposalProvider( administrativeRoleCombo.getItems() ), null, null, true );

        applyDialogFont( composite );
        return composite;
    }
View Full Code Here


        objectClassCombo = BaseWidgetUtils.createCombo( composite, new String[0], -1, 1 );
        objectClassCombo.setVisibleItemCount( 20 );
        objectClassCombo.setItems( allOcNames );
        objectClassCombo.setText( initialValue );
        new ExtendedContentAssistCommandAdapter( objectClassCombo, new ComboContentAdapter(),
            new ListContentProposalProvider( objectClassCombo.getItems() ), null, null, true );

        applyDialogFont( composite );
        return composite;
    }
View Full Code Here

        administrativeRoleCombo = BaseWidgetUtils.createCombo( composite, new String[0], -1, 1 );
        administrativeRoleCombo.setVisibleItemCount( 20 );
        administrativeRoleCombo.setItems( administrativeRoleValues );
        administrativeRoleCombo.setText( initialValue );
        new ExtendedContentAssistCommandAdapter( administrativeRoleCombo, new ComboContentAdapter(),
            new ListContentProposalProvider( administrativeRoleCombo.getItems() ), null, null, true );

        applyDialogFont( composite );
        return composite;
    }
View Full Code Here

            if ( attribute != null )
            {
                String[] values = attribute.getStringValues();

                // content proposals
                contextEntryDnComboCPA.setContentProposalProvider( new ListContentProposalProvider( values ) );

                // fill namingContext values into combo
                contextEntryDnCombo.setItems( values );

                // preset combo text
View Full Code Here

        // attribute combo with field decoration and content proposal
        attributeTypeCombo = BaseWidgetUtils.createCombo( composite, possibleAttributeTypes, -1, 1 );
        attributeTypeCombo.setText( parsedAttributeType );
        new ExtendedContentAssistCommandAdapter( attributeTypeCombo, new ComboContentAdapter(),
            new ListContentProposalProvider( possibleAttributeTypes ), null, null, true );

        BaseWidgetUtils.createSpacer( composite, 1 );
        showSubschemAttributesOnlyButton = BaseWidgetUtils.createCheckbox( composite, "Show subschema attributes only",
            1 );
        showSubschemAttributesOnlyButton.setSelection( initialShowSubschemaAttributesOnly );
View Full Code Here

        // attribute combo with field decoration and content proposal
        attributeTypeCombo = BaseWidgetUtils.createCombo( composite, allAtNames, -1, 1 );
        attributeTypeCombo.setText( initialAttributeType );
        new ExtendedContentAssistCommandAdapter( attributeTypeCombo, new ComboContentAdapter(),
            new ListContentProposalProvider( attributeTypeCombo.getItems() ), null, null, true );

        BaseWidgetUtils.createLabel( composite, " = ", 1 ); //$NON-NLS-1$

        valueText = BaseWidgetUtils.createText( composite, initialValue, 1 );
View Full Code Here

            // type combo with field decoration and content proposal
            typeCombo = BaseWidgetUtils.createCombo( composite, allAtNames, -1, 1 );
            typeCombo.setText( initialType );
            new ExtendedContentAssistCommandAdapter( typeCombo, new ComboContentAdapter(),
                new ListContentProposalProvider( typeCombo.getItems() ), null, null, true );

            BaseWidgetUtils.createLabel( composite, SEP_VALUESIN, 1 );

            // valuesIn combo with field decoration and content proposal
            valuesInCombo = BaseWidgetUtils.createCombo( composite, allAtNames, -1, 1 );
            valuesInCombo.setText( initialValuesIn );
            new ExtendedContentAssistCommandAdapter( valuesInCombo, new ComboContentAdapter(),
                new ListContentProposalProvider( valuesInCombo.getItems() ), null, null, true );

            BaseWidgetUtils.createLabel( composite, R_CURLY, 1 );

            applyDialogFont( composite );
            return composite;
View Full Code Here

            // attribute combo with field decoration and content proposal
            attributeTypeCombo = BaseWidgetUtils.createCombo( composite, allAtNames, -1, 1 );
            attributeTypeCombo.setText( initialType );
            new ExtendedContentAssistCommandAdapter( attributeTypeCombo, new ComboContentAdapter(),
                new ListContentProposalProvider( attributeTypeCombo.getItems() ), null, null, true );

            BaseWidgetUtils.createLabel( composite, SEP_MAXCOUNT, 1 );

            maxCountSpinner = new Spinner( composite, SWT.BORDER );
            maxCountSpinner.setMinimum( 0 );
View Full Code Here

        // attribute combo with field decoration and content proposal
        attributeTypeCombo = BaseWidgetUtils.createCombo( composite, allAtNames, -1, 1 );
        attributeTypeCombo.setText( initialValue );
        new ExtendedContentAssistCommandAdapter( attributeTypeCombo, new ComboContentAdapter(),
            new ListContentProposalProvider( attributeTypeCombo.getItems() ), null, null, true );

        applyDialogFont( composite );
        return composite;
    }
View Full Code Here

TOP

Related Classes of org.apache.directory.studio.ldapbrowser.common.widgets.ListContentProposalProvider

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.