com.sun.hotspot.igv.data.services.GroupOrganizer Java Examples

The following examples show how to use com.sun.hotspot.igv.data.services.GroupOrganizer. 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: FolderNode.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
private FolderNode(String name, GroupOrganizer organizer, List<String> oldSubFolders, final List<Group> groups, FolderChildren children, InstanceContent content) {
    super(children, new AbstractLookup(content));
    children.setParent(this);
    this.content = content;
    this.children = children;
    content.add(new RemoveCookie() {

        public void remove() {
            for (Group g : groups) {
                if (g.getDocument() != null) {
                    g.getDocument().removeGroup(g);
                }
            }
        }
    });
    init(name, organizer, oldSubFolders, groups);
}
 
Example #2
Source File: FolderNode.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
private FolderNode(String name, GroupOrganizer organizer, List<String> oldSubFolders, final List<Group> groups, FolderChildren children, InstanceContent content) {
    super(children, new AbstractLookup(content));
    children.setParent(this);
    this.content = content;
    this.children = children;
    content.add(new RemoveCookie() {

        public void remove() {
            for (Group g : groups) {
                if (g.getDocument() != null) {
                    g.getDocument().removeGroup(g);
                }
            }
        }
    });
    init(name, organizer, oldSubFolders, groups);
}
 
Example #3
Source File: FolderNode.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
private FolderNode(String name, GroupOrganizer organizer, List<String> oldSubFolders, final List<Group> groups, FolderChildren children, InstanceContent content) {
    super(children, new AbstractLookup(content));
    children.setParent(this);
    this.content = content;
    this.children = children;
    content.add(new RemoveCookie() {

        public void remove() {
            for (Group g : groups) {
                if (g.getDocument() != null) {
                    g.getDocument().removeGroup(g);
                }
            }
        }
    });
    init(name, organizer, oldSubFolders, groups);
}
 
Example #4
Source File: FolderNode.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
private FolderNode(String name, GroupOrganizer organizer, List<String> oldSubFolders, final List<Group> groups, FolderChildren children, InstanceContent content) {
    super(children, new AbstractLookup(content));
    children.setParent(this);
    this.content = content;
    this.children = children;
    content.add(new RemoveCookie() {

        public void remove() {
            for (Group g : groups) {
                if (g.getDocument() != null) {
                    g.getDocument().removeGroup(g);
                }
            }
        }
    });
    init(name, organizer, oldSubFolders, groups);
}
 
Example #5
Source File: FolderNode.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
private FolderNode(String name, GroupOrganizer organizer, List<String> oldSubFolders, final List<Group> groups, FolderChildren children, InstanceContent content) {
    super(children, new AbstractLookup(content));
    children.setParent(this);
    this.content = content;
    this.children = children;
    content.add(new RemoveCookie() {

        public void remove() {
            for (Group g : groups) {
                if (g.getDocument() != null) {
                    g.getDocument().removeGroup(g);
                }
            }
        }
    });
    init(name, organizer, oldSubFolders, groups);
}
 
Example #6
Source File: FolderNode.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
private FolderNode(String name, GroupOrganizer organizer, List<String> oldSubFolders, final List<Group> groups, FolderChildren children, InstanceContent content) {
    super(children, new AbstractLookup(content));
    children.setParent(this);
    this.content = content;
    this.children = children;
    content.add(new RemoveCookie() {

        public void remove() {
            for (Group g : groups) {
                if (g.getDocument() != null) {
                    g.getDocument().removeGroup(g);
                }
            }
        }
    });
    init(name, organizer, oldSubFolders, groups);
}
 
Example #7
Source File: FolderNode.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
private FolderNode(String name, GroupOrganizer organizer, List<String> oldSubFolders, final List<Group> groups, FolderChildren children, InstanceContent content) {
    super(children, new AbstractLookup(content));
    children.setParent(this);
    this.content = content;
    this.children = children;
    content.add(new RemoveCookie() {

        public void remove() {
            for (Group g : groups) {
                if (g.getDocument() != null) {
                    g.getDocument().removeGroup(g);
                }
            }
        }
    });
    init(name, organizer, oldSubFolders, groups);
}
 
Example #8
Source File: FolderNode.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public void init(String name, GroupOrganizer organizer, List<String> oldSubFolders, List<Group> groups) {
    this.setDisplayName(name);
    this.organizer = organizer;
    this.subFolders = new ArrayList<String>(oldSubFolders);
    if (name.length() > 0) {
        this.subFolders.add(name);
    }
    structure = organizer.organize(subFolders, groups);
    assert structure != null;
    children.addNotify();
}
 
Example #9
Source File: FolderNode.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public void init(String name, GroupOrganizer organizer, List<String> oldSubFolders, List<Group> groups) {
    this.setDisplayName(name);
    this.organizer = organizer;
    this.subFolders = new ArrayList<String>(oldSubFolders);
    if (name.length() > 0) {
        this.subFolders.add(name);
    }
    structure = organizer.organize(subFolders, groups);
    assert structure != null;
    children.addNotify();
}
 
