Java 类org.apache.log4j.lf5.viewer.LogTableColumn 实例源码

项目:cacheonix-core    文件:ConfigurationManager.java   
public void save() {
  CategoryExplorerModel model = _monitor.getCategoryExplorerTree().getExplorerModel();
  CategoryNode root = model.getRootCategoryNode();

  StringBuffer xml = new StringBuffer(2048);
  openXMLDocument(xml);
  openConfigurationXML(xml);
  processLogRecordFilter(_monitor.getNDCTextFilter(), xml);
  processLogLevels(_monitor.getLogLevelMenuItems(), xml);
  processLogLevelColors(_monitor.getLogLevelMenuItems(),
      LogLevel.getLogLevelColorMap(), xml);
  processLogTableColumns(LogTableColumn.getLogTableColumns(), xml);
  processConfigurationNode(root, xml);
  closeConfigurationXML(xml);
  store(xml.toString());
}
项目:daq-eclipse    文件:ConfigurationManager.java   
public void save() {
  CategoryExplorerModel model = _monitor.getCategoryExplorerTree().getExplorerModel();
  CategoryNode root = model.getRootCategoryNode();

  StringBuffer xml = new StringBuffer(2048);
  openXMLDocument(xml);
  openConfigurationXML(xml);
  processLogRecordFilter(_monitor.getNDCTextFilter(), xml);
  processLogLevels(_monitor.getLogLevelMenuItems(), xml);
  processLogLevelColors(_monitor.getLogLevelMenuItems(),
      LogLevel.getLogLevelColorMap(), xml);
  processLogTableColumns(LogTableColumn.getLogTableColumns(), xml);
  processConfigurationNode(root, xml);
  closeConfigurationXML(xml);
  store(xml.toString());
}
项目:nabs    文件:ConfigurationManager.java   
public void save() {
  CategoryExplorerModel model = _monitor.getCategoryExplorerTree().getExplorerModel();
  CategoryNode root = model.getRootCategoryNode();

  StringBuffer xml = new StringBuffer(2048);
  openXMLDocument(xml);
  openConfigurationXML(xml);
  processLogRecordFilter(_monitor.getNDCTextFilter(), xml);
  processLogLevels(_monitor.getLogLevelMenuItems(), xml);
  processLogLevelColors(_monitor.getLogLevelMenuItems(),
      LogLevel.getLogLevelColorMap(), xml);
  processLogTableColumns(LogTableColumn.getLogTableColumns(), xml);
  processConfigurationNode(root, xml);
  closeConfigurationXML(xml);
  store(xml.toString());
}
项目:cacheonix-core    文件:ConfigurationManager.java   
private void processLogTableColumns(List logTableColumnMenuItems, StringBuffer xml) {
  xml.append("\t<logtablecolumns>\r\n");
  Iterator it = logTableColumnMenuItems.iterator();
  while (it.hasNext()) {
    LogTableColumn column = (LogTableColumn) it.next();
    JCheckBoxMenuItem item = _monitor.getTableColumnMenuItem(column);
    exportLogTableColumnXMLElement(column.getLabel(), item.isSelected(), xml);
  }

  xml.append("\t</logtablecolumns>\r\n");
}
项目:daq-eclipse    文件:ConfigurationManager.java   
private void processLogTableColumns(List logTableColumnMenuItems, StringBuffer xml) {
  xml.append("\t<logtablecolumns>\r\n");
  Iterator it = logTableColumnMenuItems.iterator();
  while (it.hasNext()) {
    LogTableColumn column = (LogTableColumn) it.next();
    JCheckBoxMenuItem item = _monitor.getTableColumnMenuItem(column);
    exportLogTableColumnXMLElement(column.getLabel(), item.isSelected(), xml);
  }

  xml.append("\t</logtablecolumns>\r\n");
}
项目:nabs    文件:ConfigurationManager.java   
private void processLogTableColumns(List logTableColumnMenuItems, StringBuffer xml) {
  xml.append("\t<logtablecolumns>\r\n");
  Iterator it = logTableColumnMenuItems.iterator();
  while (it.hasNext()) {
    LogTableColumn column = (LogTableColumn) it.next();
    JCheckBoxMenuItem item = _monitor.getTableColumnMenuItem(column);
    exportLogTableColumnXMLElement(column.getLabel(), item.isSelected(), xml);
  }

  xml.append("\t</logtablecolumns>\r\n");
}