Re: [partially solved] Re: Cross-model relationships and Entity Modeler

From: Ian Joyner (ian.joyne..portstec.com)
Date: Mon Jul 30 2007 - 02:38:52 EDT

  • Next message: Anjo Krank (JIRA): "[OS-JIRA] Created: (WOL-550) Perspective wrong when extra window is open"

    On 30/07/2007, at 4:25 PM, Thomas wrote:

    > I've installed Eclipse 3.3 and the WOLips stable release (the
    > plugins say they are 2.0.0.4118). Should I be installing some other
    > WOLips version?

    Your WOLips version is correct, but Eclipse version is wrong, you can
    only run 3.2.2. WOLips is not stable with 3.3 yet – we are all
    waiting for Mike Schrag to tell us when it will be OK, although the
    problems he is having seem to be in Eclipse, not WOLips.

    I bet you weren't expecting that!

    Ian
    >
    > The initial problem is the same: cross-model relationships are
    > displayed as the local model instead of the other model, and the
    > destination is not displayed.
    >
    > This version has a new behaviour: you can change the popups to be
    > the right thing, but inspecting something else and coming back
    > gives the same display problem.
    >
    > As a further point, the relationship list on the bottom right shows
    > the correct Destination, but it doesn't show the model, so it's not
    > enough to stop my paranoia.
    >
    > Regards
    > Thomas
    >
    > On 27/07/2007, at 22:25, Mike Schrag wrote:
    >
    >>> This would be the difference between:
    >>>
    >>> _modelComboViewer.setSelection(new StructuredSelection
    >>> (_relationship.getEntity().getModel()));
    >>>
    >>> and
    >>>
    >>> _modelComboViewer.setSelection(new StructuredSelection
    >>> (_relationship.getDestination().getModel()));
    >>>
    >>> This would seem to be just a display bug -- Is it actually
    >>> breaking something in your model? (and fixed in the 3.3 version)
    >>>
    >>> ms
    >>>
    >>> On Jul 27, 2007, at 3:01 AM, Thomas wrote:
    >>>
    >>>> Yes, the plist file is correct. It only shows the entity name,
    >>>> not the model where the entity comes from.
    >>>>
    >>>> But I have reproduced this problem in a new test project with
    >>>> two very simple models with just enough info to make a cross-
    >>>> model relationship. Setting up the relationship works, but when
    >>>> you inspect something else, eg an attribute, and then inspect
    >>>> the relationship, the Model is shown as the local model instead
    >>>> of the foreign model, and the Destination is blank. This despite
    >>>> the plist file being correct. This happens in all my models in
    >>>> all my projects.
    >>>>
    >>>> I have tried this on two different Eclipse installations, one
    >>>> the latest and one older, and I get the same result.
    >>>>
    >>>> If anybody can reproduce this, I will file a bug. If not, I will
    >>>> quietly commit hari-kiri.
    >>>>
    >



    This archive was generated by hypermail 2.0.0 : Mon Jul 30 2007 - 02:39:47 EDT