/// /// Called Before EA starts to check Add-In Exists /// Nothing is done here. /// This operation needs to exists for the addin to work /// /// <param name="Repository" />the EA repository /// a string public String EA_Connect(EA.Repository Repository) { logger.setRepository(Repository); try { fileManager.setBasePath(Properties.Settings.Default.BasePath); fileManager.setDiagramPath(Properties.Settings.Default.DiagramPath); } catch (Exception) { logger.log("Did not find BasePath or DiagramPath in user settings"); } MappingManager.setLogger(logger); MappingManager.setFileManager(fileManager); HierarchyManager.setLogger(logger); HierarchyManager.setFileManager(fileManager); PopulationManager.setLogger(logger); PopulationManager.setFileManager(fileManager); ConstraintManager.setLogger(logger); ConstraintManager.setFileManager(fileManager); DiagramManager.setLogger(logger); DiagramManager.setFileManager(fileManager); SchemaManager.setLogger(logger); SchemaManager.setFileManager(fileManager); SampleManager.setLogger(logger); SampleManager.setFileManager(fileManager); MetaDataManager.setLogger(logger); RepositoryHelper.setLogger(logger); ObjectManager.setLogger(logger); return("a string"); }