Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » associate editor for all file extension
associate editor for all file extension [message #63748] Thu, 05 June 2003 13:06
MorPheus is currently offline MorPheusFriend
Messages: 57
Registered: July 2009
Member
Hi,

I have created a editor by extending editorpart class. I need my editor
to be the default editor for all the files irrespective of file
extensions.How to do it

I know in the plugin.xml we have to give the file extension in "extension
tag" for which the editor will be associated with.But now I able to give
only one extension.Whether is it possible to use wild card so that my editor
will be opened irrespective of the file extensions.

MorPheus
<extension

point="org.eclipse.ui.editors">


<editor

name="RateBuilder"

icon="icons/ctool16/action1.gif"

extensions="rmo" -------------------------------------------------------->

class=" com.selectica.foundationservices.mbide.gui.CxMBMultiPageEdit or "

contributorClass="com.selectica.foundationservices.mbide.gui.CxMBEditorActio
nbarContributor"

id="CxMBMultiPageEditor">

</editor>

</extension>
Previous Topic:Disabling a context-menu action
Next Topic:How do I specify an Object Contribution to an Editor Ruler (2nd Post)
Goto Forum:
  


Current Time: Sat Dec 21 13:39:49 GMT 2024

Powered by FUDForum. Page generated in 0.03564 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top