Package com.google.devtools.depan.eclipse.visualization.plugins.impl

Examples of com.google.devtools.depan.eclipse.visualization.plugins.impl.CollapsePlugin


  // Rendering support

  public void updateCollapseChanges(
      Collection<CollapseData> created,
      Collection<CollapseData> removed) {
    CollapsePlugin collapsePlugin =
        glPanel.getRenderingPipe().getCollapsePlugin();
    for (CollapseData data : created) {
      // collapse each child under the parent
      for (GraphNode child : data.getChildrenNodes()) {
        collapsePlugin.collapseUnder(
            glPanel.node2property(child),
            glPanel.node2property(data.getMasterNode()));
      }
    }

    for (CollapseData data : removed) {
      // uncollapse every children
      for (GraphNode child : data.getChildrenNodes()) {
        collapsePlugin.unCollapse(
            glPanel.node2property(child),
            glPanel.node2property(data.getMasterNode()));
      }
    }
  }
View Full Code Here


    nodeSize = new NodeSizePlugin<GraphEdge>(jungGraph, nodeRanking);
    nodeStroke = new NodeStrokePlugin<GraphEdge>(panel, jungGraph);
    nodeShape = new NodeShapePlugin<GraphEdge>(jungGraph);
    nodeLabel = new NodeLabelPlugin();
    edgeLabel = new EdgeLabelPlugin();
    collapse = new CollapsePlugin();

    List<NodeRenderingPlugin> nodesP = Lists.newArrayList();
    List<EdgeRenderingPlugin> edgesP = Lists.newArrayList();
    Set<Plugin> pluginsSet = Sets.newHashSet();
View Full Code Here

TOP

Related Classes of com.google.devtools.depan.eclipse.visualization.plugins.impl.CollapsePlugin

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.