[Uml-devel] KDE/kdesdk/umbrello/umbrello
Sharan Rao
sharanrao at gmail.com
Sat Jul 21 19:32:34 UTC 2007
SVN commit 690674 by sharan:
Add menu Item for category for Right Click ( on ER Diagram) -> New ..
M +1 -0 listpopupmenu.cpp
M +5 -0 umlview.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/listpopupmenu.cpp #690673:690674
@@ -1201,6 +1201,7 @@
case mt_On_EntityRelationship_Diagram:
m_pInsert = new KMenu(this);
m_pInsert->insertItem(m_pixmap[pm_Entity], i18n("Entity..."), mt_Entity);
+ m_pInsert->insertItem(m_pixmap[pm_Category], i18n("Category..."), mt_Category);
insertFileNew();
insertSeparator();
if ( m_TriggerObjectType!= tot_View ) {
--- trunk/KDE/kdesdk/umbrello/umbrello/umlview.cpp #690673:690674
@@ -2672,6 +2672,11 @@
Object_Factory::createUMLObject(ot_Entity);
break;
+ case ListPopupMenu::mt_Category:
+ m_bCreateObject = true;
+ Object_Factory::createUMLObject(ot_Category);
+ break;
+
case ListPopupMenu::mt_Datatype:
m_bCreateObject = true;
Object_Factory::createUMLObject(ot_Datatype);
More information about the umbrello-devel
mailing list