Package org.apache.directory.studio.ldapbrowser.common.dialogs

Examples of org.apache.directory.studio.ldapbrowser.common.dialogs.SelectBrowserConnectionDialog


            .getString( "BrowserConnectionWidget.BrowseButton" ), 1 ); //$NON-NLS-1$
        connectionBrowseButton.addSelectionListener( new SelectionAdapter()
        {
            public void widgetSelected( SelectionEvent e )
            {
                SelectBrowserConnectionDialog dialog = new SelectBrowserConnectionDialog( parent.getShell(), Messages
                    .getString( "BrowserConnectionWidget.SelectConnection" ), selectedBrowserConnection ); //$NON-NLS-1$
                dialog.open();
                IBrowserConnection browserConnection = dialog.getSelectedBrowserConnection();
                if ( browserConnection != null )
                {
                    setBrowserConnection( browserConnection );
                    notifyListeners();
                }
View Full Code Here


        connectionBrowseButton = BaseWidgetUtils.createButton( parent, "B&rowse...", 1 );
        connectionBrowseButton.addSelectionListener( new SelectionAdapter()
        {
            public void widgetSelected( SelectionEvent e )
            {
                SelectBrowserConnectionDialog dialog = new SelectBrowserConnectionDialog( parent.getShell(),
                    "Select Connection", selectedBrowserConnection );
                dialog.open();
                IBrowserConnection browserConnection = dialog.getSelectedBrowserConnection();
                if ( browserConnection != null )
                {
                    setBrowserConnection( browserConnection );
                    notifyListeners();
                }
View Full Code Here

        connectionBrowseButton.addSelectionListener( new SelectionAdapter()
        {
            public void widgetSelected( SelectionEvent e )
            {
                // if(selectedConnection != null) {
                SelectBrowserConnectionDialog dialog = new SelectBrowserConnectionDialog( parent.getShell(), "Select Connection",
                    selectedBrowserConnection );
                dialog.open();
                IBrowserConnection browserConnection = dialog.getSelectedBrowserConnection();
                if ( browserConnection != null )
                {
                    setBrowserConnection( browserConnection );
                    notifyListeners();
                }
View Full Code Here

            .getString( "BrowserConnectionWidget.BrowseButton" ), 1 ); //$NON-NLS-1$
        connectionBrowseButton.addSelectionListener( new SelectionAdapter()
        {
            public void widgetSelected( SelectionEvent e )
            {
                SelectBrowserConnectionDialog dialog = new SelectBrowserConnectionDialog( parent.getShell(), Messages
                    .getString( "BrowserConnectionWidget.SelectConnection" ), selectedBrowserConnection ); //$NON-NLS-1$
                dialog.open();
                IBrowserConnection browserConnection = dialog.getSelectedBrowserConnection();
                if ( browserConnection != null )
                {
                    setBrowserConnection( browserConnection );
                    notifyListeners();
                }
View Full Code Here

        // Checking if we already have a connection
        if ( connection == null )
        {
            // Requesting the user to select a connection
            SelectBrowserConnectionDialog dialog = new SelectBrowserConnectionDialog( editor.getSite().getShell(),
                Messages.getString( "ExecuteLdifAction.SelectConnection" ), null ); //$NON-NLS-1$
            if ( dialog.open() == SelectBrowserConnectionDialog.OK )
            {
                connection = dialog.getSelectedBrowserConnection();

                if ( connection != null )
                {
                    editor.setConnection( connection, true );
                }
View Full Code Here

        connectionBrowseButton = BaseWidgetUtils.createButton( parent, "B&rowse...", 1 );
        connectionBrowseButton.addSelectionListener( new SelectionAdapter()
        {
            public void widgetSelected( SelectionEvent e )
            {
                SelectBrowserConnectionDialog dialog = new SelectBrowserConnectionDialog( parent.getShell(),
                    "Select Connection", selectedBrowserConnection );
                dialog.open();
                IBrowserConnection browserConnection = dialog.getSelectedBrowserConnection();
                if ( browserConnection != null )
                {
                    setBrowserConnection( browserConnection );
                    notifyListeners();
                }
View Full Code Here

TOP

Related Classes of org.apache.directory.studio.ldapbrowser.common.dialogs.SelectBrowserConnectionDialog

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.