Package org.apache.directory.studio.connection.core.jobs

Examples of org.apache.directory.studio.connection.core.jobs.OpenConnectionsJob


                case BrowserCategory.TYPE_DIT:
                {
                    // open connection when expanding DIT
                    if ( !connection.getConnection().getJNDIConnectionWrapper().isConnected() )
                    {
                        new OpenConnectionsJob( connection.getConnection() ).execute();
                        return new String[]
                            { "Opening Connection..." };
                    }

                    return new Object[]
View Full Code Here


       
        // add connection to folder
        selectedConnectionFolder.addConnectionId( conn.getId() );

        // open connection
        new OpenConnectionsJob( conn ).execute();

        return true;
    }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    public void run()
    {
        OpenConnectionsJob ocj = new OpenConnectionsJob( getSelectedConnections() );
        ocj.execute();
    }
View Full Code Here

                case BrowserCategory.TYPE_DIT:
                {
                    // open connection when expanding DIT
                    if ( !connection.getConnection().getJNDIConnectionWrapper().isConnected() )
                    {
                        new OpenConnectionsJob( connection.getConnection() ).execute();
                        return new String[]
                            { "Opening Connection..." };
                    }

                    return new Object[]
View Full Code Here

        {
            connection.getJNDIConnectionWrapper().disconnect();
        }
        else
        {
            OpenConnectionsJob ocj = new OpenConnectionsJob( connection );
            ocj.execute();
        }
    }
View Full Code Here

        // create persistent connection
        final Connection conn = new Connection( connectionParameter );
        ConnectionCorePlugin.getDefault().getConnectionManager().addConnection( conn );

        // open connection
        new OpenConnectionsJob( conn ).execute();

        return true;
    }
View Full Code Here

TOP

Related Classes of org.apache.directory.studio.connection.core.jobs.OpenConnectionsJob

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.