Re: Undo/redo implementation & JMI compliance
Martin Matula <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Constantine, Constantine Plotnikov wrote: >> Then the diagram objects would keep track only of the MOF ID (and the >> identity map), and the problem you described should go away. But, this >> does require that the JMI implementation provide a method like >> "getObjectByMofId()". > > > This method had been suggested for JMI, but I do not > remember why it has not got into spec. As far as I remember, the method did not make it to the spec. because of the following reasons: 1) JMI does not define anything above RefPackage, so the only place to put such a method into is RefPackage which is IMO ugly. 2) One of the EG members was concerned about the fact that it should first be stated somewhere in MOF spec. that implementations should be able to lookup objects using MOF IDs, otherwise there may be a problem accross different mappings. Martin