From: Christoph F. <cf...@fo...> - 2004-10-02 14:00:17
|
Hi Giorgios I would vote for writing a new implementation of the AMMember-Interface that supports dynamic changes. I expect that the label wont remain the the sole property that becomes editable...) c Am Sa, den 02.10.2004 schrieb George Tryfon um 15:26: > Hello, >=20 > the "label" in AMNodeImpl works like this: >=20 > class AMNodeImpl > { > String label; >=20 > AMNodeImpl (String id, String label) > { > this.label =3D label; > ... > } > public String getLabel() > { > return label; > } > } >=20 > when Concretizer (the class that makes the changes) needs to change a lab= el, > the AMMember needs to be reconstructed, and so the AModel. >=20 > I would prefer to avoid this and suggest for the label to became dynamic, > like: >=20 > public String getLabel() > { > return ...calculate label...; > } >=20 > We could implement a new set of AMMember with dynamic label > (that supports Concretizer) >=20 > Of cource we could easily, just use a setLabel(String), > and Concretizer could call it, > (I would prefer the dynamic one). >=20 > What is your opinion? >=20 > Cheers > Giorgos >=20 >=20 > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.767 / Virus Database: 514 - Release Date: 21/9/2004 >=20 >=20 > ____________________________________________________________________ > http://www.freemail.gr - =CE=B4=CF=89=CF=81=CE=B5=CE=AC=CE=BD =CF=85=CF= =80=CE=B7=CF=81=CE=B5=CF=83=CE=AF=CE=B1 =CE=B7=CE=BB=CE=B5=CE=BA=CF=84=CF= =81=CE=BF=CE=BD=CE=B9=CE=BA=CE=BF=CF=8D =CF=84=CE=B1=CF=87=CF=85=CE=B4=CF= =81=CE=BF=CE=BC=CE=B5=CE=AF=CE=BF=CF=85. > http://www.freemail.gr - free email service for the Greek-speaking. >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out mo= re > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Tm4j-developers mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-developers --=20 Christoph Froehlich <cf...@fo...> |