facebook

no MyEclipse support for EMF, ECore XMI?

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #242106 Reply

    Hi,
    I searched this site on “emf”, “ecore” , “ecore AND XMI” and couldn’t find anything relevant.

    It appears that MyEclipse doesn’t support EMF ECore Class Diagram (*.ecd, *.ecore files) neither by graphically editing (UML) nor by simply editing textual representation of XML/XMI 2.0 through “MyEclipse XML Editor” (though creating some interfering incompatibilities to EMF+GEF and EclipseUML +EMF interaction)

    Is it correct?

    How can I enable, at least, MyEclipse XML Editor on XMI 2.0 files with .ecore, .ecd extensions, or whatever helpful from MyEclipse?

    I use MyEclipse Enterprise Workbench 4.0.3 (licensed), Eclipse SDK 3.1.0 (disabled Omondo EclipseUML but couldn’t find any MyEclipse features for EMF, anyway). Now I am thinking to disable MyEclipse because it doesn’t add anything except complications (to plug-in development environment).

    Correct me,
    Guennadi Vanine

    #242109 Reply

    Brian Fernandes
    Moderator

    Guennadi,

    We do not support graphical editing of .ecd or .ecore files in our UML editor. If you were expecting something else, please elaborate so that we can answer precisely.

    If you wish to edit the markup in our xml editor, go to Window > Preferences > General > Content Types. Then drill down to MyEclipse XML Content Type (Text > XML > MyEclipse XML Content Type), click Add and add the ecd and ecore extensions there.
    If you right click the file you wish to edit, under Open With, you will see the MyEclipse XML Editor. Select that to begin editing with this editor. Eclipse opens files with the last editor used to open it, so once you do this once you should be all set (double clicking will open with our editor)

    Best,
    Brian.

    #242110 Reply

    Hi, Brian,
    thanks a lot for yr prompt week-end help (nice weekend to u and yr family also). That’s a long chain path and it worked!

    I noticed that other entries under “MyEclipse XML Content Type”
    have
    *.xml (locked)

    What does “(locked”) mean?

    #242111 Reply

    @vgv8 wrote:

    Hi, Brian,
    thanks a lot for yr prompt week-end help (nice weekend to u and yr family also). That’s a long chain path and it worked!

    I noticed that other entries under “MyEclipse XML Content Type”
    have
    *.xml (locked)

    What does “(locked”) mean?

    Added later:
    It seems I do not have automatic addition of my signature:
    Correct me,
    Guennadi Vanine

    #242112 Reply

    Brian Fernandes
    Moderator

    Guennadi,

    Thank you, but my weekend is over 🙁
    Glad your xml editing is working out.

    Locked = that content type binding was added by a plugin (via plugin.xml) not by a user (you), it cannot be changed. You shouldn’t have to worry about this at all.

    About your signature:
    1) If you’re using Quick Reply, have you checked Attach signature?
    2) It is possible to set the signature both under MyAccount > Change your info and Profile, make sure you set the signature in Profile for it to appear.

    Best,
    Brian.

    #242113 Reply

    Now, when I consult File Associations (General–> Editors–> File Associations) for *.ecore, I observe:

      Sample ECore Model Editor
      MyEclipse XML Editor (locked by ‘MyEclipse XML Content Type’ content type)
      Text Editor (locked by ‘MyEclipse XML Content Type’ content type)

    though I have all files closed in Eclipse workbench

    and I do not have ‘Sample ECore Model Editor’ on right-clicking *.ecore file :(((

    Guennadi Vanine

      #242115 Reply

      Brian Fernandes
      Moderator

      Now, when I consult File Associations (General–> Editors–> File Associations) for *.ecore, I observe:

      Sample ECore Model Editor
      MyEclipse XML Editor (locked by ‘MyEclipse XML Content Type’ content type)
      Text Editor (locked by ‘MyEclipse XML Content Type’ content type)

      though I have all files closed in Eclipse workbench

      Whether you have files open or not does not matter, those are your file associations for eclipse.

      and I do not have ‘Sample ECore Model Editor’ on right-clicking *.ecore file :(((

      You mean you had this before and after adding the binding I suggested above, it is no longer an option? Odd.

      1) Try starting eclipse with a -clean flag just once (eclipse.exe -clean)
      2) Could you remove the binding and see if the ecore editor reappears? Then we’re sure it’s the binding that is causing this.
      3) if #2 works out for you, add an associate *.ecore files with MyEclispe XML Editor in the File Associations tab, not the content types tab and see if that works.

      Let us know if you experience further issues,
      Best,
      Brian.

      #242116 Reply

      Yes, “Attach signature” is checked by default.

      Earlier when I edited my Personal Information, I answered “Yes” to messagebox window “”Use Visual Mode?” and now I re-choose: “No”.

      Let’s see

      Now I edit existing post (bkoz earlier it appeared as another post with “quoted message”)
      No, my signature continues to be down

      And I do not use Quick Reply, but in “slow” reply “Attach signature” doesn’t apeear

      #242117 Reply

      Brian Fernandes
      Moderator

      Guennadi,

      Earlier when I edited my Personal Information, I answered “Yes” to messagebox window “”Use Visual Mode?” and now I re-choose: “No”.

      You’re in the wrong place, please click the Profile link (just above the thread title) to edit your signature. I think this link should work too: http://www.myeclipseide.com/PNphpBB2+file-profile-mode-editprofile.html

      Best,
      Brian.

      #242120 Reply

      added my signature there also, now.
      In “slow” reply the “Attach signature” appeared

      #244538 Reply

      mdl2emf
      Member

      @Support-Brian wrote:

      We do not support graphical editing of .ecd or .ecore files in our UML editor. If you were expecting something else, please elaborate so that we can answer precisely.

      1.) Does the MyEclipse IDE support EMF-XMI- or EMOF-XMI-export? (They might be the same, see “Does EMF support OMG XMI?” in the Eclipse-EMF-FAQ)
      2.) Are there some XSLT/templates out there, that do the trick (MyEclipse XMI -> EMF-XMI), if the answer to my first question is no? (argo2ecore might help)
      3.) I don’t know what EclipseUML precisely does to supports native editing of EMF, but can’t you do the same?

      Thank you for your time.

      http://www.codegeneration.net/tiki-read_article.php?articleId=38 from 2004 states:
      “EMF’s meta-model, Ecore, roughly corresponds to the EMOF (Essential MOF) subset of the recently accepted MOF 2.0 standard. The next release of EMF will work with and support standard EMOF XMI model definitions.” and
      Omondo has a released a very popular Eclipse-based UML tool, called EclipseUML, which supports native editing of EMF core models using the UML notation.”

      #245382 Reply

      support-michael
      Keymaster

      1.) Does the MyEclipse IDE support EMF-XMI- or EMOF-XMI-export? (They might be the same, see “Does EMF support OMG XMI?” in the Eclipse-EMF-FAQ)

      Not at this time. We are researching the possibility exporting MyUML->Ecore but it has been a low user priority.

      2.) Are there some XSLT/templates out there, that do the trick (MyEclipse XMI -> EMF-XMI), if the answer to my first question is no? (argo2ecore might help)

      Yes, we are aware of this possible solution and it is part of the activites in my previous answer.

      3.) I don’t know what EclipseUML precisely does to supports native editing of EMF, but can’t you do the same?

      The MyEclipse feature-set is customer driven. This question is about a very specialized use-case that, to my knowledge, has very low demand. Can you help us understand what your big picture is around this use-case, e.g., MDA addon, customized diagramming, …?

      #245472 Reply

      mdl2emf
      Member

      @support-michael wrote:

      3.) I don’t know what EclipseUML precisely does to supports native editing of EMF, but can’t you do the same?

      The MyEclipse feature-set is customer driven. This question is about a very specialized use-case that, to my knowledge, has very low demand. Can you help us understand what your big picture is around this use-case, e.g., MDA addon, customized diagramming, …?

      The big picture is a MDA-tool-chain, which is very efficient, at least in our opinion:
      The UML-tool is still to decide: MyEclipse, EclipseUML, ArgoUML, Enterprise Architect, AmaterasUML, …
      The class diagrams are mapped to EMF, Ecore respectively (e.g. via XSLT, argo2ecore)
      EMF is most usefull, e.g. read http://www.awprofessional.com/content/images/0131425420/samplechapter/budinskych02.pdf
      so XML persistence is for free and database persistence is reached via
      http://www.elver.org/hibernate/, an EMF persistency solution using Hibernate.
      Hibernates advantages are common knowledge and what can be build on top of EMF-domain models is close to unlimited in my imagination 😉

      All together 1-2 days to set up a perfectly configured, well supported O/R-mapper for any UML-class model with all the advantages of EMF, where the least relevant might be the generated instance-editor (originally for XML, now with Hibernate persistence, too).
      Combine all this with Hibernates Criteria API and you get rid of most SQL/HQL syntax trouble.

    Viewing 13 posts - 1 through 13 (of 13 total)
    Reply To: no MyEclipse support for EMF, ECore XMI?

    You must be logged in to post in the forum log in