self.to_create = ["verify", "custom_MM", "conf_bottom", "upload_MVC"]
self.button_info = {"verify": "Verify if the current model conforms to the current metamodel.",
"custom_MM": "Browse for a custom metamodel for the current model.",
"conf_bottom": "Open the current model as its physical graph representation.",
"upload_MVC": "Replace the current model with a textual representation.",
}
self.buttons = {}
tk.Label(self, text="Management").pack(side=tk.LEFT)
strvar = tk.StringVar(self)
strvar.set(selected_metamodel)
selected_metamodel = strvar
tk.OptionMenu(self, selected_metamodel, *list(metamodels)).pack(side=tk.LEFT)
selected_metamodel.trace('w', lambda name, index, mode: self.controller.addInput(Event("changed_metamodel", "input", [id(self), selected_metamodel.get()])))