Package net.sf.logsaw.core.query

Examples of net.sf.logsaw.core.query.IRestrictable


    IWorkbenchPage page = window.getActivePage();
    ILogViewEditor editor =
      (ILogViewEditor) page.getActiveEditor().getAdapter(ILogViewEditor.class);
    if (editor != null) {
      ILogResource log = editor.getLogResource();
      IRestrictable rest = editor.getRestrictable();
      List<ARestriction<?>> list = rest.getRestrictions();
      // Add restriction provided by Quick Filter
      boolean added = addNewRestriction(list, event, log);
     
      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);
View Full Code Here

TOP

Related Classes of net.sf.logsaw.core.query.IRestrictable

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.