Skip to content

More Versatile Options Morph #21

@seandenigris

Description

@seandenigris

Right now, there is MATokenCompletionMorph and the morphs that present a visible list of all options e.g. MAMultiSelectListMorph. Each of these has a use case. The problem is that for use within Magritte, e.g. for meta-describing descriptions themselves, there seems to be no way to specify without creating a dependency from Model to Morph. Magritte's extension system could be used to replace individual uses of the former with the latter, e.g.:

'*Magritte-Morph'
MARelationDescription>>#descriptionClassesWithMorphic: description
	<magritteDescription: #descriptionClasses>
	^ description
			morphClass: MATokenCompletionMorph;
			yourself

Although, maybe the best solution would be to have the default be a combined morph - like a filtered list with auto-completion?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions