Package org.apache.directory.ldapstudio.browser.core.events

Examples of org.apache.directory.ldapstudio.browser.core.events.ConnectionUpdateEvent


    protected void runNotification()
    {
        for ( int i = 0; i < connections.length; i++ )
        {
            EventRegistry.fireConnectionUpdated( new ConnectionUpdateEvent( connections[i],
                ConnectionUpdateEvent.CONNECTION_SCHEMA_LOADED ), this );
        }
    }
View Full Code Here


    {
        for ( int i = 0; i < connections.length; i++ )
        {
            if ( connections[i].isOpened() )
            {
                EventRegistry.fireConnectionUpdated( new ConnectionUpdateEvent( connections[i],
                    ConnectionUpdateEvent.CONNECTION_OPENED ), this );
            }
            else
            {
                EventRegistry.fireConnectionUpdated( new ConnectionUpdateEvent( connections[i],
                    ConnectionUpdateEvent.CONNECTION_CLOSED ), this );
            }
        }
    }
View Full Code Here

        Composite connectionComboControl = BaseWidgetUtils.createColumnContainer( control, 1, 1 );
        // connectionComboControl.setLayoutData(new
        // GridData(GridData.GRAB_HORIZONTAL));
        connectionCombo = BaseWidgetUtils.createReadonlyCombo( connectionComboControl, new String[0], 0, 1 );
        connectionCombo.setLayoutData( new GridData( SWT.FILL, SWT.CENTER, true, true ) );
        connectionUpdated( new ConnectionUpdateEvent( null, 0 ) );
        connectionCombo.addModifyListener( new ModifyListener()
        {
            public void modifyText( ModifyEvent e )
            {
                IConnection connection = BrowserCorePlugin.getDefault().getConnectionManager().getConnection(
View Full Code Here

TOP

Related Classes of org.apache.directory.ldapstudio.browser.core.events.ConnectionUpdateEvent

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.