Package org.epic.perleditor.views

Examples of org.epic.perleditor.views.PerlDocView$FindReplaceTarget


            {
                return;
            }
        }

        PerlDocView view = null;
        IWorkbenchPage activePage = PerlEditorPlugin.getWorkbenchWindow().getActivePage();

        try
        {
            view = (PerlDocView) activePage.showView("org.epic.perleditor.views.PerlDocView");
            view.search(selection, editor);
        }
        catch (PartInitException e)
        {
            PerlEditorPlugin.getDefault().getLog().log(
                StatusFactory.createError(PerlEditorPlugin.getPluginId(), e.getMessage(), e));
View Full Code Here


    public void testAll() throws Exception
    {
        PerlEditor editor = openEditor("EPICTest/test_PerlDoc.pl");
        PerlEditor.TestInterface testIface = editor.getTestInterface();
        PerlDocView view = null;
       
        try
        {
            view = (PerlDocView) findView(VIEW_ID);
            if (view != null) closeView(view);
           
            testIface.selectText("print");
           
            IAction perlDocAction = editor.getAction(PerlEditorActionIds.PERL_DOC);
            perlDocAction.run();
           
            view = (PerlDocView) findView(VIEW_ID);
            assertNotNull(view);
            assertTrue(
                view.getDisplayedText(0).indexOf("print FILEHANDLE LIST") != -1);
        }
        finally
        {
            if (view != null) closeView(view);
            closeEditor(editor);
View Full Code Here

TOP

Related Classes of org.epic.perleditor.views.PerlDocView$FindReplaceTarget

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.