<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for GhoUl</title>
	<atom:link href="http://cubussapiens.hu/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://cubussapiens.hu</link>
	<description>A Cubus Sapiens oldal</description>
	<lastBuildDate>Tue, 21 Feb 2012 09:34:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Reflective tree editor for Xtext-based languages by Hendy Irawan</title>
		<link>http://cubussapiens.hu/2012/02/reflective-tree-editor-for-xtext-based-languages/comment-page-1/#comment-32621</link>
		<dc:creator>Hendy Irawan</dc:creator>
		<pubDate>Tue, 21 Feb 2012 09:34:11 +0000</pubDate>
		<guid isPermaLink="false">http://cubussapiens.hu/?p=2257#comment-32621</guid>
		<description>Thank you!

It&#039;s indeed very cool</description>
		<content:encoded><![CDATA[<p>Thank you!</p>
<p>It&#8217;s indeed very cool</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reflective tree editor for Xtext-based languages by Zoltán Ujhelyi</title>
		<link>http://cubussapiens.hu/2012/02/reflective-tree-editor-for-xtext-based-languages/comment-page-1/#comment-32619</link>
		<dc:creator>Zoltán Ujhelyi</dc:creator>
		<pubDate>Tue, 21 Feb 2012 08:58:06 +0000</pubDate>
		<guid isPermaLink="false">http://cubussapiens.hu/?p=2257#comment-32619</guid>
		<description>Basically, editing is much effective in the text-based editor. However, when developing the language or the tooling, it is often nice that you could view the textual and the EMF version side by side (think writing code generators for example).

Yeah, I know, for end-users this feature is less appealing, but during development we missed it. Its possible to develop without such a view, but makes coding often easier.</description>
		<content:encoded><![CDATA[<p>Basically, editing is much effective in the text-based editor. However, when developing the language or the tooling, it is often nice that you could view the textual and the EMF version side by side (think writing code generators for example).</p>
<p>Yeah, I know, for end-users this feature is less appealing, but during development we missed it. Its possible to develop without such a view, but makes coding often easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reflective tree editor for Xtext-based languages by Reflective tree editor for Xtext-based languages &#124; Eclipse &#124; Syngu</title>
		<link>http://cubussapiens.hu/2012/02/reflective-tree-editor-for-xtext-based-languages/comment-page-1/#comment-32609</link>
		<dc:creator>Reflective tree editor for Xtext-based languages &#124; Eclipse &#124; Syngu</dc:creator>
		<pubDate>Tue, 21 Feb 2012 06:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://cubussapiens.hu/?p=2257#comment-32609</guid>
		<description>[...] Xtext is a great technology. I really mean it. After 15-30 minutes (depending on your previous domain knowledge) you can get a really fancy textual editor, that parses your text into an EMF model. Xbase is even better: you can simply include Java-like expressions into your language, that can be easily translated into pure Java code.However, while using Xtext I found some minor “paper-cuts”. One of the most problematic of them was the fact that I cannot open my textual models using the Sample Reflective Ecore  Model editor, as I get an exception: java.net.MalformedURLException: unknown protocol: java.A similar exception occurred if I tried to open the files programatically (but without the help of the generated Xtext editor). When I asked in the Eclipse forums how to open Xtext model files programatically, I was answered (btw. very quickly – kudos for that ) that a specific ResourceSet implementation is needed that refers to model files and classes available in a Java project.This gave me the idea to create an Xtext extension that allows opening an EMF tree editor, the Xtext Reflective Tree Editor. The plug-in consists of two parts:An extended version of the org.eclipse.emf.ecore.presentation.EcoreEditor class, that opens its ResourceSet using the Xtext API (more specifically, uses an injected ResourceSet);And an Xtext generator fragment, that can be used to generate a new editor extension to the ui project (with the corresponding dependency added to the reflective editor plug-in).UsageTo use the plug-in, just follow the following simple steps:Add hu.cubussapiens.xtext.reflectiveeditor as a dependency to your language project.Extend your editor generation workflow:Import the generator package: import hu.cubussapiens.xtext.reflectiveeditor.generator.*Add the new generator fragment at the end of the generator (file.extensions is the list of file extensions defined in the default workflow):fragment = ReflectiveXtextEditorFragment { fileExtensions = file.extensions }Regenerate your language.Unless the plugin.xml files are updated automatically, you have to copy the newly generated editor extension from the end of the plugin.xml_gen file of the ui plug-in to the plugin.xml file. The simplest way to do this is to select both files, and open the compare editor from the popup menu (Compare with/Each other…), the copy the changes manually.Finally, open the runtime workbench, and open your textual model files from the popup menu using Open with/«LanguageName» Reflective Editor. The result should be similar to the screenshot below.The Xtext Reflective EditorIn my case, the editor shows both the domain model generated from the file directly (the Pattern Model element), the inferred JVM model classes (the various JVM Generic Type instances), and also the referred Java classes as external resources (the resources beginning with the java:/ URIs).DownloadIf you are interested in the plug-in in action, download it from our update site: http://eclipse.cubussapiens.hu, or take a look at the repository on Github: https://github.com/ujhelyiz/xtext-reflectiveVersion 0.5.3 is already available, and hopefully works well for all languages.   &#160;   &#160;Eclipse     Read the original post on Planet Eclipse... [...]</description>
		<content:encoded><![CDATA[<p>[...] Xtext is a great technology. I really mean it. After 15-30 minutes (depending on your previous domain knowledge) you can get a really fancy textual editor, that parses your text into an EMF model. Xbase is even better: you can simply include Java-like expressions into your language, that can be easily translated into pure Java code.However, while using Xtext I found some minor “paper-cuts”. One of the most problematic of them was the fact that I cannot open my textual models using the Sample Reflective Ecore  Model editor, as I get an exception: java.net.MalformedURLException: unknown protocol: java.A similar exception occurred if I tried to open the files programatically (but without the help of the generated Xtext editor). When I asked in the Eclipse forums how to open Xtext model files programatically, I was answered (btw. very quickly – kudos for that ) that a specific ResourceSet implementation is needed that refers to model files and classes available in a Java project.This gave me the idea to create an Xtext extension that allows opening an EMF tree editor, the Xtext Reflective Tree Editor. The plug-in consists of two parts:An extended version of the org.eclipse.emf.ecore.presentation.EcoreEditor class, that opens its ResourceSet using the Xtext API (more specifically, uses an injected ResourceSet);And an Xtext generator fragment, that can be used to generate a new editor extension to the ui project (with the corresponding dependency added to the reflective editor plug-in).UsageTo use the plug-in, just follow the following simple steps:Add hu.cubussapiens.xtext.reflectiveeditor as a dependency to your language project.Extend your editor generation workflow:Import the generator package: import hu.cubussapiens.xtext.reflectiveeditor.generator.*Add the new generator fragment at the end of the generator (file.extensions is the list of file extensions defined in the default workflow):fragment = ReflectiveXtextEditorFragment { fileExtensions = file.extensions }Regenerate your language.Unless the plugin.xml files are updated automatically, you have to copy the newly generated editor extension from the end of the plugin.xml_gen file of the ui plug-in to the plugin.xml file. The simplest way to do this is to select both files, and open the compare editor from the popup menu (Compare with/Each other…), the copy the changes manually.Finally, open the runtime workbench, and open your textual model files from the popup menu using Open with/«LanguageName» Reflective Editor. The result should be similar to the screenshot below.The Xtext Reflective EditorIn my case, the editor shows both the domain model generated from the file directly (the Pattern Model element), the inferred JVM model classes (the various JVM Generic Type instances), and also the referred Java classes as external resources (the resources beginning with the java:/ URIs).DownloadIf you are interested in the plug-in in action, download it from our update site: <a href="http://eclipse.cubussapiens.hu" rel="nofollow">http://eclipse.cubussapiens.hu</a>, or take a look at the repository on Github: <a href="https://github.com/ujhelyiz/xtext-reflectiveVersion" rel="nofollow">https://github.com/ujhelyiz/xtext-reflectiveVersion</a> 0.5.3 is already available, and hopefully works well for all languages.   &nbsp;   &nbsp;Eclipse     Read the original post on Planet Eclipse&#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reflective tree editor for Xtext-based languages by Hendy Irawan</title>
		<link>http://cubussapiens.hu/2012/02/reflective-tree-editor-for-xtext-based-languages/comment-page-1/#comment-32607</link>
		<dc:creator>Hendy Irawan</dc:creator>
		<pubDate>Tue, 21 Feb 2012 05:27:23 +0000</pubDate>
		<guid isPermaLink="false">http://cubussapiens.hu/?p=2257#comment-32607</guid>
		<description>Wow! Very cool!

However, it begs the question.. Why would someone, like you, want to use the reflective editor instead of a text-based editor? Isn&#039;t editing textually much faster and efficient ?</description>
		<content:encoded><![CDATA[<p>Wow! Very cool!</p>
<p>However, it begs the question.. Why would someone, like you, want to use the reflective editor instead of a text-based editor? Isn&#8217;t editing textually much faster and efficient ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on EMF-IncQuery @ EclipseCon Europe &#8217;11 by Applications of high-performance model queries @ OMG/Eclipse workshop &#124; GhoUl</title>
		<link>http://cubussapiens.hu/2011/10/emf-incquery-eclipsecon-europe-11/comment-page-1/#comment-32259</link>
		<dc:creator>Applications of high-performance model queries @ OMG/Eclipse workshop &#124; GhoUl</dc:creator>
		<pubDate>Mon, 13 Feb 2012 12:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://cubussapiens.hu/?p=2167#comment-32259</guid>
		<description>[...] the last EclipseCon Europe, my collegue, István Ráth presented our incremental model query approach in the Modeling [...]</description>
		<content:encoded><![CDATA[<p>[...] the last EclipseCon Europe, my collegue, István Ráth presented our incremental model query approach in the Modeling [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom markers and annotations &#8211; the bright side of Eclipse by Zoltán Ujhelyi</title>
		<link>http://cubussapiens.hu/2011/05/custom-markers-and-annotations-the-bright-side-of-eclipse/comment-page-1/#comment-32141</link>
		<dc:creator>Zoltán Ujhelyi</dc:creator>
		<pubDate>Sat, 11 Feb 2012 09:16:35 +0000</pubDate>
		<guid isPermaLink="false">http://cubussapiens.hu/?p=2021#comment-32141</guid>
		<description>I am not sure whether the annotationTypes or the markerAnnotationSpecification extension causes my annotation type to appear in the preferences (I think, the annotationTypes). 

If you have the annotation type defined, you could create such annotations by attaching them to the document model; or if you also have markerAnnotationSpecification, you could simply create a marker for the file, and the corresponding annotation would be created automatically.</description>
		<content:encoded><![CDATA[<p>I am not sure whether the annotationTypes or the markerAnnotationSpecification extension causes my annotation type to appear in the preferences (I think, the annotationTypes). </p>
<p>If you have the annotation type defined, you could create such annotations by attaching them to the document model; or if you also have markerAnnotationSpecification, you could simply create a marker for the file, and the corresponding annotation would be created automatically.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom markers and annotations &#8211; the bright side of Eclipse by Mol</title>
		<link>http://cubussapiens.hu/2011/05/custom-markers-and-annotations-the-bright-side-of-eclipse/comment-page-1/#comment-32139</link>
		<dc:creator>Mol</dc:creator>
		<pubDate>Sat, 11 Feb 2012 07:02:43 +0000</pubDate>
		<guid isPermaLink="false">http://cubussapiens.hu/?p=2021#comment-32139</guid>
		<description>Sir i need the full code to create the annotation.....as I want to create a new annotation and show it on the preferences(Annotation type). Please Help me..</description>
		<content:encoded><![CDATA[<p>Sir i need the full code to create the annotation&#8230;..as I want to create a new annotation and show it on the preferences(Annotation type). Please Help me..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Generating Java code from EMF models automatically by Stampie</title>
		<link>http://cubussapiens.hu/2010/12/generating-java-code-from-emf-models-automatically/comment-page-1/#comment-29257</link>
		<dc:creator>Stampie</dc:creator>
		<pubDate>Wed, 28 Dec 2011 13:46:30 +0000</pubDate>
		<guid isPermaLink="false">http://cubussapiens.hu/?p=1737#comment-29257</guid>
		<description>@?: Thank you again for pointing out the errors of my script. I updated the script with more detailed comments about the eclipse.build steps, and state that they are provided by Buckminster.

These steps are not required, so if you manage to refresh/build your projects otherwise, feel free to remove them.</description>
		<content:encoded><![CDATA[<p>@?: Thank you again for pointing out the errors of my script. I updated the script with more detailed comments about the eclipse.build steps, and state that they are provided by Buckminster.</p>
<p>These steps are not required, so if you manage to refresh/build your projects otherwise, feel free to remove them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reusing PDE in modeling context by Stampie</title>
		<link>http://cubussapiens.hu/2011/11/reusing-pde-in-modeling-context/comment-page-1/#comment-26041</link>
		<dc:creator>Stampie</dc:creator>
		<pubDate>Sun, 13 Nov 2011 19:45:31 +0000</pubDate>
		<guid isPermaLink="false">http://cubussapiens.hu/?p=2187#comment-26041</guid>
		<description>Oh, the evergreen question of to-rollyourown-or-nottorollyourown implementation. :D Because I don&#039;t like the mentioned approach, I try to outline, what shall be implemented when choosing the referenced projects direction...

For being domain-specific, I see only a single way: to provide an expression language (or API), that helps deciding whether a selected project provides something needed. When these expression language is present, then the resulting project type could either be generated, or the defining model interpreted.

Luckily, the Core Expressions could be extended to incorporate such concepts (on the other hand, those expressions are a hell to write and debug :( ). But they (1) exist, (2) are defined on Resources and (3) can be extended using various property testers easily (already done it :) ).

Otherwise, creating a project type (or nature) that supports versioning is comparatively easy (and maybe the manifest file could be hijacked when it exists :) to reuse the existing functionality). And then such an API would be easy to provide you described in this post.</description>
		<content:encoded><![CDATA[<p>Oh, the evergreen question of to-rollyourown-or-nottorollyourown implementation. <img src='http://cubussapiens.hu/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Because I don&#8217;t like the mentioned approach, I try to outline, what shall be implemented when choosing the referenced projects direction&#8230;</p>
<p>For being domain-specific, I see only a single way: to provide an expression language (or API), that helps deciding whether a selected project provides something needed. When these expression language is present, then the resulting project type could either be generated, or the defining model interpreted.</p>
<p>Luckily, the Core Expressions could be extended to incorporate such concepts (on the other hand, those expressions are a hell to write and debug <img src='http://cubussapiens.hu/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  ). But they (1) exist, (2) are defined on Resources and (3) can be extended using various property testers easily (already done it <img src='http://cubussapiens.hu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).</p>
<p>Otherwise, creating a project type (or nature) that supports versioning is comparatively easy (and maybe the manifest file could be hijacked when it exists <img src='http://cubussapiens.hu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  to reuse the existing functionality). And then such an API would be easy to provide you described in this post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reusing PDE in modeling context by Balage</title>
		<link>http://cubussapiens.hu/2011/11/reusing-pde-in-modeling-context/comment-page-1/#comment-26039</link>
		<dc:creator>Balage</dc:creator>
		<pubDate>Sun, 13 Nov 2011 19:00:43 +0000</pubDate>
		<guid isPermaLink="false">http://cubussapiens.hu/?p=2187#comment-26039</guid>
		<description>Yes, I must agree with everything you say, I know about the problems. I also know about the &quot;referenced projects&quot; feature, but it lacks a lot of functionality which makes PDE so powerful (version handling, using models which are not located in the workspace but from installation - like a common library, etc..).

The complete solution would be a PDE-like feature for EMF projects with similar functionality, but in a domain specific way. It is just easier to reuse existing functionality than to write my own code.</description>
		<content:encoded><![CDATA[<p>Yes, I must agree with everything you say, I know about the problems. I also know about the &#8220;referenced projects&#8221; feature, but it lacks a lot of functionality which makes PDE so powerful (version handling, using models which are not located in the workspace but from installation &#8211; like a common library, etc..).</p>
<p>The complete solution would be a PDE-like feature for EMF projects with similar functionality, but in a domain specific way. It is just easier to reuse existing functionality than to write my own code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

