[Uml-devel] KDE/kdesdk/umbrello/umbrello
Sharan Rao
sharanrao at gmail.com
Sat Jun 23 12:43:27 UTC 2007
SVN commit 679239 by sharan:
Added a missing ,
Right Click on Canvas Widget -> New Template
M +1 -0 classifierwidget.cpp
M +5 -0 listpopupmenu.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/classifierwidget.cpp #679238:679239
@@ -397,6 +397,7 @@
switch (mt) {
case ListPopupMenu::mt_Attribute:
case ListPopupMenu::mt_Operation:
+ case ListPopupMenu::mt_Template:
{
UMLDoc *doc = UMLApp::app()->getDocument();
Uml::Object_Type ot = ListPopupMenu::convert_MT_OT(mt);
--- trunk/KDE/kdesdk/umbrello/umbrello/listpopupmenu.cpp #679238:679239
@@ -770,6 +770,8 @@
if (type == Uml::wt_Class)
m_pInsert->insertItem(SmallIcon( "CVpublic_var" ), i18n("Attribute..."), mt_Attribute);
m_pInsert->insertItem( SmallIcon( "CVpublic_meth"), i18n("Operation..."), mt_Operation);
+ m_pInsert->insertItem( SmallIcon( "source" ), i18n( "Template..." ), mt_Template );
+
insertFileNew();
makeMultiClassifierPopup(c);
@@ -867,6 +869,9 @@
case mt_Attribute:
type = Uml::ot_Attribute;
break;
+ case mt_Template:
+ type = Uml::ot_Template;
+ break;
case mt_EntityAttribute:
type = Uml::ot_EntityAttribute;
break;
More information about the umbrello-devel
mailing list