Java Code Examples for com.sun.hotspot.igv.graph.InputSlot#setName()

The following examples show how to use com.sun.hotspot.igv.graph.InputSlot#setName() . 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: SplitFilter.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
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 2
Source File: SplitFilter.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
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 3
Source File: SplitFilter.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
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 4
Source File: SplitFilter.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
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: SplitFilter.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
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 6
Source File: SplitFilter.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
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 openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
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);
    }
}