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 ]
Hmm. Is that in 4.9? Because in 5.0 the code is different indeed.
Doru
On Sat, Dec 7, 2013 at 3:39 PM, Stéphane Ducasse stephane.ducasse@inria.frwrote:
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
Yes this is in 4.9
Hmm. Is that in 4.9? Because in 5.0 the code is different indeed.
Doru
On Sat, 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
-- www.tudorgirba.com
"Every thing has its own flow" _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
I will try with 5.0. I want to use Pharo3.0 latest because I need some fixes I pushed recently in Pharo to analyse Smalltalk code.
Stef
On Dec 7, 2013, at 3:45 PM, Tudor Girba tudor@tudorgirba.com wrote:
Hmm. Is that in 4.9? Because in 5.0 the code is different indeed.
Doru
On Sat, 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
-- www.tudorgirba.com
"Every thing has its own flow" _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
ok it is working on 50. With ben we want to have a look at the bootstrap of FAME and I also would like to understand hwo to change these default strings for annotations.
Stef
I will try with 5.0. I want to use Pharo3.0 latest because I need some fixes I pushed recently in Pharo to analyse Smalltalk code.
Stef
On Dec 7, 2013, at 3:45 PM, Tudor Girba tudor@tudorgirba.com wrote:
Hmm. Is that in 4.9? Because in 5.0 the code is different indeed.
Doru
On Sat, 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
-- www.tudorgirba.com
"Every thing has its own flow" _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Magritte changed asMorph in asMagritteMorph. The issue is fixed in 5.0, but it seems that 4.9 still has it.
Doru
On Sat, Dec 7, 2013 at 4:15 PM, Stéphane Ducasse stephane.ducasse@inria.frwrote:
ok it is working on 50. With ben we want to have a look at the bootstrap of FAME and I also would like to understand hwo to change these default strings for annotations.
Stef
I will try with 5.0. I want to use Pharo3.0 latest because I need some fixes I pushed recently in Pharo to analyse Smalltalk code.
Stef
On Dec 7, 2013, at 3:45 PM, Tudor Girba tudor@tudorgirba.com wrote:
Hmm. Is that in 4.9? Because in 5.0 the code is different indeed.
Doru
On Sat, 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
-- www.tudorgirba.com
"Every thing has its own flow" _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
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