Skip to main content



      Home
Home » Eclipse Projects » GEF » How create a File extension in gef to GEF Editor
How create a File extension in gef to GEF Editor [message #53764] Sat, 11 January 2003 20:54 Go to next message
Eclipse UserFriend
Originally posted by: nemanak.yahoo.com

Hi all

I am new to GEF. I downloaded the samples provided at this url
http://eclipsewiki.swiki.net/50 .

I am going through sample HelloGef1. as per the instructions i am able to
open the graphical editor.

My question is, if i want change the file extension (right now in the sample
it is "xx.gefhello1") where and how i should change.

I scan through the code i didnot get it.

any help please

Thanks and Regards
nemanak
Re: How create a File extension in gef to GEF Editor [message #53791 is a reply to message #53764] Sun, 12 January 2003 01:57 Go to previous message
Eclipse UserFriend
The extension is specified in the plugin.xml file.

<extension point="org.eclipse.ui.editors">
<editor
name="Hello GEF 1 Editor"
icon="icons/sample.gif"
extensions="gefhello1" <!-- FILE EXTENSION -->
class="org.eclipse.gef.examples.hellogef.HelloGefEditor"
id="Hello GEF Editor">
</editor>
</extension>


Eric


Nemanak wrote:
> Hi all
>
> I am new to GEF. I downloaded the samples provided at this url
> http://eclipsewiki.swiki.net/50 .
>
> I am going through sample HelloGef1. as per the instructions i am able to
> open the graphical editor.
>
> My question is, if i want change the file extension (right now in the sample
> it is "xx.gefhello1") where and how i should change.
>
> I scan through the code i didnot get it.
>
> any help please
>
> Thanks and Regards
> nemanak
>
>
Previous Topic:help me please
Next Topic:TemplateTransferDropTargetListener
Goto Forum:
  


Current Time: Wed May 07 21:42:02 EDT 2025

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

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

Back to the top