<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d11552613\x26blogName\x3dMonoUML\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://monouml.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://monouml.blogspot.com/\x26vt\x3d-7757409343531954721', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tuesday, September 06, 2005

José Ramón Palanco

MonoUml AddIn for MD mockup

I have been thinking on how to integrate MonoUML into MD. Today I decided to try several ways.

We need a MonoUML Pad, so extending from MonoDevelop.Gui.Widgets.TreeView (MonoDevelop) and MonoUML.Widgets.IView (MonoUML) is all we need to do. We also need to launch the monouml engine (the Hub class) as a service (MonoDevelop AbstractService), attach our TreeView to it (and register it into the Hub to know when raise events).

Monodevelop hack

The same file with monouml

2 Comments:

Blogger High Power Rocketry said...

You font is too big!


R2000

September 06, 2005 9:00 AM  
Anonymous Anonymous said...

Couple suggestions.

We have removed MonoDevelop.Gui.Widgets.TreeView from svn as I removed the dependency MonoQuery had on it after last release. The new solution pad api is amazing, check it out. (http://svn.myrealbox.com/viewcvs/trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Pads/SolutionPad/?root=monodevelop) The code in monoquery should provide a quick example of out to use this. Also, check out GuiDispatch in the DispatchService. This will help you do asynchronous gui modifications without causing crashes.

Cheers!

September 10, 2005 5:34 AM  

Post a Comment

<< Home