Package com.projity.pm.graphic.model.transform

Examples of com.projity.pm.graphic.model.transform.NodeCacheTransformer


    protected VisibleDependencies visibleDependencies;
    protected String viewName;


    ViewNodeModelCache(ReferenceNodeModelCache reference,String viewName,Closure transformerClosure) {
        this(reference,new VisibleNodes(viewName,new NodeCacheTransformer(viewName,reference,transformerClosure)),
                new VisibleDependencies(viewName,new DependencyCacheTransformer(viewName,reference)));
        this.viewName=viewName;
    }
View Full Code Here


    public void setModel(NodeModel model) {
        reference.setModel(model);
    }

  public WalkersNodeModel getWalkersModel(){
    NodeCacheTransformer transformer=(NodeCacheTransformer)visibleNodes.getTransformer();
    return transformer.getWalkersModel();
  }
View Full Code Here

//  }


  public int getLevel(GraphicNode node){
    if (node.isGroup()) return node.getLevel();
    NodeCacheTransformer transformer=(NodeCacheTransformer)visibleNodes.getTransformer();
    return node.getLevel()+transformer.getLevelOffset();
  }
View Full Code Here

TOP

Related Classes of com.projity.pm.graphic.model.transform.NodeCacheTransformer

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.