Package org.apache.directory.studio.schemaeditor.view.views

Examples of org.apache.directory.studio.schemaeditor.view.views.SearchView


        }

        // Opening the SearchView and displaying the results
        try
        {
            SearchView searchView = ( SearchView ) Activator.getDefault().getWorkbench().getActiveWorkbenchWindow()
                .getActivePage().showView( SearchView.ID );
            searchView.setSearchInput( searchCombo.getText(), searchIn.toArray( new SearchInEnum[0] ), scope );
        }
        catch ( PartInitException e )
        {
            PluginUtils.logError( Messages.getString( "SearchPage.ErrorOpeningView" ), e ); //$NON-NLS-1$
            ViewUtils.displayErrorMessageBox(
View Full Code Here


        }

        // Opening the SearchView and displaying the results
        try
        {
            SearchView searchView = ( SearchView ) Activator.getDefault().getWorkbench().getActiveWorkbenchWindow()
                .getActivePage().showView( SearchView.ID );
            searchView.setSearchInput( searchCombo.getText(), searchScope.toArray( new SearchScopeEnum[0] ) );
        }
        catch ( PartInitException e )
        {
            PluginUtils.logError( "An error occured when opening the view.", e );
            ViewUtils.displayErrorMessageBox( "Error", "An error occured when opening the view." );
View Full Code Here

        }

        // Opening the SearchView and displaying the results
        try
        {
            SearchView searchView = ( SearchView ) Activator.getDefault().getWorkbench().getActiveWorkbenchWindow()
                .getActivePage().showView( SearchView.ID );
            searchView.setSearchInput( searchCombo.getText(), searchIn.toArray( new SearchInEnum[0] ), scope );
        }
        catch ( PartInitException e )
        {
            PluginUtils.logError( Messages.getString( "SearchPage.ErrorOpeningView" ), e ); //$NON-NLS-1$
            ViewUtils.displayErrorMessageDialog(
View Full Code Here

        }

        // Opening the SearchView and displaying the results
        try
        {
            SearchView searchView = ( SearchView ) Activator.getDefault().getWorkbench().getActiveWorkbenchWindow()
                .getActivePage().showView( SearchView.ID );
            searchView.setSearchInput( searchCombo.getText(), searchIn.toArray( new SearchInEnum[0] ), scope );
        }
        catch ( PartInitException e )
        {
            PluginUtils.logError( "An error occured when opening the view.", e );
            ViewUtils.displayErrorMessageBox( "Error", "An error occured when opening the view." );
View Full Code Here

TOP

Related Classes of org.apache.directory.studio.schemaeditor.view.views.SearchView

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.