IMenuAnnotation - For inputs and parameters
Currently it is up to the GUI implementation to provide the context menu for settings items. Since this needs to be implemented everywhere to support parameters and since we plan to extend this again in relation to a new 'everything-is-input' feature (#279 (closed)), we need to abstract this in a way that makes it easier for GUI implementors to be future-compatible.
IMenuAnnotation should provide a list of AnnotationCollections that lists the different context options for a given property. Initially it only need to be IMethodAnnotations that provides the action. In that callback it should be possible to use UserInput.
Remember to keep support for icons.
Edited by Asger Iversen