public Boolean EA_OnPostNewDiagram(EA.Repository repository, EA.EventProperties info) { EA.Diagram diagram = repository.GetDiagramByID(IDcollect(repository, info)); MessageBox.Show("NEW DIAGRAM CREATED"); return true; }
public void RunDiagramRule(EA.Repository Repository, string sRuleID, long lDiagramID) { EA.Diagram Diagram = Repository.GetDiagramByID((int)lDiagramID); if (Diagram != null) { switch (LookupMapEx(sRuleID)) { //case rule05: // DoRule05(Repository, lDiagramID); // break; default: break; } } }