Package org.apache.directory.ldapstudio.browser.common.widgets.search

Examples of org.apache.directory.ldapstudio.browser.common.widgets.search.EntryWidget


        gridData.verticalAlignment = GridData.CENTER;
        gridData.horizontalAlignment = GridData.BEGINNING;
        typeCombo.setLayoutData( gridData );

        BaseWidgetUtils.createLabel( composite, Messages.getString( "ExclusionValueEditor.label.rdn" ), 1 ); //$NON-NLS-1$
        entryWidget = new EntryWidget( connection, null, base );
        entryWidget.createWidget( composite );
        try
        {
            DN dn = new DN( initalDN );
            entryWidget.setInput( connection, dn, base );
View Full Code Here


        templateButton = BaseWidgetUtils.createRadiobutton( composite, "Use existing entry as template", 1 );
        templateButton.addSelectionListener( this );

        Composite entryComposite = BaseWidgetUtils.createColumnContainer( composite, 3, 1 );
        BaseWidgetUtils.createRadioIndent( entryComposite, 1 );
        entryWidget = new EntryWidget( wizard.getSelectedConnection(), wizard.getSelectedEntry() != null ? wizard
            .getSelectedEntry().getDn() : null );
        entryWidget.createWidget( entryComposite );
        entryWidget.addWidgetModifyListener( this );

        if ( BrowserUIPlugin.getDefault().getDialogSettings().get( PREFERRED_ENTRY_CREATION_METHOD_DIALOGSETTING_KEY ) == null )
View Full Code Here

        GridData gd = new GridData( GridData.FILL_BOTH );
        gd.widthHint = convertHorizontalDLUsToPixels( IDialogConstants.MINIMUM_MESSAGE_AREA_WIDTH ) * 3 / 2;
        composite.setLayoutData( gd );

        Composite innerComposite = BaseWidgetUtils.createColumnContainer( composite, 2, 1 );
        this.entryWidget = new EntryWidget( connection, dn );
        this.entryWidget.addWidgetModifyListener( this );
        this.entryWidget.createWidget( innerComposite );

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

            suffix = subentryDN != null ? subentryDN.getParentDn() : null;
        }
        catch ( NameException e )
        {
        }
        entryWidget = new EntryWidget( connection, base, suffix );
        entryWidget.createWidget( composite );
        entryWidget.addWidgetModifyListener( new WidgetModifyListener()
        {
            public void widgetModified( WidgetModifyEvent event )
            {
View Full Code Here

                validate();
            }
        } );

        BaseWidgetUtils.createLabel( innerComposite, "Bookmark DN:", 1 );
        bookmarkEntryWidget = new EntryWidget();
        bookmarkEntryWidget.addWidgetModifyListener( this );
        bookmarkEntryWidget.createWidget( innerComposite );
        bookmarkEntryWidget.setInput( entry.getConnection(), entry.getDn() );

        setControl( composite );
View Full Code Here

                validate();
            }
        } );

        BaseWidgetUtils.createLabel( innerComposite, "Bookmark DN:", 1 );
        this.bookmarkEntryWidget = new EntryWidget();
        this.bookmarkEntryWidget.createWidget( innerComposite );
        if ( this.bookmark != null )
        {
            this.bookmarkEntryWidget.setInput( this.bookmark.getConnection(), this.bookmark.getDn() );
        }
View Full Code Here

        // draw parent
        if ( showParent )
        {
            BaseWidgetUtils.createLabel( composite, "Parent:", 1 );
            parentEntryWidget = new EntryWidget();
            parentEntryWidget.createWidget( composite );
            parentEntryWidget.addWidgetModifyListener( new WidgetModifyListener()
            {
                public void widgetModified( WidgetModifyEvent event )
                {
View Full Code Here

TOP

Related Classes of org.apache.directory.ldapstudio.browser.common.widgets.search.EntryWidget

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.