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

Examples of org.apache.directory.ldapstudio.browser.core.jobs.OpenConnectionsJob


        if ( wizard.getSelectedConnection() != null )
        {
            if( !wizard.getSelectedConnection().isOpened() )
            {
                OpenConnectionsJob job = new OpenConnectionsJob(wizard.getSelectedConnection());
                RunnableContextJobAdapter.execute( job, getContainer() );
            }
           
            availableObjectClasses.addAll( Arrays.asList( wizard.getSelectedConnection().getSchema()
                .getObjectClassDescriptions() ) );
View Full Code Here


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

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

                    return new Object[]
View Full Code Here

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

        if ( conn != null )
        {
            BrowserCorePlugin.getDefault().getConnectionManager().addConnection( conn );
            if ( cpw.isOpenConnectionOnFinish() )
            {
                new OpenConnectionsJob( conn ).execute();
            }
            cpw.saveDialogSettings();
            return true;
        }
        return false;
View Full Code Here

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

                case BrowserCategory.TYPE_DIT:
                {
                    // open connection when expanding DIT
                    if ( !connection.isOpened() )
                    {
                        new OpenConnectionsJob( connection ).execute();
                        return new String[]
                            { "Fetching Entries..." };
                    }

                    // get base entries
View Full Code Here

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

        if ( conn != null )
        {
            BrowserCorePlugin.getDefault().getConnectionManager().addConnection( conn );
            if ( cpw.isOpenConnectionOnFinish() )
            {
                new OpenConnectionsJob( conn ).execute();
            }
            cpw.saveDialogSettings();
            return true;
        }
        return false;
View Full Code Here

                {

                    // open connection when expanding DIT
                    if ( !connection.isOpened() )
                    {
                        new OpenConnectionsJob( connection ).execute();
                        return new String[]
                            { "Fetching Entries..." };
                    }

                    // get base entries
View Full Code Here

TOP

Related Classes of org.apache.directory.ldapstudio.browser.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.