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

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


            }
            connection.getConnectionParameter().setName( newConnectionName );
        }

        this.connectionList.add( index, connection );
        EventRegistry.fireConnectionUpdated( new ConnectionUpdateEvent( connection,
            ConnectionUpdateEvent.CONNECTION_ADDED ), this );
    }
View Full Code Here


     */
    public void removeConnection( IConnection conn )
    {
        this.connectionList.remove( conn );
        EventRegistry.fireConnectionUpdated(
            new ConnectionUpdateEvent( conn, ConnectionUpdateEvent.CONNECTION_REMOVED ), this );
    }
View Full Code Here

            }
            connection.getConnectionParameter().setName( newConnectionName );
        }

        this.connectionList.add( index, connection );
        EventRegistry.fireConnectionUpdated( new ConnectionUpdateEvent( connection,
            ConnectionUpdateEvent.CONNECTION_ADDED ), this );
    }
View Full Code Here

     */
    public void removeConnection( IConnection conn )
    {
        this.connectionList.remove( conn );
        EventRegistry.fireConnectionUpdated(
            new ConnectionUpdateEvent( conn, ConnectionUpdateEvent.CONNECTION_REMOVED ), this );
    }
View Full Code Here

                monitor.reportError( BrowserCoreMessages.model__error_loading_schema, e );
                e.printStackTrace();
                return;
            }

            EventRegistry.fireConnectionUpdated( new ConnectionUpdateEvent( this,
                ConnectionUpdateEvent.CONNECTION_OPENED ), this );
        }
    }
View Full Code Here

            this.entryToChildrenFilterMap.clear();

            modifyHandler.connectionClosed();
            searchHandler.connectionClosed();

            EventRegistry.fireConnectionUpdated( new ConnectionUpdateEvent( this,
                ConnectionUpdateEvent.CONNECTION_CLOSED ), this );
            System.gc();
        }
    }
View Full Code Here

                if ( le.hasNext( monitor ) )
                {
                    LdifContentRecord schemaRecord = ( LdifContentRecord ) le.next( monitor );
                    this.schema = new Schema();
                    this.schema.loadFromRecord( schemaRecord );
                    EventRegistry.fireConnectionUpdated( new ConnectionUpdateEvent( this,
                        ConnectionUpdateEvent.CONNECTION_SCHEMA_LOADED ), this );
                }
                else
                {
                    monitor.reportError( BrowserCoreMessages.model__no_schema_information );
View Full Code Here


    public void setFetchBaseDNs( boolean fetchBaseDNs )
    {
        this.connectionParameter.setFetchBaseDNs( fetchBaseDNs );
        EventRegistry.fireConnectionUpdated( new ConnectionUpdateEvent( this,
            ConnectionUpdateEvent.CONNECTION_PARAMETER_UPDATED ), this );
    }
View Full Code Here


    public void setBaseDN( DN baseDN )
    {
        this.connectionParameter.setBaseDN( baseDN );
        EventRegistry.fireConnectionUpdated( new ConnectionUpdateEvent( this,
            ConnectionUpdateEvent.CONNECTION_PARAMETER_UPDATED ), this );
    }
View Full Code Here


    public void setCountLimit( int countLimit )
    {
        this.connectionParameter.setCountLimit( countLimit );
        EventRegistry.fireConnectionUpdated( new ConnectionUpdateEvent( this,
            ConnectionUpdateEvent.CONNECTION_PARAMETER_UPDATED ), this );
    }
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.