Java Code Examples for com.sun.hotspot.igv.graph.Figure#getOutputSlots()
The following examples show how to use
com.sun.hotspot.igv.graph.Figure#getOutputSlots() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ConnectionFilter.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
public void apply(Diagram diagram) { Properties.PropertySelector<Figure> selector = new Properties.PropertySelector<Figure>(diagram.getFigures()); for (ConnectionStyleRule rule : connectionStyleRules) { List<Figure> figures = null; if (rule.getSelector() != null) { figures = rule.getSelector().selected(diagram); } else { figures = diagram.getFigures(); } for (Figure f : figures) { for (OutputSlot os : f.getOutputSlots()) { for (Connection c : os.getConnections()) { if (figures.contains(c.getInputSlot().getFigure())) { c.setStyle(rule.getLineStyle()); c.setColor(rule.getLineColor()); } } } } } }
Example 2
Source File: ConnectionFilter.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
public void apply(Diagram diagram) { Properties.PropertySelector<Figure> selector = new Properties.PropertySelector<Figure>(diagram.getFigures()); for (ConnectionStyleRule rule : connectionStyleRules) { List<Figure> figures = null; if (rule.getSelector() != null) { figures = rule.getSelector().selected(diagram); } else { figures = diagram.getFigures(); } for (Figure f : figures) { for (OutputSlot os : f.getOutputSlots()) { for (Connection c : os.getConnections()) { if (figures.contains(c.getInputSlot().getFigure())) { c.setStyle(rule.getLineStyle()); c.setColor(rule.getLineColor()); } } } } } }
Example 3
Source File: ColorFilter.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
private void applyRule(ColorRule rule, Figure f) { if (rule.getColor() != null) { f.setColor(rule.getColor()); } Color color = rule.getLineColor(); ConnectionStyle style = rule.getLineStyle(); for (OutputSlot s : f.getOutputSlots()) { for (Connection c : s.getConnections()) { if (color != null) { c.setColor(color); } if (style != null) { c.setStyle(style); } } } }
Example 4
Source File: SplitFilter.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
public void apply(Diagram d) { List<Figure> list = selector.selected(d); for (Figure f : list) { for (OutputSlot os : f.getOutputSlots()) { for (Connection c : os.getConnections()) { InputSlot is = c.getInputSlot(); is.setName(f.getProperties().get("dump_spec")); String s = f.getProperties().get("short_name"); if (s != null) { is.setShortName(s); } } } d.removeFigure(f); } }
Example 5
Source File: ConnectionFilter.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
public void apply(Diagram diagram) { Properties.PropertySelector<Figure> selector = new Properties.PropertySelector<Figure>(diagram.getFigures()); for (ConnectionStyleRule rule : connectionStyleRules) { List<Figure> figures = null; if (rule.getSelector() != null) { figures = rule.getSelector().selected(diagram); } else { figures = diagram.getFigures(); } for (Figure f : figures) { for (OutputSlot os : f.getOutputSlots()) { for (Connection c : os.getConnections()) { if (figures.contains(c.getInputSlot().getFigure())) { c.setStyle(rule.getLineStyle()); c.setColor(rule.getLineColor()); } } } } } }
Example 6
Source File: SplitFilter.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
public void apply(Diagram d) { List<Figure> list = selector.selected(d); for (Figure f : list) { for (OutputSlot os : f.getOutputSlots()) { for (Connection c : os.getConnections()) { InputSlot is = c.getInputSlot(); is.setName(f.getProperties().get("dump_spec")); String s = f.getProperties().get("short_name"); if (s != null) { is.setShortName(s); } } } d.removeFigure(f); } }
Example 7
Source File: SplitFilter.java From hottub with GNU General Public License v2.0 | 6 votes |
public void apply(Diagram d) { List<Figure> list = selector.selected(d); for (Figure f : list) { for (OutputSlot os : f.getOutputSlots()) { for (Connection c : os.getConnections()) { InputSlot is = c.getInputSlot(); is.setName(f.getProperties().get("dump_spec")); String s = f.getProperties().get("short_name"); if (s != null) { is.setShortName(s); } } } d.removeFigure(f); } }
Example 8
Source File: ConnectionFilter.java From hottub with GNU General Public License v2.0 | 6 votes |
public void apply(Diagram diagram) { Properties.PropertySelector<Figure> selector = new Properties.PropertySelector<Figure>(diagram.getFigures()); for (ConnectionStyleRule rule : connectionStyleRules) { List<Figure> figures = null; if (rule.getSelector() != null) { figures = rule.getSelector().selected(diagram); } else { figures = diagram.getFigures(); } for (Figure f : figures) { for (OutputSlot os : f.getOutputSlots()) { for (Connection c : os.getConnections()) { if (figures.contains(c.getInputSlot().getFigure())) { c.setStyle(rule.getLineStyle()); c.setColor(rule.getLineColor()); } } } } } }
Example 9
Source File: ColorFilter.java From hottub with GNU General Public License v2.0 | 6 votes |
private void applyRule(ColorRule rule, Figure f) { if (rule.getColor() != null) { f.setColor(rule.getColor()); } Color color = rule.getLineColor(); ConnectionStyle style = rule.getLineStyle(); for (OutputSlot s : f.getOutputSlots()) { for (Connection c : s.getConnections()) { if (color != null) { c.setColor(color); } if (style != null) { c.setStyle(style); } } } }
Example 10
Source File: SplitFilter.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
public void apply(Diagram d) { List<Figure> list = selector.selected(d); for (Figure f : list) { for (OutputSlot os : f.getOutputSlots()) { for (Connection c : os.getConnections()) { InputSlot is = c.getInputSlot(); is.setName(f.getProperties().get("dump_spec")); String s = f.getProperties().get("short_name"); if (s != null) { is.setShortName(s); } } } d.removeFigure(f); } }
Example 11
Source File: ColorFilter.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
private void applyRule(ColorRule rule, Figure f) { if (rule.getColor() != null) { f.setColor(rule.getColor()); } Color color = rule.getLineColor(); ConnectionStyle style = rule.getLineStyle(); for (OutputSlot s : f.getOutputSlots()) { for (Connection c : s.getConnections()) { if (color != null) { c.setColor(color); } if (style != null) { c.setStyle(style); } } } }
Example 12
Source File: ColorFilter.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
private void applyRule(ColorRule rule, Figure f) { if (rule.getColor() != null) { f.setColor(rule.getColor()); } Color color = rule.getLineColor(); ConnectionStyle style = rule.getLineStyle(); for (OutputSlot s : f.getOutputSlots()) { for (Connection c : s.getConnections()) { if (color != null) { c.setColor(color); } if (style != null) { c.setStyle(style); } } } }
Example 13
Source File: SplitFilter.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
public void apply(Diagram d) { List<Figure> list = selector.selected(d); for (Figure f : list) { for (OutputSlot os : f.getOutputSlots()) { for (Connection c : os.getConnections()) { InputSlot is = c.getInputSlot(); is.setName(f.getProperties().get("dump_spec")); String s = f.getProperties().get("short_name"); if (s != null) { is.setShortName(s); } } } d.removeFigure(f); } }
Example 14
Source File: ConnectionFilter.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
public void apply(Diagram diagram) { Properties.PropertySelector<Figure> selector = new Properties.PropertySelector<Figure>(diagram.getFigures()); for (ConnectionStyleRule rule : connectionStyleRules) { List<Figure> figures = null; if (rule.getSelector() != null) { figures = rule.getSelector().selected(diagram); } else { figures = diagram.getFigures(); } for (Figure f : figures) { for (OutputSlot os : f.getOutputSlots()) { for (Connection c : os.getConnections()) { if (figures.contains(c.getInputSlot().getFigure())) { c.setStyle(rule.getLineStyle()); c.setColor(rule.getLineColor()); } } } } } }
Example 15
Source File: ColorFilter.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
private void applyRule(ColorRule rule, Figure f) { if (rule.getColor() != null) { f.setColor(rule.getColor()); } Color color = rule.getLineColor(); ConnectionStyle style = rule.getLineStyle(); for (OutputSlot s : f.getOutputSlots()) { for (Connection c : s.getConnections()) { if (color != null) { c.setColor(color); } if (style != null) { c.setStyle(style); } } } }
Example 16
Source File: SplitFilter.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
public void apply(Diagram d) { List<Figure> list = selector.selected(d); for (Figure f : list) { for (OutputSlot os : f.getOutputSlots()) { for (Connection c : os.getConnections()) { InputSlot is = c.getInputSlot(); is.setName(f.getProperties().get("dump_spec")); String s = f.getProperties().get("short_name"); if (s != null) { is.setShortName(s); } } } d.removeFigure(f); } }
Example 17
Source File: ConnectionFilter.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
public void apply(Diagram diagram) { Properties.PropertySelector<Figure> selector = new Properties.PropertySelector<Figure>(diagram.getFigures()); for (ConnectionStyleRule rule : connectionStyleRules) { List<Figure> figures = null; if (rule.getSelector() != null) { figures = rule.getSelector().selected(diagram); } else { figures = diagram.getFigures(); } for (Figure f : figures) { for (OutputSlot os : f.getOutputSlots()) { for (Connection c : os.getConnections()) { if (figures.contains(c.getInputSlot().getFigure())) { c.setStyle(rule.getLineStyle()); c.setColor(rule.getLineColor()); } } } } } }
Example 18
Source File: ColorFilter.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
private void applyRule(ColorRule rule, Figure f) { if (rule.getColor() != null) { f.setColor(rule.getColor()); } Color color = rule.getLineColor(); ConnectionStyle style = rule.getLineStyle(); for (OutputSlot s : f.getOutputSlots()) { for (Connection c : s.getConnections()) { if (color != null) { c.setColor(color); } if (style != null) { c.setStyle(style); } } } }
Example 19
Source File: SplitFilter.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
public void apply(Diagram d) { List<Figure> list = selector.selected(d); for (Figure f : list) { for (OutputSlot os : f.getOutputSlots()) { for (Connection c : os.getConnections()) { InputSlot is = c.getInputSlot(); is.setName(f.getProperties().get("dump_spec")); String s = f.getProperties().get("short_name"); if (s != null) { is.setShortName(s); } } } d.removeFigure(f); } }
Example 20
Source File: ConnectionFilter.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
public void apply(Diagram diagram) { Properties.PropertySelector<Figure> selector = new Properties.PropertySelector<Figure>(diagram.getFigures()); for (ConnectionStyleRule rule : connectionStyleRules) { List<Figure> figures = null; if (rule.getSelector() != null) { figures = rule.getSelector().selected(diagram); } else { figures = diagram.getFigures(); } for (Figure f : figures) { for (OutputSlot os : f.getOutputSlots()) { for (Connection c : os.getConnections()) { if (figures.contains(c.getInputSlot().getFigure())) { c.setStyle(rule.getLineStyle()); c.setColor(rule.getLineColor()); } } } } } }