Package org.apache.log4j.lf5.viewer.categoryexplorer

Examples of org.apache.log4j.lf5.viewer.categoryexplorer.CategoryPath


/* 193 */     int j = getValue(map, "name").equalsIgnoreCase("Categories") ? 1 : 0;
/*     */
/* 196 */     for (int i = nodeList.getLength() - 1; i >= j; i--) {
/* 197 */       Node n = nodeList.item(i);
/* 198 */       map = n.getAttributes();
/* 199 */       CategoryNode chnode = model.addCategory(new CategoryPath(getValue(map, "path")));
/* 200 */       chnode.setSelected(getValue(map, "selected").equalsIgnoreCase("true"));
/* 201 */       if (getValue(map, "expanded").equalsIgnoreCase("true"));
/* 202 */       tree.expandPath(model.getTreePathToRoot(chnode));
/*     */     }
/*     */   }
View Full Code Here


/*      */
/*      */   protected LogRecordFilter createLogRecordFilter()
/*      */   {
/*  579 */     LogRecordFilter result = new LogRecordFilter() {
/*      */       public boolean passes(LogRecord record) {
/*  581 */         CategoryPath path = new CategoryPath(record.getCategory());
/*  582 */         return (LogBrokerMonitor.this.getMenuItem(record.getLevel()).isSelected()) && (LogBrokerMonitor.this._categoryExplorerTree.getExplorerModel().isCategoryPathActive(path));
/*      */       }
/*      */     };
/*  587 */     return result;
/*      */   }
View Full Code Here

/*      */   {
/*  593 */     this._NDCTextFilter = text;
/*  594 */     LogRecordFilter result = new LogRecordFilter() {
/*      */       public boolean passes(LogRecord record) {
/*  596 */         String NDC = record.getNDC();
/*  597 */         CategoryPath path = new CategoryPath(record.getCategory());
/*  598 */         if ((NDC == null) || (LogBrokerMonitor.this._NDCTextFilter == null))
/*  599 */           return false;
/*  600 */         if (NDC.toLowerCase().indexOf(LogBrokerMonitor.this._NDCTextFilter.toLowerCase()) == -1) {
/*  601 */           return false;
/*      */         }
View Full Code Here

    addTableModelProperties();

    //
    // Configure ConfigurationManager
    //
    _configurationManager = new ConfigurationManager(this, _table);

  }
View Full Code Here

    addTableModelProperties();

    //
    // Configure ConfigurationManager
    //
    _configurationManager = new ConfigurationManager(this, _table);

  }
View Full Code Here

    addTableModelProperties();

    //
    // Configure ConfigurationManager
    //
    _configurationManager = new ConfigurationManager(this, _table);

  }
View Full Code Here

  private final MRUFileManager fileManager;

  private final List<JMenu> menus = new LinkedList<JMenu>();

  private RecentFilesManager() {
    fileManager = new MRUFileManager(NUM_OF_FILES);
  }
View Full Code Here

    JScrollPane categoryExplorerTreeScrollPane =
        new JScrollPane(_categoryExplorerTree);
    categoryExplorerTreeScrollPane.setPreferredSize(new Dimension(130, 400));

    // Load most recently used file list
    _mruFileManager = new MRUFileManager();

    //
    // Configure the SplitPane between the CategoryExplorer & (LogTable/Detail)
    //
View Full Code Here

    JScrollPane categoryExplorerTreeScrollPane =
        new JScrollPane(_categoryExplorerTree);
    categoryExplorerTreeScrollPane.setPreferredSize(new Dimension(130, 400));

    // Load most recently used file list
    _mruFileManager = new MRUFileManager();

    //
    // Configure the SplitPane between the CategoryExplorer & (LogTable/Detail)
    //
View Full Code Here

    JScrollPane categoryExplorerTreeScrollPane =
        new JScrollPane(_categoryExplorerTree);
    categoryExplorerTreeScrollPane.setPreferredSize(new Dimension(130, 400));

    // Load most recently used file list
    _mruFileManager = new MRUFileManager();

    //
    // Configure the SplitPane between the CategoryExplorer & (LogTable/Detail)
    //
View Full Code Here

TOP

Related Classes of org.apache.log4j.lf5.viewer.categoryexplorer.CategoryPath

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.