use of org.twak.tweed.gen.PlanesGen in project chordatlas by twak.
the class PlaneTool method activate.
@Override
public void activate(Tweed tweed) {
this.tweed = tweed;
List<Gen> gens = tweed.frame.gens(PlanesGen.class);
if (gens.isEmpty()) {
pg = new PlanesGen(tweed);
tweed.frame.addGen(pg, true);
} else
pg = (PlanesGen) gens.get(0);
// createPlane();
}