<?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>Steven She at woggie.net &#187; Eclipse</title>
	<atom:link href="http://www.woggie.net/category/development/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.woggie.net</link>
	<description>The life of a PhD Candidate in Software Engineering</description>
	<lastBuildDate>Mon, 25 Oct 2010 14:33:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Opening a Marker in an Eclipse Java Editor</title>
		<link>http://www.woggie.net/2008/12/06/opening-a-marker-in-a-java-editor/</link>
		<comments>http://www.woggie.net/2008/12/06/opening-a-marker-in-a-java-editor/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 19:16:24 +0000</pubDate>
		<dc:creator>Steven She</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://www.woggie.net/?p=100</guid>
		<description><![CDATA[Markers are a great feature of Eclipse and there are some great articles on creating Markers. However, I couldn&#8217;t find a good article on opening markers in an editor. So, here&#8217;s the best call sequence that I could figure out: IJavaElement element = ...; IEditorInput input = EditorUtility.getEditorInput&#40;element&#41;; IEditorPart editor = getSite&#40;&#41;.getPage&#40;&#41;.openEditor&#40;input, &#40;input instanceof FileEditorInput&#41; [...]]]></description>
			<content:encoded><![CDATA[<p>Markers are a great feature of Eclipse and there are some great articles on creating Markers. However, I couldn&#8217;t find a good article on opening markers in an editor. So, here&#8217;s the best call sequence that I could figure out:</p>

<div class="wp_syntax"><div class="code"><pre class="java5" style="font-family:monospace;">IJavaElement element = ...<span style="color: #339933;">;</span>
IEditorInput input = EditorUtility.<span style="color: #006633;">getEditorInput</span><span style="color: #009900;">&#40;</span>element<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
IEditorPart editor = getSite<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getPage</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">openEditor</span><span style="color: #009900;">&#40;</span>input,
    <span style="color: #009900;">&#40;</span>input <span style="color: #000000; font-weight: bold;">instanceof</span> FileEditorInput<span style="color: #009900;">&#41;</span> <span style="color: #339933;">?</span> : JavaUI.<span style="color: #006633;">ID_CU_EDITOR</span> 
            : JavaUI.<span style="color: #006633;">ID_CF_EDITOR</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
IDE.<span style="color: #006633;">gotoMarker</span><span style="color: #009900;">&#40;</span>editor, sNode.<span style="color: #006633;">getMarker</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>EditorUtility is an internal JDT class, but I couldn&#8217;t find a better way of doing this. A check on the return type of the <code>getEditorInput</code> call is necessary to since it can return either a file editor (for compilation units) or a class file editor.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.woggie.net/2008/12/06/opening-a-marker-in-a-java-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fmp 0.7.0 Development Release</title>
		<link>http://www.woggie.net/2008/04/01/fmp-070-development-release/</link>
		<comments>http://www.woggie.net/2008/04/01/fmp-070-development-release/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 20:31:48 +0000</pubDate>
		<dc:creator>Steven She</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[School]]></category>

		<guid isPermaLink="false">http://www.woggie.net/2008/04/01/fmp-070-development-release/</guid>
		<description><![CDATA[I&#8217;ve been doing some development on the feature modeling plug-in during the past week and have implemented several new features and bug fixes (shown below). I&#8217;m releasing the plug-in as a development release, for now. I have started rewriting the configuration backend, but my thesis deadline is fast approaching and I will not have enough [...]]]></description>
			<content:encoded><![CDATA[<p class="bordered" align="center"><a title="fmp 0.7.0 Screenshot" href="http://www.woggie.net/wp-content/uploads/2008/04/fmp-070.gif"><img class="imageframe imgalignleft" src="http://www.woggie.net/wp-content/uploads/2008/04/fmp-070.gif" alt="fmp 0.7.0 Screenshot" width="650" height="210" /></a></p>
<p>I&#8217;ve been doing some development on the <a href="http://gsd.uwaterloo.ca/projects/fmp-plugin">feature modeling plug-in</a> during the past week and have implemented several new features and bug fixes (shown below).</p>
<p>I&#8217;m releasing the plug-in as a <em>development release</em>, for now. I have started rewriting the configuration backend, but my thesis deadline is fast approaching and I will not have enough time to complete the changes in <em>fmp</em>. In any case, please let me know of any bugs you find, or if you have a feature request. The source code is also included in the plug-in, so feel free to hack away at it yourself if you are inclined. When the plug-in is sufficiently tested, I will merge this branch into the trunk of the CVS repository on SourceForge. Give it a try!</p>
<h4>New Features</h4>
<ul>
<li>New, more robust and featureful constraint view.</li>
<li>Constraints are shown for the feature hierarchy in addition to additional constraints.</li>
<li>When a configuration is selected in the feature model editor, the constraints are evaluated and the status of each constraint is shown (ie. satisfied or not satisfied).</li>
<li>Support for arbitrary propositional formulas when writing additional constraints. <strong>NOTE:</strong> constraints are written using node Id instead of an XPath expression. However, feature models created using fmp 0.6.6 are compatible, but will require re-writing the constraints using the new grammar. See below for examples.</li>
<li>Ability to view Node Ids next to feature names in the feature model.</li>
<li>Constraint input validation.</li>
<li>Constraint resolution. An unsatisfied constraint can be resolved in a configuration by right-clicking and selecting ‘Resolve Constraint’.</li>
</ul>
<h4>Installation</h4>
<ul>
<li>Download <a href="http://gsd.uwaterloo.ca/%7Eshshe/ca.uwaterloo.gp.fmp_0.7.0.jar">ca.uwaterloo.gp.fmp_0.7.0.jar</a></li>
<li>Compiled for Java 5 (Java 6 compatible), Eclipse 3.2</li>
</ul>
<p>Project Homepage: <a href="http://gsd.uwaterloo.ca/projects/fmp-plugin/fmp-070/">http://gsd.uwaterloo.ca/projects/fmp-plugin/fmp-070/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.woggie.net/2008/04/01/fmp-070-development-release/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

