Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Exchange (EMF-)Editor
Exchange (EMF-)Editor [message #1802250] Tue, 05 February 2019 08:55 Go to next message
Simon BBBBBBB is currently offline Simon BBBBBBBFriend
Messages: 60
Registered: March 2015
Member
Hello together,

we are working with the eclipse modeling framework (emf), espacally with the Sample Reflective Ecore Editor. This editor is registered in the org.eclipse.emf.ecore.editor (plugin.xml).

I need to replace this with my own Editor-Class so that i can extend it. Its important that the menu contribution is exchanged by my own, the original editor should not be accessible anymore.

Any ideas?

Greetings,
Simon
Re: Exchange (EMF-)Editor [message #1802259 is a reply to message #1802250] Tue, 05 February 2019 13:53 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 876
Registered: January 2012
Senior Member

I think Ed looks in on this forum occasionally, but you'll likely get more feedback from the EMF forums.

Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Re: Exchange (EMF-)Editor [message #1802301 is a reply to message #1802259] Wed, 06 February 2019 06:40 Go to previous messageGo to next message
Simon BBBBBBB is currently offline Simon BBBBBBBFriend
Messages: 60
Registered: March 2015
Member
Isnt this more a framework problem then an emf problem? You could replace Ecore Editor with any other editor that comes from a plugin. Thats why i posted it here.
Re: Exchange (EMF-)Editor [message #1802327 is a reply to message #1802301] Wed, 06 February 2019 14:16 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3883
Registered: July 2009
Senior Member

Replacing an existing editor isn't a problem that usually needs solving. The platform makes it so you can contribute your own.

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Exchange (EMF-)Editor [message #1802368 is a reply to message #1802327] Thu, 07 February 2019 12:33 Go to previous messageGo to next message
Simon BBBBBBB is currently offline Simon BBBBBBBFriend
Messages: 60
Registered: March 2015
Member
i know and i already did that, but now i need to confirm that "my" files are alwas opened with my editor - how can i achieve that?

[Updated on: Thu, 07 February 2019 12:33]

Report message to a moderator

Re: Exchange (EMF-)Editor [message #1802436 is a reply to message #1802368] Fri, 08 February 2019 20:21 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 876
Registered: January 2012
Senior Member

You could install a part listener and check that the editor input for your type of files, and then check the editor ID.

Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Previous Topic:Testing classes with injected IEclipsePreferences
Next Topic: Scroll to one line in console plugin
Goto Forum:
  


Current Time: Fri Oct 30 05:38:29 GMT 2020

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

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

Back to the top