[Uml-devel] branches/work/isi-umbrello/umbrello/umbrello

Thibault Normand thibault.normand at gmail.com
Fri Mar 2 15:37:30 UTC 2007


SVN commit 638589 by tnormand:

+ Adding U/R for Widget object

 M  +5 -5      cmds.h  
 M  +2 -0      umlview.cpp  


--- branches/work/isi-umbrello/umbrello/umbrello/cmds.h #638588:638589
@@ -30,12 +30,7 @@
 #include "cmds/cmd_resizeWidget.h"
 #include "cmds/cmd_set_visibility.h"
 #include "cmds/cmd_set_stereotype.h"
-#include "cmds/widget/cmd_set_name.h"
-#include "cmds/widget/cmd_set_txt.h"
 #include "cmds/cmd_handle_rename.h"
-#include "cmds/widget/cmd_changeFontSelection.h"
-#include "cmds/widget/cmd_changeLineColor.h"
-#include "cmds/widget/cmd_changeFillColor.h"
 
 /************************************************************
  * Class Diagram
@@ -55,5 +50,10 @@
  ************************************************************/
 
 #include "cmds/widget/cmd_create_widget.h"
+#include "cmds/widget/cmd_changeFontSelection.h"
+#include "cmds/widget/cmd_changeLineColor.h"
+#include "cmds/widget/cmd_changeFillColor.h"
+#include "cmds/widget/cmd_set_name.h"
+#include "cmds/widget/cmd_set_txt.h"
 
 #endif
--- branches/work/isi-umbrello/umbrello/umbrello/umlview.cpp #638588:638589
@@ -401,6 +401,8 @@
     resizeCanvasToItems();
     m_WidgetList.append( w );
     m_pDoc->setModified();
+     
+    UMLApp::app()->executeCommand(new cmdCreateWidget(this, w));
 }
 
 void UMLView::contentsMouseReleaseEvent(QMouseEvent* ome) {




More information about the umbrello-devel mailing list