<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ugo Sangiorgi &#187; eclipse</title>
	<atom:link href="http://ugosan.org/tag/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://ugosan.org</link>
	<description>developing software for software development</description>
	<lastBuildDate>Fri, 03 Aug 2012 09:56:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Lot of space with Fullscreen plugin</title>
		<link>http://ugosan.org/lot-of-space-with-eclipse-fullscreen/</link>
		<comments>http://ugosan.org/lot-of-space-with-eclipse-fullscreen/#comments</comments>
		<pubDate>Sun, 07 Nov 2010 15:38:10 +0000</pubDate>
		<dc:creator>Ugo</dc:creator>
				<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://ugosan.org/?p=260</guid>
		<description><![CDATA[I&#8217;ve just forked an old abandoned plugin project created to make Eclipse go fullscreen. Originally, the plugin maximizes the usable space by hiding everything but the editors and navigator &#8212; which means hiding even the status bar, making it really hard for developers to use. The single available option was to show/hide the Menu Bar, [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve just forked an old <a href="http://code.google.com/p/eclipse-fullscreen/">abandoned plugin project</a> created to make Eclipse go fullscreen. Originally, the plugin maximizes the usable space by hiding everything but the editors and navigator &#8212; which means hiding even the status bar, making it really hard for developers to use.</p>
<p>The single available option was to show/hide the Menu Bar, which is useful for RCP apps. But for IDE usage the status line MUST show up (it&#8217;s impossible to debug a stacktrace without knowing which line you are, for instance). My buddy <a href="http://blog.robsonpeixoto.com/">Robson</a> is a packager of ArchLinux and they were facing this issue with Eclipse, so he asked me to fix it. <img src='http://ugosan.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h5>Get the plugin</h5>
<p>You might <a href="https://github.com/ugosan/Eclipse-Fullscreen/raw/master/build/plugins/org.ugosan.eclipse.fullscreen_1.0.8.jar">get the .jar here</a> and drop it on your plugins/ folder. If you are an Eclipse plugin developer, you might also want to check it out on my <a href="https://github.com/ugosan/Eclipse-Fullscreen">github</a>.</p>
<h5>Toggle Fullscreen</h5>
<p>You might use Ctrl+Alt+Z to toggle fullscreen, or at <strong>Window-&gt;Fullscreen</strong></p>
<p style="text-align: center;"><a href="../wp-content/uploads/2010/11/eclipse-fullscreen.png"><img class="aligncenter" title="eclipse-fullscreen" src="../wp-content/uploads/2010/11/eclipse-fullscreen-258x300.png" alt="" width="258" height="300" /></a></p>
<h5>Configure</h5>
<p>You can choose to hide or show Menu Bar and Status Bar in <strong>Window -&gt; Preferences -&gt; General -&gt; Full Screen</strong></p>
<p><a href="http://ugosan.org/wp-content/uploads/2010/11/window-preferences.png"><img class="aligncenter size-medium wp-image-262" title="window-preferences" src="http://ugosan.org/wp-content/uploads/2010/11/window-preferences-300x249.png" alt="" width="300" height="249" /></a></p>
<p>Enjoy! <img src='http://ugosan.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;">
]]></content:encoded>
			<wfw:commentRss>http://ugosan.org/lot-of-space-with-eclipse-fullscreen/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>First steps of Eclipse Sketch</title>
		<link>http://ugosan.org/first-steps-of-eclipse-sketch/</link>
		<comments>http://ugosan.org/first-steps-of-eclipse-sketch/#comments</comments>
		<pubDate>Sat, 08 May 2010 07:00:21 +0000</pubDate>
		<dc:creator>Ugo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[FlexiTools'2010]]></category>
		<category><![CDATA[sketch]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://ugosan.org/?p=124</guid>
		<description><![CDATA[Good news, the Sketch project was finally created! You may find it at http://www.eclipse.org/sketch Although some improvements and refactoring are taking place right now, the API is already usable if you would like to pre-alpha-test it. Me, Chris and Mariot have decided to go for Git as the version control. We are a fresh new [...]]]></description>
				<content:encoded><![CDATA[<div id="attachment_126" class="wp-caption alignleft" style="width: 74px"><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=311648"><img class="size-full wp-image-126    " title="logo" src="http://ugosan.org/wp-content/uploads/2010/05/logo.png" alt="" width="64" height="64" /></a><p class="wp-caption-text">What do you think of this logo? (Click on it.)</p></div>
<p>Good news, the Sketch project was finally created! You may find it at <a href="http://www.eclipse.org/sketch">http://www.eclipse.org/sketch</a></p>
<p>Although some improvements and refactoring are taking place right now, the API is already usable if you would like to pre-alpha-test it. <img src='http://ugosan.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Me, <a href="http://aniszczyk.org/">Chris</a> and <a href="http://mariot-thoughts.blogspot.com/">Mariot</a> have decided to go for Git as the version control. We are a fresh new project, so there were no reason not to: <a href="http://git.eclipse.org/c/sketch/org.eclipse.sketch.git/">http://git.eclipse.org/c/sketch/org.eclipse.sketch.git/</a></p>
<p>Be aware that we are still re-organizing everything, and the code will be probably changed <strong>a lot</strong>, but if you see something really ugly, please <a href="https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Sketch">file a bug.</a></p>
<p>The future of Sketch, as I envision it, includes users drawing their own graphical representations for models, being able to make suggestions to existing models using their own vocabulary and ultimately writing their own models. There is a <a href="http://www.eclipse.org/forums/index.php?t=msg&amp;th=166343&amp;start=0&amp;">very interesting discussion</a> on this regard at the forum. If you are interested, please join it.</p>
<p>As for the present, I&#8217;ve prepared two videos for <a href="http://www.ics.uci.edu/~tproenca/icse2010/flexitools/papers/10.pdf">FlexiTools&#8217;2010</a>, showing the features already available in Sketch.</p>
<p>1.<a href="http://www.youtube.com/watch?v=bRd8bVakmUI"> VIDEO Creating a Use Case Diagram</a></p>
<p>Here I extend the Shapes editor (which is only able to model Squares and Triangles) to build such diagram.<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="600" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/bRd8bVakmUI&amp;hl=en_US&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="600" height="385" src="http://www.youtube.com/v/bRd8bVakmUI&amp;hl=en_US&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
2. <a href="http://www.youtube.com/watch?v=qU0JS2j-0UE">VIDEO Creating an Activity Diagram and Making Annotations</a></p>
<p>Here is a slightly more complex example, plus annotations, which is the most immediate outcome of Sketch, since no recognition is needed.<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="600" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/qU0JS2j-0UE&amp;hl=en_US&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="600" height="385" src="http://www.youtube.com/v/qU0JS2j-0UE&amp;hl=en_US&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://ugosan.org/first-steps-of-eclipse-sketch/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Installing the Eclipse RCP Delta pack (for beginners)</title>
		<link>http://ugosan.org/eclipse-rcp-delta-pack/</link>
		<comments>http://ugosan.org/eclipse-rcp-delta-pack/#comments</comments>
		<pubDate>Wed, 05 May 2010 13:41:12 +0000</pubDate>
		<dc:creator>Ugo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[rcp]]></category>

		<guid isPermaLink="false">http://ugosan.org/?p=113</guid>
		<description><![CDATA[I&#8217;ve decided to write this little step-by-step illustrated guide to help out some fellows who were always having trouble on exporting Eclipse products for multiple platforms. This is a little different from the steps you find here and here. What is the Delta Pack? It&#8217;s a zipped Eclipse package with all the needed plugins to [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve decided to write this little step-by-step illustrated guide to help out some fellows who were always having trouble on exporting Eclipse products for multiple platforms. This is a little different from the steps you find <a href="http://louismrose.wordpress.com/2009/01/23/installing-the-rcp-delta-pack-for-eclipse/">here</a> and <a href="http://aniefer.blogspot.com/2009/06/using-deltapack-in-eclipse-35.html">here</a>.</p>
<h5>What is the Delta Pack?</h5>
<p>It&#8217;s a zipped Eclipse package with all the needed plugins to export your RCP product to many platforms (Windows, Linux, Mac, and so on) without having to do that on a platform&#8217;s native Eclipse installation. The archive contains all the platform specific fragments from the Eclipse SDK.</p>
<h5>Situation</h5>
<p>You have either</p>
<ul>
<li>a .product of an already existing project (I will use <a href="http://www.eclipse.org/sketch" target="_blank">Sketch</a> product for <a href="http://www.youtube.com/watch?v=bRd8bVakmUI">Shapes Application</a> as the example here)</li>
<li>you have your .product with your native installation dependencies and want to export to multiple platforms</li>
</ul>
<h6><a href="http://ugosan.org/wp-content/uploads/2010/05/version.png"><img class="size-medium wp-image-114 alignright" title="version" src="http://ugosan.org/wp-content/uploads/2010/05/version-300x193.png" alt="" width="300" height="193" /></a>First, check your version</h6>
<p>First of all, check your Eclipse version, the delta pack you will download must have the exact same version, which means (yes) you will need to download another delta pack in case you update your Eclipse. But fortunately the steps are really easy to follow.</p>
<p>In my case, the version is Galileo 3.5.2 and the build is <strong>M20100211-1343</strong>, so look for that delta pack. Googling &#8220;delta pack &lt;build name&gt;&#8221; should give you the link, the file is usually like <em>eclipse-M20100211</em>-<em>1343</em>-<em>delta</em>-<em>pack</em>.zip</p>
<p>Unpack it into any folder. I usually place inside my own eclipse directory, inside a folder called delta.</p>
<h6>Adding the delta pack to your Running Platform</h6>
<p style="text-align: center;"><a href="http://ugosan.org/wp-content/uploads/2010/05/01-window-preferences.png"><img class="size-medium wp-image-115 aligncenter" title="01-window-preferences" src="http://ugosan.org/wp-content/uploads/2010/05/01-window-preferences-272x300.png" alt="" width="272" height="300" /></a> Go to <strong>Window -&gt; Preferences -&gt; Plug-in Development -&gt; Target Platform</strong> and<strong> Edit </strong>your current<strong> Running Platform.</strong></p>
<p style="text-align: center;"><strong><a href="http://ugosan.org/wp-content/uploads/2010/05/02-edit-target-definition.png"><img class="size-medium wp-image-116 aligncenter" title="02-edit-target-definition" src="http://ugosan.org/wp-content/uploads/2010/05/02-edit-target-definition-270x300.png" alt="" width="270" height="300" /></a></strong>Click <strong>Add..</strong></p>
<p style="text-align: center;"><strong><a href="http://ugosan.org/wp-content/uploads/2010/05/03-add-installation.png"><img class="aligncenter size-medium wp-image-117" title="03-add-installation" src="http://ugosan.org/wp-content/uploads/2010/05/03-add-installation-300x218.png" alt="" width="300" height="218" /></a></strong>Select <strong>Installation</strong></p>
<p style="text-align: center;"><a href="http://ugosan.org/wp-content/uploads/2010/05/04-browse.png"><img class="aligncenter size-medium wp-image-118" title="04-browse" src="http://ugosan.org/wp-content/uploads/2010/05/04-browse-300x223.png" alt="" width="300" height="223" /></a>Browse for the folder where you extracted the delta pack (mine is inside my eclipse folder, inside a folder called delta.</p>
<p style="text-align: center;"><a href="http://ugosan.org/wp-content/uploads/2010/05/05-preview.png"><img class="aligncenter size-medium wp-image-119" title="05-preview" src="http://ugosan.org/wp-content/uploads/2010/05/05-preview-300x223.png" alt="" width="300" height="223" /></a>It will show all the packages for all platforms. See the swt for win32 64 bits, linux and everything. Click <strong>Finish</strong> and it will reload your platform (it might take a while).</p>
<p style="text-align: center;"><a href="http://ugosan.org/wp-content/uploads/2010/05/06-solved1.png"><img class="aligncenter size-medium wp-image-121" title="06-solved" src="http://ugosan.org/wp-content/uploads/2010/05/06-solved1-300x262.png" alt="" width="300" height="262" /></a>If you open up your .product definition, and click Add Required Plugins, you shall see all the plugins.</p>
<p style="text-align: center;"><a href="http://ugosan.org/wp-content/uploads/2010/05/07-export.png"><img class="aligncenter size-medium wp-image-122" title="07-export" src="http://ugosan.org/wp-content/uploads/2010/05/07-export-232x300.png" alt="" width="232" height="300" /></a>If you go at the Overview tab of your product, click <strong>Export Product export wizard</strong>, and there it is, <strong>Export to multiple platforms</strong>.</p>
<p style="text-align: center;">Now you are able to generate your RCP product for any platform Eclipse is built for. Enjoy!</p>
<p style="text-align: center;">
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1869px; width: 1px; height: 1px;">http://git.eclipse.org/c/sketch/org.eclipse.sketch.core.git/</div>
]]></content:encoded>
			<wfw:commentRss>http://ugosan.org/eclipse-rcp-delta-pack/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Speeding up Eclipse (a bit) with +UnlockExperimentalVMOptions</title>
		<link>http://ugosan.org/speeding-up-eclipse-a-bit-with-unlockexperimentalvmoptions/</link>
		<comments>http://ugosan.org/speeding-up-eclipse-a-bit-with-unlockexperimentalvmoptions/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 18:32:48 +0000</pubDate>
		<dc:creator>Ugo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://ugosan.org/?p=106</guid>
		<description><![CDATA[Although Sun&#8217;s JVM had this for quite a long time now, you might not know you can turn on some experimental options such as UseFastAccessorMethods and UseG1GC, which is a new garbage collector that uses parallel processors. This might improve quite a bit your Eclipse&#8217;s performance, it improved mine. So try it out and share [...]]]></description>
				<content:encoded><![CDATA[<p>Although Sun&#8217;s JVM had this for quite a long time now, you might not know you can turn on some experimental options such as UseFastAccessorMethods and UseG1GC, which is a new garbage collector that uses parallel processors.</p>
<p>This might improve quite a bit your Eclipse&#8217;s performance, it improved mine. So try it out and share what did worked for you.</p>
<p>Warning: do NOT turn those flags on at your production﻿ environments.</p>
<p>Just add to your -vmargs launching arguments:</p>
<blockquote><p>eclipse -vmargs</p>
<p>-XX:+UnlockExperimentalVMOptions</p>
<p>-XX:+UseG1GC</p>
<p>-XX:+UseFastAccessorMethods</p></blockquote>
<p>Some people reported a great improvement in performance, not only in Eclipse, but also in other Java apps. For me it improved a little.</p>
<p>Some people also used other parameters (which didnt worked for my environment).</p>
<p>A complete list of jvm options may be found <a href="http://blogs.sun.com/watt/resource/jvm-options-list.html"><strong>here</strong></a><strong>,</strong> some are interesting like:</p>
<p><em>-XX:+AggressiveHeap<br />
-XX:+AggressiveOpts<br />
-XX:ParallelGCThreads=2<br />
-XX:ThreadPriorityPolicy=1</em></p>
<p>Does it works for you? Please comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://ugosan.org/speeding-up-eclipse-a-bit-with-unlockexperimentalvmoptions/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Sketch: Flexible Graphic Model in GMF (+Demo Video)</title>
		<link>http://ugosan.org/sketch-flexible-graphic-model-in-gmf-demo-video/</link>
		<comments>http://ugosan.org/sketch-flexible-graphic-model-in-gmf-demo-video/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 19:55:00 +0000</pubDate>
		<dc:creator>Ugo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[FlexiTools'2010]]></category>
		<category><![CDATA[GMF]]></category>
		<category><![CDATA[modeling]]></category>
		<category><![CDATA[sketch]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://ugosan.org/?p=21</guid>
		<description><![CDATA[There&#8217;s a long time since i&#8217;ve blogged about the FlexiTools&#8217;2010 workshop and the discussion about a flexible graphic representation made possible in Eclipse graphical editors. Here we talk about creating an intermediate element which holds a flexible graphic representation, in opposition to it&#8217;s canonical one (which in GMF is defined at .gmfgraph model). The users [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://ugosan.org/wp-content/uploads/2010/04/loginho.png"><img class="alignleft size-full wp-image-45" title="Sketch Logo" src="http://ugosan.org/wp-content/uploads/2010/04/loginho.png" alt="Sketch Logo" width="88" height="88" /></a>There&#8217;s a long time since i&#8217;ve blogged about the <a href="http://www.ics.uci.edu/~tproenca/icse2010/flexitools/program.html">FlexiTools&#8217;2010 workshop</a> and the discussion about a flexible graphic representation made possible in Eclipse graphical editors.</p>
<p><a href="http://www.serg.inf.puc-rio.br/serg/wp-content/uploads/2010/03/sketch-icse2010.pdf">Here</a> we talk about creating an intermediate element which holds a flexible graphic representation, in opposition to it&#8217;s canonical one (which in GMF is defined at .gmfgraph model). The users would be able to draw the elements as they wish, and as well be able to create new ones, something like this:</p>
<div class="separator" style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" href="http://3.bp.blogspot.com/_ALuXm2uZkKs/S8s3u_h68JI/AAAAAAAAACs/5sXErfoPHP4/s1600/demo1.1.png"><img src="http://3.bp.blogspot.com/_ALuXm2uZkKs/S8s3u_h68JI/AAAAAAAAACs/5sXErfoPHP4/s320/demo1.1.png" border="0" alt="" /></a></div>
<p><a href="http://www.youtube.com/v/TgPYc-Z2mVE">Here is a video</a> explaining how it works, please watch and comment (go to <a href="http://www.eclipse.org/forums/eclipse.sketch">Sketch Forum</a>):</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="620" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://www.youtube.com/v/TgPYc-Z2mVE&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_detailpage&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="620" height="385" src="http://www.youtube.com/v/TgPYc-Z2mVE&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_detailpage&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://ugosan.org/sketch-flexible-graphic-model-in-gmf-demo-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Ideas for Sketch API</title>
		<link>http://ugosan.org/more-ideas-for-sketch-api/</link>
		<comments>http://ugosan.org/more-ideas-for-sketch-api/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 18:52:00 +0000</pubDate>
		<dc:creator>Ugo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[GMF]]></category>
		<category><![CDATA[modeling]]></category>
		<category><![CDATA[sketch]]></category>

		<guid isPermaLink="false">http://ugosan.org/?p=20</guid>
		<description><![CDATA[I&#8217;ve just submitted a position paper to FlexiTools&#8217;2010, in which me and Simone outline our ideas for the Sketch API, which i&#8217;m carrying on with Chris and Mariot. Take a look at the paper:SKETCH: Modeling Using Freehand Drawing in Eclipse Graphical Editors The main idea is the approach of the modeling task as a twofold [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve just submitted a position paper to <a href="http://www.ics.uci.edu/%7Etproenca/icse2010/flexitools/cfp.html">FlexiTools&#8217;2010</a>, in which me and <a href="http://www-di.inf.puc-rio.br/%7Esimone/">Simone </a>outline our ideas for the <a href="http://www.eclipse.org/proposals/sketch/">Sketch API</a>, which i&#8217;m carrying on with <a href="http://aniszczyk.org/">Chris</a> and <a href="http://mariot-thoughts.blogspot.com/">Mariot</a>. <br />Take a look at the paper:<a href="http://www.serg.inf.puc-rio.br/serg/wp-content/uploads/2010/03/sketch-icse2010.pdf">SKETCH: Modeling Using Freehand Drawing in Eclipse Graphical Editors</a></p>
<p>The main idea is the approach of the modeling task as a twofold process &#8212; one of freely sketching models with little interruption from the system; and another more formal, &#8220;classic modeling&#8221;, recognizing the elements drawn by the user right away, having as output a model in its canonical representation.</p>
<p><a href="http://4.bp.blogspot.com/_ALuXm2uZkKs/S5kF28NRZmI/AAAAAAAAACM/AvZdMz_SY_Y/s1600-h/flower.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="56" src="http://4.bp.blogspot.com/_ALuXm2uZkKs/S5kF28NRZmI/AAAAAAAAACM/AvZdMz_SY_Y/s200/flower.png" width="200" /></a>By letting users draw the model using <b>their own</b> graphic representation, we are allowing the GEF/GMF editor to be more flexible regarding its visual notation. For instance, assuming a simple model with the elements named <i>flower</i>, <i>sun</i> and <i>cloud </i>&#8211; they might be connected and generate an output or might serve as input for other models. A user might draw the flower element, for instance, in infinite ways, having any number of petals, with or without stem, and so on.</p>
<div class="separator" style="clear: both; text-align: center;"></div>
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/_ALuXm2uZkKs/S5kP5tC-CcI/AAAAAAAAACU/eYVpCentEOA/s1600-h/editor.redimensionado.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="122" src="http://4.bp.blogspot.com/_ALuXm2uZkKs/S5kP5tC-CcI/AAAAAAAAACU/eYVpCentEOA/s200/editor.redimensionado.png" width="200" /></a></div>
<p>This allows the creation of a &#8220;<b>graphicless model</b>&#8221;, without predefined visual counterparts to the model elements, just elements and relations &#8212; the user would choose how elements will look like. That means the .gmfgraph would just hold the canonical representation, but the real one will be the user&#8217;s.</p>
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/_ALuXm2uZkKs/S5kQBvYK_fI/AAAAAAAAACc/r3cbuM99zQM/s1600-h/editor_canonical.redimensionado.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="121" src="http://4.bp.blogspot.com/_ALuXm2uZkKs/S5kQBvYK_fI/AAAAAAAAACc/r3cbuM99zQM/s200/editor_canonical.redimensionado.png" width="200" /></a></div>
<p>&nbsp;So, on Eclipse GEF/GMF frameworks side, some minor modifications will need to take place:
<ul>
<li>The underlying model (Ecore?) will need a generic element to serve as an &#8216;unrecognized&#8217; element, to be created at the model while the user does not signifies it as anything</li>
<li>make the editor flexible enough to hold any graphic representation for it&#8217;s elements, representing it using an SVG with the sketch. Also, this approach can also be used to make <b>annotations</b> on  existing models, since the user might be able to create an &#8220;annotation&#8221;  element.</li>
</ul>
<p>Those are all feasible, so little adaptation would be needed to plug sketch onto GEF/GMF editors <img src='http://ugosan.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Don&#8217;t you think?</p>
]]></content:encoded>
			<wfw:commentRss>http://ugosan.org/more-ideas-for-sketch-api/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ideas for the Sketch API</title>
		<link>http://ugosan.org/ideas-for-the-sketch-api/</link>
		<comments>http://ugosan.org/ideas-for-the-sketch-api/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 20:20:00 +0000</pubDate>
		<dc:creator>Ugo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[GMF]]></category>
		<category><![CDATA[modeling]]></category>
		<category><![CDATA[sketch]]></category>

		<guid isPermaLink="false">http://ugosan.org/?p=19</guid>
		<description><![CDATA[3 weeks ago Sketch API proposal became official. Meanwhile, our job is to foster community around the project. This project is intended to be applied to any GEF editor, and since that there are so many GEF-based graphical editors out there, our goal now is to try to define a common set of functionalities between [...]]]></description>
				<content:encoded><![CDATA[<p>3 weeks ago Sketch API proposal <a href="http://www.eclipse.org/proposals/sketch/">became official</a>. Meanwhile, our job is to foster community around the project.</p>
<p>This project is intended to be applied to any GEF editor, and since that there are so many GEF-based graphical editors out there, our goal now is to try to define a common set of functionalities between them. </p>
<p>We will start to discuss some of the ideas using the <a href="http://www.eclipse.org/forums/eclipse.sketch">Sketch Forum/Newsgroup</a>, please join the discussion and create topics if you are interested on this project or if you know a GEF editor that this project could benefit. </p>
<p>So far, what we have in mind is:
<ul>
<li>Gesture (not only shape) recognition &#8211; the API would be able to provide a set of configurable gestures, that would translate into commands for moving, resizing, and so on. This feature would massively benefit <a href="http://www.eclipse.org/gef3d/">GEF3D</a>.</li>
<li>Sketched vs. &#8216;Beautified&#8217; look &#8211; There would be two ways of presenting the diagrams: the Sketched would show the recognized element as the user sketched it (using an SVG Figure created from it); The &#8216;beautified&#8217; look would be the EditPart&#8217;s normal representation.</li>
<li>Postponed recognition &#8211; Maybe to have an Action to trigger the recognition would be better for some domains, instead of always asking the user what he meant to represent like on this <a href="http://vimeo.com/2252782">demo</a>.</li>
</ul>
<p><a href="http://www.blogger.com/goog_1267550677533"><br /></a>
<div class="separator" style="clear: both; text-align: center;"><a href="http://www.sapdesignguild.org/editions/edition7/images/sketch.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/_ALuXm2uZkKs/S41HW_7StVI/AAAAAAAAACE/yRL122BiXhw/s320/HDMockup2.jpg" /></a></div>
<p>Imagine to have a mockup/wireframe editor built on top of Visual Editor. A prototype builder might be coded using the user&#8217;s own drawings. And the prototype might be constructed without a &#8216;done look&#8217;.</p>
<p>Any more ideas? <img src='http://ugosan.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>We are also editing the <a href="http://wiki.eclipse.org/Sketch/Proposal">Sketch proposal&#8217;s Wiki</a> so the modifications would be merged onto the official one later. If you are an interested party, please add yourself there.</p>
]]></content:encoded>
			<wfw:commentRss>http://ugosan.org/ideas-for-the-sketch-api/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Draw freely with Sketch for GEF</title>
		<link>http://ugosan.org/draw-freely-with-sketch-for-gef/</link>
		<comments>http://ugosan.org/draw-freely-with-sketch-for-gef/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 19:46:00 +0000</pubDate>
		<dc:creator>Ugo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[modeling]]></category>
		<category><![CDATA[sketch]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://ugosan.org/?p=18</guid>
		<description><![CDATA[Pen-based/Tablet technology it&#8217;s been around for a long time, but recently this &#8216;touch-oriented interaction&#8217; has been gaining more attention, with all the buzz around iPad. So if we&#8217;re starting to interact to devices with our hands, we are not clicking anymore &#8212; perhaps our interfaces should start to be less click-oriented? How can we take [...]]]></description>
				<content:encoded><![CDATA[<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_ALuXm2uZkKs/S2hYOtujGRI/AAAAAAAAABU/np15lKarEPE/s1600-h/Pencil-icon.redimensionado.gif"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 70px; height: 53px;" src="http://4.bp.blogspot.com/_ALuXm2uZkKs/S2hYOtujGRI/AAAAAAAAABU/np15lKarEPE/s320/Pencil-icon.redimensionado.gif" alt="" id="BLOGGER_PHOTO_ID_5433689960238749970" border="0" /></a>Pen-based/Tablet technology it&#8217;s been around for a long time, but recently this &#8216;touch-oriented interaction&#8217; has been gaining more attention, with all the buzz around iPad. So if we&#8217;re starting to interact to devices with our hands, we are not clicking anymore &#8212; perhaps our interfaces should start to be less click-oriented? How can we take advantage of the popularity of those devices? Wouldn&#8217;t be nice if we had sketching recognition withing Eclipse?</p>
<p>I think so, I&#8217;ve been working on sketch recognition for GEF/GMF editors while creating the MoLIC editor, take a look:</p>
<p><object height="348" width="461"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2392258&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=c9ff23&amp;fullscreen=1"><embed src="http://vimeo.com/moogaloop.swf?clip_id=2392258&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=c9ff23&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" height="348" width="461"></embed></object>
<p><a href="http://vimeo.com/2392258">Sketch API (former OmniModeling) on MoLIC Editor</a> from <a href="http://vimeo.com/ugo">Ugo Sangiorgi</a> on <a href="http://vimeo.com/">Vimeo</a>.</p>
<p>There are <a href="http://pluginiac.blogspot.com/search/label/omnimodeling">other posts </a>on this blog reporting the evolution until this point &#8212; the API is able to recognize shapes the way you draw, learning withing the process if it cant recognize it upfront. It can recognize any shape, really, you will &#8216;teach&#8217; it how.</p>
<p><object height="370" width="461"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2252782&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=c9ff23&amp;fullscreen=1"><embed src="http://vimeo.com/moogaloop.swf?clip_id=2252782&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=c9ff23&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" height="370" width="461"></embed></object>
<p><a href="http://vimeo.com/2252782">Omnimodeling: Multi-Agent Recognition</a> from <a href="http://vimeo.com/ugo">Ugo Sangiorgi</a> on <a href="http://vimeo.com/">Vimeo</a>.</p>
<p>So it&#8217;s on! I decided to contribute to Eclipse by proposing a Sketch API for GEF/GMF using the former OmniModeling project base, take a look at <a href="http://wiki.eclipse.org/Sketch/Proposal">the proposal</a> we are working on.<span style="text-decoration: underline;"> </span><a href="http://mariot-thoughts.blogspot.com/2010/02/sketch-capabilities-for-your-gef-based.html">Mariot Chauvin</a> and <a href="http://aniszczyk.org/">Chris Aniszczyk</a> are helping me through, thank you so much guys!</p>
<p>Comments and contributions are welcome <img src='http://ugosan.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span style="font-size:100%;">I should acknowledge <a href="http://www-di.inf.puc-rio.br/%7Esimone/">Simone D.J. Barbosa</a> for the kind support during the OmniModeling project, as well as my colleagues at the <a href="http://www.serg.inf.puc-rio.br/serg/">Semiotic Engineering Group</a> of PUCRio.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://ugosan.org/draw-freely-with-sketch-for-gef/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OmniModeling: Improving Recognition</title>
		<link>http://ugosan.org/omnimodeling-improving-recognition/</link>
		<comments>http://ugosan.org/omnimodeling-improving-recognition/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 02:08:00 +0000</pubDate>
		<dc:creator>Ugo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://ugosan.org/?p=11</guid>
		<description><![CDATA[I&#8217;m making some progress implementing a Multi-Agent recognition system for OmniModeling. Right now it&#8217;s able to recognize multiple strokes as a gesture, so the user is able to draw dashed connections and composite figures as well: Omnimodeling: Multi-Agent Recognition from Ugo Sangiorgi on Vimeo.]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m making some progress implementing a Multi-Agent recognition system for OmniModeling. Right now it&#8217;s able to recognize multiple strokes as a gesture, so the user is able to draw dashed connections and composite figures as well:</p>
<p><object width="520" height="417"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2252782&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1"><embed src="http://vimeo.com/moogaloop.swf?clip_id=2252782&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="520" height="417"></embed></object></p>
<p><a href="http://vimeo.com/2252782">Omnimodeling: Multi-Agent Recognition</a> from <a href="http://vimeo.com/ugo">Ugo Sangiorgi</a> on <a href="http://vimeo.com/">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ugosan.org/omnimodeling-improving-recognition/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Better Than MovieOS Challenge</title>
		<link>http://ugosan.org/better-than-movieos-challenge/</link>
		<comments>http://ugosan.org/better-than-movieos-challenge/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 23:51:00 +0000</pubDate>
		<dc:creator>Ugo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://ugosan.org/?p=10</guid>
		<description><![CDATA[From here: Eclipse community members are invited to display their Photoshop and Gimp skills by taking a still frame from a movie or TV show, and replacing the MovieOS with a screenshot of an Eclipse IDE running plugins, an RCP or SWT application, or even a mobile OSGi application. The top 5 entries will receive [...]]]></description>
				<content:encoded><![CDATA[<p>From <a href="http://www.eclipse.org/community/movieoscontest.php">here</a>: Eclipse community members are invited to display their Photoshop and Gimp skills by taking a still frame from a movie or TV show, and replacing the MovieOS with a screenshot of an Eclipse IDE running plugins, an RCP or SWT application, or even a mobile OSGi application. The top 5 entries will receive Eclipse wear. Submit your entry by attaching it to <a href="http://bugs.eclipse.org/252135">bug 252135</a> by November 17 at 4:00 pm EST.<br />I&#8217;d sent two images so far, from &#8220;2001: a Space Odissey&#8221; (made with GIMP):</p>
<p>HAL and Dr. David Bowman discussing a GMF model<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_1mVfXOyP-8s/SRX9HvZvMpI/AAAAAAAACBg/62KE6P3GfmM/s1600-h/hal_gmf_astronaut.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 194px;" src="http://1.bp.blogspot.com/_1mVfXOyP-8s/SRX9HvZvMpI/AAAAAAAACBg/62KE6P3GfmM/s400/hal_gmf_astronaut.png" alt="" id="BLOGGER_PHOTO_ID_5266393648704991890" border="0" /></a>HAL sees Java Perspective:<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_1mVfXOyP-8s/SRX-VLdeCiI/AAAAAAAACBo/frlsmGylQig/s1600-h/hal.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 195px;" src="http://2.bp.blogspot.com/_1mVfXOyP-8s/SRX-VLdeCiI/AAAAAAAACBo/frlsmGylQig/s400/hal.png" alt="" id="BLOGGER_PHOTO_ID_5266394979086764578" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ugosan.org/better-than-movieos-challenge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OmniModeling: Sketching on GMF</title>
		<link>http://ugosan.org/omnimodeling-sketching-on-gmf/</link>
		<comments>http://ugosan.org/omnimodeling-sketching-on-gmf/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 23:00:00 +0000</pubDate>
		<dc:creator>Ugo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://ugosan.org/?p=9</guid>
		<description><![CDATA[Here is a video showing the current development status. For that I used the Levenshtein algorithm partly inspired by the approach proposed on this article [1]. This is a normal GMF generated GEF editor with Square, Triangle and Connection tools.I&#8217;d added another tool called Sketch on the palette, so at this point I&#8217;m able to [...]]]></description>
				<content:encoded><![CDATA[<p>Here is a video showing the current development status. For that I used the <a href="http://pluginiac.blogspot.com/2008/10/using-levenshtein-distance-to-compare.html">Levenshtein algorithm</a> partly inspired by the approach proposed on this article <a href="http://www.springerlink.com/content/u0r7261w01248q1t/">[1]</a>.</p>
<p>This is a normal GMF generated GEF editor with Square, Triangle and Connection tools.<br />I&#8217;d added another tool called Sketch on the palette, so at this point I&#8217;m able to feedback to the user the sketch being performed, and detect what is meant by comparing the sketch with a using the Levenshtein algorithm for string distance. I&#8217;m also working on a Multi-agent approach for both recognition and learning of sketches.</p>
<p><object width="520" height="417"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2146558&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1"><embed src="http://vimeo.com/moogaloop.swf?clip_id=2146558&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="520" height="417"></embed></object><br /><a href="http://vimeo.com/2146558">Omnimodeling for GMF (in progress&#8230;)</a> from <a href="http://vimeo.com/ugo">Ugo Sangiorgi</a> on <a href="http://vimeo.com/">Vimeo</a>.</p>
<p>So in a rough way, GMF provides the ability for a user to create/edit/view a XML model containing Squares and Triangles (in this case) but in a graphic way. What OmniModeling tries to accomplish is to add another layer on top of this funcionality and let the user draw the model freely, by hand.</p>
<p>The next step is not only to recognize the shape, but grasp the size of the element being added (by comparing distance between corners maybe) and set it automatically.</p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ugosan.org/omnimodeling-sketching-on-gmf/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OmniModeling: what if..?</title>
		<link>http://ugosan.org/omnimodeling-what-if/</link>
		<comments>http://ugosan.org/omnimodeling-what-if/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 16:20:00 +0000</pubDate>
		<dc:creator>Ugo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[sketch]]></category>

		<guid isPermaLink="false">http://ugosan.org/?p=8</guid>
		<description><![CDATA[What if I give to GEF editors the ability to recognize sketches, using the Levenshtein algorithm, which is easy to implement and its also fast? Instead of clicking on the palette, the user just select the Free Drawing Tool and sketch freely on the editor. A given layer could recognize the points and add the [...]]]></description>
				<content:encoded><![CDATA[<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1mVfXOyP-8s/SQsGjzBSS7I/AAAAAAAAB_0/JKRpozCd6aQ/s1600-h/om_idea.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 206px; height: 400px;" src="http://3.bp.blogspot.com/_1mVfXOyP-8s/SQsGjzBSS7I/AAAAAAAAB_0/JKRpozCd6aQ/s400/om_idea.jpg" alt="" id="BLOGGER_PHOTO_ID_5263307801573346226" border="0" /></a><br />What if I give to GEF editors the ability to recognize sketches, using the <a href="http://pluginiac.blogspot.com/2008/10/using-levenshtein-distance-to-compare.html">Levenshtein algorithm</a>, which is easy to implement and its also fast?</p>
<p>Instead of clicking on the palette, the user just select the Free Drawing Tool and sketch freely on the editor. A given layer could recognize the points and add the relative element to the diagram.<br />Also, if the recognizer didnt get the sketch upfront, there could be a mechanism that let the user tell the program what he/she meant with that sketch, lets say a popup menu that let the user choose what element is meant by the sketch.</p>
<p>This could be a nice feature to have on GMF. You model your domain, works the Graphical model, the Tooling model, and there could be also a Sketch model for you to create, binding gestures to elements.</p>
<p>I&#8217;m starting a prototype. I tought it might be called OmniModeling. The modeller of everything <img src='http://ugosan.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ugosan.org/omnimodeling-what-if/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
