Problems after update to Eclipse 3.6 with GMF 2.3.0 [message #543730] |
Wed, 30 June 2010 12:36  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03479 seconds