Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Problems after update to Eclipse 3.6 with GMF 2.3.0(Diagram editor does not work like before)
Problems after update to Eclipse 3.6 with GMF 2.3.0 [message #543730] Wed, 30 June 2010 12:36 Go to next message
Ines  is currently offline Ines Friend
Messages: 4
Registered: March 2010
Junior Member
Hi,

I updated my Eclipse from version 3.5.1 to 3.6 and the GMF plugins from version 2.2.0 to 2.3.0.

Now, there are two problems:

1. I use a figure descriptor with compound polylines in the graphical model. The generated EditPart class creates a figure with a draw2d.PolylineShape instead of a draw2d.Polyline due to Bug 142010. This figure descriptor is used for an affixed child of another node. The problem is that the polylines of the child nodes do not appear in the diagram. (I didn't make any changes at any models).

2. The affixed childs of a node do not take care for the "Affixed Parent Side" property if they are created by the element initializer. They are positioned at the preferred side when they are created by the user with the toolbar.

Are there any ideas for workarounds? Otherwise I have to roll back to the last version.

Best regards!
Ines
Re: Problems after update to Eclipse 3.6 with GMF 2.3.0 [message #547935 is a reply to message #543730] Tue, 20 July 2010 08:36 Go to previous messageGo to next message
Soeren Hansen is currently offline Soeren HansenFriend
Messages: 3
Registered: March 2010
Junior Member
Hi,

We have also had the problem with the new PolylineShape not showing in the diagram.
We debugged the whole thing down to OS level and couldn't find anything wrong:
- the PolylineShape is created and added inside the NodeEditpart
- the oulineShape() method gets called
- the PolylineShape has sensible bounds and points which should constitute a simple line
- the background and foreground color of the shape are both actually black (while the parent node is mostly white)
- all other other attributes like lineWidth and so on seem to have sensible values as well

In short everything seems to be in order, the line just doesn't appear in the diagram.

We reverted back to using Polylines for now by changing the .gmfgen using Operational QVT. However any update on this would be appreciated as our solution is obviously an unwanted hack.

Regards,
Soeren
Re: Problems after update to Eclipse 3.6 with GMF 2.3.0 [message #548128 is a reply to message #547935] Tue, 20 July 2010 17:50 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
On 07/20/2010 04:36 AM, Soeren Hansen wrote:
> Hi,
>
> We have also had the problem with the new PolylineShape not showing in
> the diagram.
> We debugged the whole thing down to OS level and couldn't find anything
> wrong:
> - the PolylineShape is created and added inside the NodeEditpart
> - the oulineShape() method gets called
> - the PolylineShape has sensible bounds and points which should
> constitute a simple line
> - the background and foreground color of the shape are both actually
> black (while the parent node is mostly white)
> - all other other attributes like lineWidth and so on seem to have
> sensible values as well
>
> In short everything seems to be in order, the line just doesn't appear
> in the diagram.
>
> We reverted back to using Polylines for now by changing the .gmfgen
> using Operational QVT. However any update on this would be appreciated
> as our solution is obviously an unwanted hack.
>
> Regards,
> Soeren

Hi Soeren,

I assume you are referring to using org.eclipse.draw2d.PolylineShape right?

Cheers...
Anthony
Re: Problems after update to Eclipse 3.6 with GMF 2.3.0 [message #548872 is a reply to message #548128] Fri, 23 July 2010 11:04 Go to previous message
Soeren Hansen is currently offline Soeren HansenFriend
Messages: 3
Registered: March 2010
Junior Member
Anthony Hunter wrote on Tue, 20 July 2010 13:50
On 07/20/2010 04:36 AM, Soeren Hansen wrote:
> Hi,
>
> We have also had the problem with the new PolylineShape not showing in
> the diagram.
> We debugged the whole thing down to OS level and couldn't find anything
> wrong:
> - the PolylineShape is created and added inside the NodeEditpart
> - the oulineShape() method gets called
> - the PolylineShape has sensible bounds and points which should
> constitute a simple line
> - the background and foreground color of the shape are both actually
> black (while the parent node is mostly white)
> - all other other attributes like lineWidth and so on seem to have
> sensible values as well
>
> In short everything seems to be in order, the line just doesn't appear
> in the diagram.
>
> We reverted back to using Polylines for now by changing the .gmfgen
> using Operational QVT. However any update on this would be appreciated
> as our solution is obviously an unwanted hack.
>
> Regards,
> Soeren

Hi Soeren,

I assume you are referring to using org.eclipse.draw2d.PolylineShape right?

Cheers...
Anthony


Hi Anthony,

Yes, that's right.

Regards,
Soeren
Previous Topic:Auto-size containers
Next Topic:Select newly inserted model element
Goto Forum:
  


Current Time: Fri May 24 23:11:06 GMT 2024

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

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

Back to the top