<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Getting rid of &#8220;Convert Line Delimiters to&#8221;</title>
	<link>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/</link>
	<description>rich client 2.0</description>
	<pubDate>Thu, 11 Mar 2010 03:36:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>

	<item>
		<title>by: Pablo</title>
		<link>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-60937</link>
		<pubDate>Fri, 06 Nov 2009 12:33:27 +0000</pubDate>
		<guid>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-60937</guid>
					<description>Finally :) 

[extension
         point=&quot;org.eclipse.ui.activities&quot;\]
      [activity
            description=&quot;Disable plug-in contributions&quot;
            id=&quot;myRcp.app.ID.disableEclipseIDEContribs&quot;
            name=&quot;DisableIDEContribs&quot;\]
      [/activity]
      [activityPatternBinding
            activityId=&quot;myRcp.app.ID.disableEclipseIDEContribs&quot;
            pattern=&quot;org\.eclipse\.ui\.editors/org\.eclipse\.ui\.edit\.text\.delimiter.*&quot;]
      [/activityPatternBinding]

[/extension]</description>
		<content:encoded><![CDATA[<p>Finally <img src='http://www.richclient2.eu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>[extension<br />
         point=&#8221;org.eclipse.ui.activities&#8221;\]<br />
      [activity<br />
            description=&#8221;Disable plug-in contributions&#8221;<br />
            id=&#8221;myRcp.app.ID.disableEclipseIDEContribs&#8221;<br />
            name=&#8221;DisableIDEContribs&#8221;\]<br />
      [/activity]<br />
      [activityPatternBinding<br />
            activityId=&#8221;myRcp.app.ID.disableEclipseIDEContribs&#8221;<br />
            pattern=&#8221;org\.eclipse\.ui\.editors/org\.eclipse\.ui\.edit\.text\.delimiter.*&#8221;]<br />
      [/activityPatternBinding]</p>
<p>[/extension]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Pablo</title>
		<link>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-60934</link>
		<pubDate>Fri, 06 Nov 2009 12:25:00 +0000</pubDate>
		<guid>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-60934</guid>
					<description>You only need to add this to plugin.xml : 


      
      
      
      
</description>
		<content:encoded><![CDATA[<p>You only need to add this to plugin.xml :
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: bgilbert</title>
		<link>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-57900</link>
		<pubDate>Mon, 13 Jul 2009 15:33:21 +0000</pubDate>
		<guid>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-57900</guid>
					<description>Darn, the post needs to HTML encode the less than char.  

private void removeUnwantedAction(ActionSetRegistry reg, IActionSetDescriptor[] actionSets, List unwantedIDs)
{
	for (int i = 0; i &amp;#60; actionSets.length; i++)
	{
		String actionID = actionSets[i].getId();
		if (unwantedIDs.contains(actionID))
		{
			//System.out.println(&quot;ApplicationActionBarAdvisor removeUnwantedAction removing: &quot; + actionID);
			IExtension ext = actionSets[i].getConfigurationElement().getDeclaringExtension();
			reg.removeExtension(ext, new Object[] {actionSets[i]});
		}
	}
}</description>
		<content:encoded><![CDATA[<p>Darn, the post needs to HTML encode the less than char.  </p>
<p>private void removeUnwantedAction(ActionSetRegistry reg, IActionSetDescriptor[] actionSets, List unwantedIDs)<br />
{<br />
	for (int i = 0; i &lt; actionSets.length; i++)<br />
	{<br />
		String actionID = actionSets[i].getId();<br />
		if (unwantedIDs.contains(actionID))<br />
		{<br />
			//System.out.println(&#8221;ApplicationActionBarAdvisor removeUnwantedAction removing: &#8221; + actionID);<br />
			IExtension ext = actionSets[i].getConfigurationElement().getDeclaringExtension();<br />
			reg.removeExtension(ext, new Object[] {actionSets[i]});<br />
		}<br />
	}<br />
}
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: bgilbert</title>
		<link>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-57899</link>
		<pubDate>Mon, 13 Jul 2009 15:31:54 +0000</pubDate>
		<guid>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-57899</guid>
					<description>For some reason my post did not get the method:

private void removeUnwantedAction(ActionSetRegistry reg, IActionSetDescriptor[] actionSets, List unwantedIDs)
{
	for (int i = 0; i </description>
		<content:encoded><![CDATA[<p>For some reason my post did not get the method:</p>
<p>private void removeUnwantedAction(ActionSetRegistry reg, IActionSetDescriptor[] actionSets, List unwantedIDs)<br />
{<br />
	for (int i = 0; i
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: bgilbert</title>
		<link>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-57898</link>
		<pubDate>Mon, 13 Jul 2009 15:31:05 +0000</pubDate>
		<guid>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-57898</guid>
					<description>Improved to make single pass through actions and process list of unwanted actions:
In ApplicationActionBarAdvisor.makeActions add
...
ActionSetRegistry reg = WorkbenchPlugin.getDefault().getActionSetRegistry();
IActionSetDescriptor[] actionSets = reg.getActionSets();
ArrayList unwantedIDs = new ArrayList();
unwantedIDs.add(&quot;org.eclipse.ui.edit.text.actionSet.navigation&quot;);
unwantedIDs.add(&quot;org.eclipse.ui.edit.text.actionSet.convertLineDelimitersTo&quot;);
unwantedIDs.add(&quot;org.eclipse.ui.actionSet.openFiles&quot;);

removeUnwantedAction(reg, actionSets, unwantedIDs);
...


@SuppressWarnings(&quot;restriction&quot;)
private void removeUnwantedAction(ActionSetRegistry reg, IActionSetDescriptor[] actionSets, List unwantedIDs)
{
	for (int i = 0; i </description>
		<content:encoded><![CDATA[<p>Improved to make single pass through actions and process list of unwanted actions:<br />
In ApplicationActionBarAdvisor.makeActions add<br />
&#8230;<br />
ActionSetRegistry reg = WorkbenchPlugin.getDefault().getActionSetRegistry();<br />
IActionSetDescriptor[] actionSets = reg.getActionSets();<br />
ArrayList unwantedIDs = new ArrayList();<br />
unwantedIDs.add(&#8221;org.eclipse.ui.edit.text.actionSet.navigation&#8221;);<br />
unwantedIDs.add(&#8221;org.eclipse.ui.edit.text.actionSet.convertLineDelimitersTo&#8221;);<br />
unwantedIDs.add(&#8221;org.eclipse.ui.actionSet.openFiles&#8221;);</p>
<p>removeUnwantedAction(reg, actionSets, unwantedIDs);<br />
&#8230;</p>
<p>@SuppressWarnings(&#8221;restriction&#8221;)<br />
private void removeUnwantedAction(ActionSetRegistry reg, IActionSetDescriptor[] actionSets, List unwantedIDs)<br />
{<br />
	for (int i = 0; i
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: werutzb</title>
		<link>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-44543</link>
		<pubDate>Wed, 08 Oct 2008 01:40:27 +0000</pubDate>
		<guid>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-44543</guid>
					<description>Hi!

I want to make better my SQL experience.
 I red that many SQL books and would like to
read more about SQL for my work as oracle database manager.

 What can you recommend?

Thanks,
Werutz</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I want to make better my SQL experience.<br />
 I red that many SQL books and would like to<br />
read more about SQL for my work as oracle database manager.</p>
<p> What can you recommend?</p>
<p>Thanks,<br />
Werutz
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: mike</title>
		<link>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-37841</link>
		<pubDate>Wed, 11 Jun 2008 15:23:46 +0000</pubDate>
		<guid>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-37841</guid>
					<description>The actionsetid can be found in the plugin &quot;org.eclipse.ui.ide&quot; as extension at the &quot;org.eclipse.ui.actionSets&quot; extensionpoint. Its id is &quot;org.eclipse.ui.actionSet.openFiles&quot;

Greets, Mike</description>
		<content:encoded><![CDATA[<p>The actionsetid can be found in the plugin &#8220;org.eclipse.ui.ide&#8221; as extension at the &#8220;org.eclipse.ui.actionSets&#8221; extensionpoint. Its id is &#8220;org.eclipse.ui.actionSet.openFiles&#8221;</p>
<p>Greets, Mike
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ben</title>
		<link>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-30547</link>
		<pubDate>Thu, 06 Mar 2008 18:44:13 +0000</pubDate>
		<guid>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-30547</guid>
					<description>cool site man</description>
		<content:encoded><![CDATA[<p>cool site man
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: cansen</title>
		<link>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-30311</link>
		<pubDate>Wed, 05 Mar 2008 06:49:30 +0000</pubDate>
		<guid>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-30311</guid>
					<description>Hi, i try to get rid of the&quot;Open File&quot; menu in the menubar which appeared with the &quot;Convert Line Delimiters to&quot;, how can i do this??
I can't fing the &quot;actionSetId&quot;</description>
		<content:encoded><![CDATA[<p>Hi, i try to get rid of the&#8221;Open File&#8221; menu in the menubar which appeared with the &#8220;Convert Line Delimiters to&#8221;, how can i do this??<br />
I can&#8217;t fing the &#8220;actionSetId&#8221;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Thanker</title>
		<link>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-23619</link>
		<pubDate>Fri, 28 Dec 2007 19:08:38 +0000</pubDate>
		<guid>http://www.richclient2.eu/2006_03_20/getting-rid-of-convert-line-delimiters-to/#comment-23619</guid>
					<description>Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Thanks a lot.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
