Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [xcore] first open of XMI using Dynamic_Instance feature opens in XML editor
[xcore] first open of XMI using Dynamic_Instance feature opens in XML editor [message #1695465] Thu, 14 May 2015 23:52 Go to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
While working through this https://wiki.eclipse.org/Xcore#Creating_a_Dynamic_Instance section of the xcore wiki page I noticed that the default editor view is the XML editor, not the "Sample Reflective Model Ecore editor". Yes I know I can pick it from the pop out context menu. My point is that the default behavior does not agree with the wiki page screen capture. If others can confirm the issue I will submit a bug report.



Oxygen 3a
Windows 10
Re: [xcore] first open of XMI using Dynamic_Instance feature opens in XML editor [message #1695485 is a reply to message #1695465] Fri, 15 May 2015 08:16 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30353
Registered: July 2009
Senior Member
Paul,

This is the nature of Eclipse. Other plugins can introduce
capabilities, such as editors. It's not a bug that the Web Tools
project, when installed, decides its editor is very important and should
be the default.

On 15/05/2015 1:52 AM, Paul Roubekas wrote:
> While working through this
> https://wiki.eclipse.org/Xcore#Creating_a_Dynamic_Instance section of
> the xcore wiki page I noticed that the default editor view is the XML
> editor, not the "Sample Reflective Model Ecore editor". Yes I know I
> can pick it from the pop out context menu. My point is that the
> default behavior does not agree with the wiki page screen capture. If
> others can confirm the issue I will submit a bug report.
>
>
Re: [xcore] first open of XMI using Dynamic_Instance feature opens in XML editor [message #1695507 is a reply to message #1695485] Fri, 15 May 2015 12:38 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
If I understand what is being said correctly, then there is no way in Eclipse to say in my new plugin XYZ whenever a user double clicks on a file with an extension ending in "*.xzy" in a project of type XYZ use my XYZ editor. Is that correct?

Oxygen 3a
Windows 10
Re: [xcore] first open of XMI using Dynamic_Instance feature opens in XML editor [message #1695576 is a reply to message #1695507] Sun, 17 May 2015 09:04 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30353
Registered: July 2009
Senior Member
Paul,

The user can set preferences.

Window -> Preferences -> General -> Editor -> File Associations

It just gets trickier when multiple plugins contribute to these file
associations, but the user can always decide which they prefer...


On 15/05/2015 2:38 PM, Paul Roubekas wrote:
> If I understand what is being said correctly, then there is no way in
> Eclipse to say in my new plugin XYZ whenever a user double clicks on a
> file with an extension ending in "*.xzy" in a project of type XYZ use
> my XYZ editor. Is that correct?
Previous Topic:[xcore] Lockup on entering date on dynamic instance
Next Topic:SDO serialization and non-containment references
Goto Forum:
  


Current Time: Tue Aug 20 22:20:20 GMT 2019

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

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

Back to the top