[ZEST] Initialize Graph with IGNORE_INVISIBLE_LAYOUT [message #246087] |
Tue, 04 November 2008 19:17  |
Eclipse User |
|
|
|
Hi,
I'm trying to initialize a graph with the IGNORE_INVISIBLE_LAYOUT style.
new Graph(parent, SWT.NONE | ZestStyles.IGNORE_INVISIBLE_LAYOUT) and
new Graph(parent, ZestStyles.IGNORE_INVISIBLE_LAYOUT)
produce an "Could not open the editor: Invalid style being set on
FigureCanvas" error
while
new Graph(parent, SWT.NONE & ZestStyles.IGNORE_INVISIBLE_LAYOUT) passes
this stage but doesn't work.
What is the proper way to do this?
Cheers,
Dimitris
|
|
|
|
Re: [ZEST] Initialize Graph with IGNORE_INVISIBLE_LAYOUT [message #246149 is a reply to message #246128] |
Fri, 07 November 2008 07:54  |
Eclipse User |
|
|
|
https://bugs.eclipse.org/bugs/show_bug.cgi?id=254584
Cheers,
Dimitris
Ian Bull wrote:
> Looking at your example, it appears you are doing this correctly. The
> error is a Draw2D error (Zest should not be passing that style all the
> way to draw2d).
>
> Can you open a bug for this?
>
> cheers,
> Ian
>
> Dimitrios Kolovos wrote:
>> Hi,
>>
>> I'm trying to initialize a graph with the IGNORE_INVISIBLE_LAYOUT style.
>>
>> new Graph(parent, SWT.NONE | ZestStyles.IGNORE_INVISIBLE_LAYOUT) and
>> new Graph(parent, ZestStyles.IGNORE_INVISIBLE_LAYOUT)
>>
>> produce an "Could not open the editor: Invalid style being set on
>> FigureCanvas" error
>>
>> while
>>
>> new Graph(parent, SWT.NONE & ZestStyles.IGNORE_INVISIBLE_LAYOUT)
>> passes this stage but doesn't work.
>>
>> What is the proper way to do this?
>>
>> Cheers,
>> Dimitris
|
|
|
Powered by
FUDForum. Page generated in 0.03578 seconds