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

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


        {
            connection.getJNDIConnectionWrapper().disconnect();
        }
        else
        {
            new StudioBrowserJob( new OpenConnectionsRunnable( connection ) ).execute();
        }
    }
View Full Code Here


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

            .getConnectionFolderManager();
        ConnectionFolder rootConnectionFolder = connectionFolderManager.getRootConnectionFolder();
        rootConnectionFolder.addConnectionId( connection.getId() );

        selectConnection( name );
        StudioConnectionJob job = new StudioConnectionJob( new OpenConnectionsRunnable( connection ) );
        job.execute();
        job.join();

        return connection;
    }
View Full Code Here

                {
                    // open connection when expanding DIT
                    if ( browserConnection.getConnection() != null
                        && !browserConnection.getConnection().getJNDIConnectionWrapper().isConnected() )
                    {
                        new StudioBrowserJob( new OpenConnectionsRunnable( browserConnection.getConnection() ) )
                            .execute();
                        return new String[]
                            { Messages.getString( "BrowserContentProvider.OpeningConnection" ) }; //$NON-NLS-1$
                    }
View Full Code Here

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

        // open connection
        new StudioConnectionJob( new OpenConnectionsRunnable( conn ) ).execute();

        return true;
    }
View Full Code Here

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

                    return new Object[]
View Full Code Here

            .getConnectionFolderManager();
        ConnectionFolder rootConnectionFolder = connectionFolderManager.getRootConnectionFolder();
        rootConnectionFolder.addConnectionId( connection.getId() );

        selectConnection( name );
        StudioConnectionJob job = new StudioConnectionJob( new OpenConnectionsRunnable( connection ) );
        job.execute();
        job.join();

        return connection;
    }
View Full Code Here

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

        // open connection
        new StudioConnectionJob( new OpenConnectionsRunnable( conn ) ).execute();

        return true;
    }
View Full Code Here

        {
            connection.getConnectionWrapper().disconnect();
        }
        else
        {
            new StudioBrowserJob( new OpenConnectionsRunnable( connection ) ).execute();
        }
    }
View Full Code Here

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

        // open connection
        new StudioConnectionJob( new OpenConnectionsRunnable( conn ) ).execute();

        return true;
    }
View Full Code Here

TOP

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

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.