Package org.rascalmpl.library.vis.figure.interaction

Examples of org.rascalmpl.library.vis.figure.interaction.FigureSwitch


      return new Ellipse( makeChild(env,c,properties,childPropsNext), properties );
         
    case FIGURESWITCH:
      PropertyValue<Integer> choice = Properties.produceMaybeComputedValue(Types.INT,c.get(0),properties,env);
      children = makeList(env,c.get(1),properties,childPropsNext);
      return new FigureSwitch(choice, children, properties);
    case GRAPH:
      //if(properties.getStringProperty(Properties.HINT).contains("lattice"))
      //  return new LatticeGraph(env, properties, (IList) c.get(0), (IList)c.get(1));
      if(properties.getStr(Properties.HINT).contains("layered"))
        return new LayeredGraph(env, properties, makeList(env, c.get(0), properties, childPropsNext), (IList)c.get(1));
View Full Code Here

TOP

Related Classes of org.rascalmpl.library.vis.figure.interaction.FigureSwitch

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.