in Moose 4.7
annotationDescription asMorph returns a MAContainerMorph
while in 4.9 it returns a stringMorph
Stef
On Dec 7, 2013, at 3:39 PM, Stéphane Ducasse stephane.ducasse@inria.fr wrote:
Hi
just to let you know that trying to add an annotation in moosefinder does not work anymore I get
mooseFinderMetanoolIn: composite <moosePresentationOrder: 10> composite magritte title: 'Meta editor'; titleIcon: MooseIcons mooseEditor; display: [:anObject | anObject mooseInterestingEntity ]; act: [:magritte | | result annotationDescription | annotationDescription := MTLAnnotationDescription new. result := annotationDescription asMorph addButtons addWindow callInWorld. ^^^^^^^^^^^^^
DNU addButtons (result notNil) ifTrue: [ magritte entity mooseInterestingEntity mooseDescription attributes add: annotationDescription. magritte update ] ] icon: GLMUIThemeExtraIcons glamorousAdd entitled: 'Add annotation'; description: [ :anObject | anObject mooseDescription asMagritteDescriptionWithAnnotations ]
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev