}
}
+ public GraphToDiagramSynchronizer getGraphToDiagramSynchronizer() {
+ return synchronizer;
+ }
+
protected CopyPasteStrategy getCopyPasteStrategy() {
try {
CopyPasteStrategy cpStrategy = Simantics.getSession().syncRequest(new PossibleAdapter<CopyPasteStrategy>(resource, CopyPasteStrategy.class));
return new MappedElementCopyAdvisor(new ElementCopyAdvisor(), new ComponentCopyAdvisor());
}
- private void initContext(CanvasContext ctx) {
+ protected void initContext(CanvasContext ctx) {
boolean unlock = false;
if (!ctx.isLocked()) {
ctx.setLocked(true);