Skip to main content



      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 19:52 Go to next message
Eclipse UserFriend
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 #1695485 is a reply to message #1695465] Fri, 15 May 2015 04:16 Go to previous messageGo to next message
Eclipse UserFriend
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 08:38 Go to previous messageGo to next message
Eclipse UserFriend
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?
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 05:04 Go to previous message
Eclipse UserFriend
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: Wed Jul 02 20:35:22 EDT 2025

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

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

Back to the top