Package net.sf.logsaw.ui.editors

Examples of net.sf.logsaw.ui.editors.ILogViewEditor.goToPage()


    ILogViewEditor editor =
      (ILogViewEditor) page.getActiveEditor().getAdapter(ILogViewEditor.class);
    if (editor != null) {
      String pageNumber = event.getParameter(
          "net.sf.logsaw.ui.commands.GoToPageCommand.pageNumber"); //$NON-NLS-1$
      editor.goToPage(Integer.valueOf(pageNumber));
     
      // Request re-evaluation
      IEvaluationService service =
        (IEvaluationService) window.getService(IEvaluationService.class);
      service.requestEvaluation("net.sf.logsaw.ui.expressions.logViewEditor.isPreviousPageAllowed"); //$NON-NLS-1$
View Full Code Here


            IEditorPart editorPart = editorRef.getEditor(false);
            ILogViewEditor editor = editorPart != null ?
                (ILogViewEditor) editorPart.getAdapter(ILogViewEditor.class) : null;
            if (editor != null) {
              editor.clearQueryContext();
              editor.goToPage(1);
            }
          }
        } catch (CoreException e) {
          statuses.add(e.getStatus());
        }
View Full Code Here

      FilterSettingsDialog dlg = new FilterSettingsDialog(
          Display.getDefault().getActiveShell(), log, list, added);
      if (dlg.open() == Window.OK) {
        // Update input and refresh editor view
        rest.setRestrictions(dlg.getRestrictions());
        editor.goToPage(1);
       
        // Request re-evaluation
        IEvaluationService service =
          (IEvaluationService) window.getService(IEvaluationService.class);
        service.requestEvaluation("net.sf.logsaw.ui.expressions.logViewEditor.isPreviousPageAllowed"); //$NON-NLS-1$
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.