Source:
public void init() { ActionsConfiguratorsManager acm = ActionsConfiguratorsManager.getInstance(); System.setProperty("jsse.enableSNIExtension", "false"); if (MDUtils.isDeveloperMode()) { System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog"); System.setProperty("org.apache.commons.logging.simplelog.showdatetime", "true"); System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http.wire", "INFO"); } EvaluationConfigurator.getInstance().registerBinaryImplementers(this.getClass().getClassLoader()); CommandLineActionManager.getInstance().addAction(new AutomatedViewGenerator()); MDKConfigurator mdkConfigurator = new MDKConfigurator(); acm.addMainMenuConfigurator(mdkConfigurator); acm.addContainmentBrowserContextConfigurator(mdkConfigurator); acm.addSearchBrowserContextConfigurator(mdkConfigurator); acm.addBaseDiagramContextConfigurator(DiagramTypeConstants.UML_ANY_DIAGRAM, mdkConfigurator); acm.addMainMenuConfigurator(new MMSConfigurator()); EvaluationConfigurator.getInstance().registerBinaryImplementers(MDKPlugin.class.getClassLoader()); acm.addMainToolbarConfigurator(new SyncStatusConfigurator()); DiagramDescriptor viewDiagramDescriptor = Application.getInstance().getDiagramDescriptor(ViewDiagramConfigurator.DIAGRAM_NAME); if (viewDiagramDescriptor != null) { ActionsConfiguratorsManager actionsConfiguratorsManager = ActionsConfiguratorsManager.getInstance(); ViewDiagramConfigurator viewDiagramConfigurator = new ViewDiagramConfigurator(); actionsConfiguratorsManager.addDiagramToolbarConfigurator(ViewDiagramConfigurator.DIAGRAM_NAME, viewDiagramConfigurator); actionsConfiguratorsManager.addTargetElementAMConfigurator(ViewDiagramConfigurator.DIAGRAM_NAME, viewDiagramConfigurator); } EvaluationConfigurator.getInstance().registerBinaryImplementers(MDKPlugin.class.getClassLoader()); MMSSyncPlugin.getInstance().init(); loadExtensionJars(); configureEnvironmentOptions(); initJavaFX(); }

Target:
public void init() { ActionsConfiguratorsManager acm = ActionsConfiguratorsManager.getInstance(); System.setProperty("jsse.enableSNIExtension", "false"); if (MDUtils.isDeveloperMode()) { System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog"); System.setProperty("org.apache.commons.logging.simplelog.showdatetime", "true"); System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http.wire", "INFO"); } EvaluationConfigurator.getInstance().registerBinaryImplementers(this.getClass().getClassLoader()); CommandLineActionManager.getInstance().addAction(new AutomatedViewGenerator()); CommandLineActionManager.getInstance().addAction(new AutomatedCommitter()); MDKConfigurator mdkConfigurator = new MDKConfigurator(); acm.addMainMenuConfigurator(mdkConfigurator); acm.addContainmentBrowserContextConfigurator(mdkConfigurator); acm.addSearchBrowserContextConfigurator(mdkConfigurator); acm.addBaseDiagramContextConfigurator(DiagramTypeConstants.UML_ANY_DIAGRAM, mdkConfigurator); acm.addMainMenuConfigurator(new MMSConfigurator()); EvaluationConfigurator.getInstance().registerBinaryImplementers(MDKPlugin.class.getClassLoader()); acm.addMainToolbarConfigurator(new SyncStatusConfigurator()); DiagramDescriptor viewDiagramDescriptor = Application.getInstance().getDiagramDescriptor(ViewDiagramConfigurator.DIAGRAM_NAME); if (viewDiagramDescriptor != null) { ActionsConfiguratorsManager actionsConfiguratorsManager = ActionsConfiguratorsManager.getInstance(); ViewDiagramConfigurator viewDiagramConfigurator = new ViewDiagramConfigurator(); actionsConfiguratorsManager.addDiagramToolbarConfigurator(ViewDiagramConfigurator.DIAGRAM_NAME, viewDiagramConfigurator); actionsConfiguratorsManager.addTargetElementAMConfigurator(ViewDiagramConfigurator.DIAGRAM_NAME, viewDiagramConfigurator); } EvaluationConfigurator.getInstance().registerBinaryImplementers(MDKPlugin.class.getClassLoader()); MMSSyncPlugin.getInstance().init(); loadExtensionJars(); configureEnvironmentOptions(); initJavaFX(); }