Examples of DnBuilderWidget


Examples of org.apache.directory.ldapstudio.browser.common.widgets.DnBuilderWidget

    /**
     * {@inheritDoc}
     */
    public void createControl( Composite parent )
    {
        dnBuilderWidget = new DnBuilderWidget( true, true );
        dnBuilderWidget.addWidgetModifyListener( this );
        Composite composite = dnBuilderWidget.createContents( parent );

        setControl( composite );
    }
View Full Code Here

Examples of org.apache.directory.ldapstudio.browser.common.widgets.DnBuilderWidget

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

        BaseWidgetUtils.createLabel( composite, "Please enter the new RDN of the selected entry.", 1 );

        this.dnBuilderWidget = new DnBuilderWidget( true, false );
        this.dnBuilderWidget.addWidgetModifyListener( this );
        this.dnBuilderWidget.createContents( composite );
        this.dnBuilderWidget.setInput( this.entry.getConnection(), this.entry.getSubschema().getAllAttributeNames(),
            this.entry.getRdn(), null );

View Full Code Here

Examples of org.apache.directory.ldapstudio.browser.common.widgets.DnBuilderWidget

        composite.setLayoutData( gd );

        BaseWidgetUtils.createLabel( composite,
            "Please enter/select the parent DN where the selected entries should be moved to.", 1 );

        this.dnBuilderWidget = new DnBuilderWidget( false, true );
        this.dnBuilderWidget.addWidgetModifyListener( this );
        this.dnBuilderWidget.createContents( composite );
        this.dnBuilderWidget.setInput( this.entries[0].getConnection(), null, null, this.entries[0].getDn()
            .getParentDn() );
View Full Code Here

Examples of org.apache.directory.ldapstudio.browser.ui.widgets.DnBuilderWidget

    }


    public void createControl( Composite parent )
    {
        this.dnBuilderWidget = new DnBuilderWidget( true, true );
        this.dnBuilderWidget.addWidgetModifyListener( this );
        Composite composite = this.dnBuilderWidget.createContents( parent );

        setControl( composite );
    }
View Full Code Here

Examples of org.apache.directory.ldapstudio.browser.ui.widgets.DnBuilderWidget

    /**
     * {@inheritDoc}
     */
    public void createControl( Composite parent )
    {
        dnBuilderWidget = new DnBuilderWidget( true, true );
        dnBuilderWidget.addWidgetModifyListener( this );
        Composite composite = dnBuilderWidget.createContents( parent );

        setControl( composite );
    }
View Full Code Here

Examples of org.apache.directory.ldapstudio.browser.ui.widgets.DnBuilderWidget

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

        BaseWidgetUtils.createLabel( composite, "Please enter the new RDN of the selected entry.", 1 );

        this.dnBuilderWidget = new DnBuilderWidget( true, false );
        this.dnBuilderWidget.addWidgetModifyListener( this );
        this.dnBuilderWidget.createContents( composite );
        this.dnBuilderWidget.setInput( this.entry.getConnection(), this.entry.getSubschema().getAllAttributeNames(),
            this.entry.getRdn(), null );

View Full Code Here

Examples of org.apache.directory.ldapstudio.browser.ui.widgets.DnBuilderWidget

        composite.setLayoutData( gd );

        BaseWidgetUtils.createLabel( composite,
            "Please enter/select the parent DN where the selected entries should be moved to.", 1 );

        this.dnBuilderWidget = new DnBuilderWidget( false, true );
        this.dnBuilderWidget.addWidgetModifyListener( this );
        this.dnBuilderWidget.createContents( composite );
        this.dnBuilderWidget.setInput( this.entries[0].getConnection(), null, null, this.entries[0].getDn()
            .getParentDn() );
View Full Code Here

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

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

        BaseWidgetUtils.createLabel( composite, Messages.getString( "RenameEntryDialog.RenameEntryDescription" ), 1 ); //$NON-NLS-1$

        dnBuilderWidget = new DnBuilderWidget( true, false );
        dnBuilderWidget.addWidgetModifyListener( this );
        dnBuilderWidget.createContents( composite );
        Collection<AttributeTypeDescription> allAtds = SchemaUtils.getAllAttributeTypeDescriptions( entry );
        String[] allAttributeNames = SchemaUtils.getNames( allAtds ).toArray( ArrayUtils.EMPTY_STRING_ARRAY );
        dnBuilderWidget.setInput( entry.getBrowserConnection(), allAttributeNames, entry.getRdn(), null );
View Full Code Here

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

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

        BaseWidgetUtils.createLabel( composite, Messages.getString( "MoveEntriesDialog.MoveEntriesDescription" ), 1 ); //$NON-NLS-1$

        dnBuilderWidget = new DnBuilderWidget( false, true );
        dnBuilderWidget.addWidgetModifyListener( this );
        dnBuilderWidget.createContents( composite );
        dnBuilderWidget
            .setInput( entries[0].getBrowserConnection(), null, null, DnUtils.getParent( entries[0].getDn() ) );

View Full Code Here

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

        renameButton = BaseWidgetUtils.createRadiobutton( group, Messages
            .getString( "EntryExistsCopyStrategyDialogImpl.RenameEntryAndContinue" ), 2 ); //$NON-NLS-1$
        renameButton.addSelectionListener( listener );

        BaseWidgetUtils.createRadioIndent( group, 1 );
        dnBuilderWidget = new DnBuilderWidget( true, false );
        dnBuilderWidget.addWidgetModifyListener( new WidgetModifyListener()
        {
            public void widgetModified( WidgetModifyEvent event )
            {
                validate();
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.