ctx.add( new ElementInteractor() );
ctx.add( new Selection() );
ctx.add( new DiagramParticipant() );
- ctx.add( new ElementPainter(false) );
+ ctx.add( new ElementPainter(true) );
//ctx.add( new ElementHeartbeater() );
ctx.add( new ZOrderHandler() );
try {
// FIXME: I have no idea if this works or not..
- diagram = SimanticsUI.getSession().syncRequest(new Read<IDiagram>() {
+ diagram = Simantics.getSession().syncRequest(new Read<IDiagram>() {
@Override
public IDiagram perform(ReadGraph graph) throws DatabaseException {
IDiagram d = synchronizer.loadDiagram(new NullProgressMonitor(), graph, null, structuralPath.resources[0], null, structuralPath.removeFromBeginning(0), hints);