@Test public void testUpdateGui() { System.out.println("updateGui"); CompositeGraphGui instance = new CompositeGraphGui(); instance.updateGui(); }
@Override public void updateGui() { Iterator<String[]> iter = compositeRowsSelectorPanel.getItems(); HashSet<String> validRows = new HashSet<String>(); while (iter.hasNext()) { String[] item = iter.next(); AbstractGraphRow row = compositeModel.getRow(item[0], item[1]); if (row != null) { String rowName = item[0] + " > " + item[1]; validRows.add(rowName); if (!model.containsKey(rowName)) { CompositeGraphRow compositeRow = new CompositeGraphRow(row); compositeRow.setColor(colors.getNextColor()); model.put(rowName, compositeRow); if (relativeStartTime == 0 || relativeStartTime > row.getFirstTime()) { relativeStartTime = row.getFirstTime(); handleRelativeStartTime(); } } } } Iterator<String> iterModelRows = model.keySet().iterator(); while (iterModelRows.hasNext()) { String rowName = iterModelRows.next(); if (!validRows.contains(rowName)) { iterModelRows.remove(); } } super.updateGui(); }
CompositeGraphGui extends AbstractOverTimeVisualizer { @Override public void updateGui() { Iterator<String[]> iter = compositeRowsSelectorPanel.getItems(); HashSet<String> validRows = new HashSet<String>(); while (iter.hasNext()) { String[] item = iter.next(); AbstractGraphRow row = compositeModel.getRow(item[0], item[1]); if (row != null) { String rowName = item[0] + " > " + item[1]; validRows.add(rowName); if (!model.containsKey(rowName)) { CompositeGraphRow compositeRow = new CompositeGraphRow(row); compositeRow.setColor(colors.getNextColor()); model.put(rowName, compositeRow); if (relativeStartTime == 0 || relativeStartTime > row.getFirstTime()) { relativeStartTime = row.getFirstTime(); handleRelativeStartTime(); } } } } Iterator<String> iterModelRows = model.keySet().iterator(); while (iterModelRows.hasNext()) { String rowName = iterModelRows.next(); if (!validRows.contains(rowName)) { iterModelRows.remove(); } } super.updateGui(); } }
CompositeGraphGui extends AbstractOverTimeVisualizer { @Override public void updateGui() { Iterator<String[]> iter = compositeRowsSelectorPanel.getItems(); HashSet<String> validRows = new HashSet<String>(); while (iter.hasNext()) { String[] item = iter.next(); AbstractGraphRow row = compositeModel.getRow(item[0], item[1]); if (row != null) { String rowName = item[0] + " > " + item[1]; validRows.add(rowName); if (!model.containsKey(rowName)) { CompositeGraphRow compositeRow = new CompositeGraphRow(row); compositeRow.setColor(colors.getNextColor()); model.put(rowName, compositeRow); if (relativeStartTime == 0 || relativeStartTime > row.getFirstTime()) { relativeStartTime = row.getFirstTime(); handleRelativeStartTime(); } } } } Iterator<String> iterModelRows = model.keySet().iterator(); while (iterModelRows.hasNext()) { String rowName = iterModelRows.next(); if (!validRows.contains(rowName)) { iterModelRows.remove(); } } super.updateGui(); } CompositeGraphGui(); }
CompositeGraphGui extends AbstractOverTimeVisualizer { @Override public void updateGui() { Iterator<String[]> iter = compositeRowsSelectorPanel.getItems(); HashSet<String> validRows = new HashSet<String>(); while (iter.hasNext()) { String[] item = iter.next(); AbstractGraphRow row = compositeModel.getRow(item[0], item[1]); if (row != null) { String rowName = item[0] + " > " + item[1]; validRows.add(rowName); if (!model.containsKey(rowName)) { CompositeGraphRow compositeRow = new CompositeGraphRow(row); compositeRow.setColor(colors.getNextColor()); model.put(rowName, compositeRow); if (relativeStartTime == 0 || relativeStartTime > row.getFirstTime()) { relativeStartTime = row.getFirstTime(); handleRelativeStartTime(); } } } } Iterator<String> iterModelRows = model.keySet().iterator(); while (iterModelRows.hasNext()) { String rowName = iterModelRows.next(); if (!validRows.contains(rowName)) { iterModelRows.remove(); } } super.updateGui(); } CompositeGraphGui(); @Override String getLabelResource(); @Override String getStaticLabel(); @Override TestElement createTestElement(); @Override void configure(TestElement te); @Override void modifyTestElement(TestElement c); @Override void updateGui(); @Override void add(SampleResult sr); @Override String getWikiPage(); @Override void clearData(); }
CompositeGraphGui extends AbstractOverTimeVisualizer { @Override public void updateGui() { Iterator<String[]> iter = compositeRowsSelectorPanel.getItems(); HashSet<String> validRows = new HashSet<String>(); while (iter.hasNext()) { String[] item = iter.next(); AbstractGraphRow row = compositeModel.getRow(item[0], item[1]); if (row != null) { String rowName = item[0] + " > " + item[1]; validRows.add(rowName); if (!model.containsKey(rowName)) { CompositeGraphRow compositeRow = new CompositeGraphRow(row); compositeRow.setColor(colors.getNextColor()); model.put(rowName, compositeRow); if (relativeStartTime == 0 || relativeStartTime > row.getFirstTime()) { relativeStartTime = row.getFirstTime(); handleRelativeStartTime(); } } } } Iterator<String> iterModelRows = model.keySet().iterator(); while (iterModelRows.hasNext()) { String rowName = iterModelRows.next(); if (!validRows.contains(rowName)) { iterModelRows.remove(); } } super.updateGui(); } CompositeGraphGui(); @Override String getLabelResource(); @Override String getStaticLabel(); @Override TestElement createTestElement(); @Override void configure(TestElement te); @Override void modifyTestElement(TestElement c); @Override void updateGui(); @Override void add(SampleResult sr); @Override String getWikiPage(); @Override void clearData(); public CompositeModel compositeModel; }