Example #10
Source File: FolderNode.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public void init(String name, GroupOrganizer organizer, List<String> oldSubFolders, List<Group> groups) {
    this.setDisplayName(name);
    this.organizer = organizer;
    this.subFolders = new ArrayList<String>(oldSubFolders);
    if (name.length() > 0) {
        this.subFolders.add(name);
    }
    structure = organizer.organize(subFolders, groups);
    assert structure != null;
    children.addNotify();
}
 
Example #11
Source File: FolderNode.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public void init(String name, GroupOrganizer organizer, List<String> oldSubFolders, List<Group> groups) {
    this.setDisplayName(name);
    this.organizer = organizer;
    this.subFolders = new ArrayList<String>(oldSubFolders);
    if (name.length() > 0) {
        this.subFolders.add(name);
    }
    structure = organizer.organize(subFolders, groups);
    assert structure != null;
    children.addNotify();
}
 
Example #12
Source File: FolderNode.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public void init(String name, GroupOrganizer organizer, List<String> oldSubFolders, List<Group> groups) {
    this.setDisplayName(name);
    this.organizer = organizer;
    this.subFolders = new ArrayList<String>(oldSubFolders);
    if (name.length() > 0) {
        this.subFolders.add(name);
    }
    structure = organizer.organize(subFolders, groups);
    assert structure != null;
    children.addNotify();
}
 
Example #13
Source File: FolderNode.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public void init(String name, GroupOrganizer organizer, List<String> oldSubFolders, List<Group> groups) {
    this.setDisplayName(name);
    this.organizer = organizer;
    this.subFolders = new ArrayList<String>(oldSubFolders);
    if (name.length() > 0) {
        this.subFolders.add(name);
    }
    structure = organizer.organize(subFolders, groups);
    assert structure != null;
    children.addNotify();
}
 
Example #14
Source File: FolderNode.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public void init(String name, GroupOrganizer organizer, List<String> oldSubFolders, List<Group> groups) {
    this.setDisplayName(name);
    this.organizer = organizer;
    this.subFolders = new ArrayList<String>(oldSubFolders);
    if (name.length() > 0) {
        this.subFolders.add(name);
    }
    structure = organizer.organize(subFolders, groups);
    assert structure != null;
    children.addNotify();
}
 
Example #15
Source File: FolderNode.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
protected FolderNode(String name, GroupOrganizer organizer, List<String> subFolders, List<Group> groups) {
    this(name, organizer, subFolders, groups, new FolderChildren(), new InstanceContent());
}
 
Example #16
Source File: OutlineTopComponent.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public void setOrganizer(GroupOrganizer organizer) {
    this.organizer = organizer;
    updateStructure();
}
 
Example #17
Source File: FolderNode.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
protected FolderNode(String name, GroupOrganizer organizer, List<String> subFolders, List<Group> groups) {
    this(name, organizer, subFolders, groups, new FolderChildren(), new InstanceContent());
}
 
Example #18
Source File: FolderNode.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
protected FolderNode(String name, GroupOrganizer organizer, List<String> subFolders, List<Group> groups) {
    this(name, organizer, subFolders, groups, new FolderChildren(), new InstanceContent());
}
 
Example #19
Source File: OutlineTopComponent.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public void setOrganizer(GroupOrganizer organizer) {
    this.organizer = organizer;
    updateStructure();
}
 
Example #20
Source File: OutlineTopComponent.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public void setOrganizer(GroupOrganizer organizer) {
    this.organizer = organizer;
    updateStructure();
}
 
Example #21
Source File: FolderNode.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
protected FolderNode(String name, GroupOrganizer organizer, List<String> subFolders, List<Group> groups) {
    this(name, organizer, subFolders, groups, new FolderChildren(), new InstanceContent());
}
 
Example #22
Source File: OutlineTopComponent.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public void setOrganizer(GroupOrganizer organizer) {
    this.organizer = organizer;
    updateStructure();
}
 
Example #23
Source File: FolderNode.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
protected FolderNode(String name, GroupOrganizer organizer, List<String> subFolders, List<Group> groups) {
    this(name, organizer, subFolders, groups, new FolderChildren(), new InstanceContent());
}
 
Example #24
Source File: OutlineTopComponent.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public void setOrganizer(GroupOrganizer organizer) {
    this.organizer = organizer;
    updateStructure();
}
 
Example #25
Source File: OutlineTopComponent.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public void setOrganizer(GroupOrganizer organizer) {
    this.organizer = organizer;
    updateStructure();
}
 
Example #26
Source File: FolderNode.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
protected FolderNode(String name, GroupOrganizer organizer, List<String> subFolders, List<Group> groups) {
    this(name, organizer, subFolders, groups, new FolderChildren(), new InstanceContent());
}
 
Example #27
Source File: FolderNode.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
protected FolderNode(String name, GroupOrganizer organizer, List<String> subFolders, List<Group> groups) {
    this(name, organizer, subFolders, groups, new FolderChildren(), new InstanceContent());
}
 
Example #28
Source File: OutlineTopComponent.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public void setOrganizer(GroupOrganizer organizer) {
    this.organizer = organizer;
    updateStructure();
}