public void Execute(IMenuCommand command)
        {
            // TODO: Add the logic for your command extension here
            frmTypeDefUI typeUI = new frmTypeDefUI(types);

            typeUI.ShowDialog();

            // The following example creates a new class in the model store
            // and displays it on the current diagram.
            //IClassDiagram diagram = context.CurrentDiagram as IClassDiagram;
            //IModelStore store = diagram.ModelStore;
            //IPackage rootPackage = store.Root;

            //IClass newClass = rootPackage.CreateClass();
            //newClass.Name = "TypeDefinitionExtension";
            //diagram.Display(newClass);
        }
        public void Execute(IMenuCommand command)
        {
            // TODO: Add the logic for your command extension here
            frmTypeDefUI typeUI = new frmTypeDefUI(types);

            typeUI.ShowDialog();

            // The following example creates a new class in the model store
            // and displays it on the current diagram.
            //IClassDiagram diagram = context.CurrentDiagram as IClassDiagram;
            //IModelStore store = diagram.ModelStore;
            //IPackage rootPackage = store.Root;

            //IClass newClass = rootPackage.CreateClass();
            //newClass.Name = "TypeDefinitionExtension";
            //diagram.Display(newClass);
        }