Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [ZEST] Initialize Graph with IGNORE_INVISIBLE_LAYOUT
[ZEST] Initialize Graph with IGNORE_INVISIBLE_LAYOUT [message #246087] Wed, 05 November 2008 00:17 Go to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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 #246128 is a reply to message #246087] Thu, 06 November 2008 17:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

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
Re: [ZEST] Initialize Graph with IGNORE_INVISIBLE_LAYOUT [message #246149 is a reply to message #246128] Fri, 07 November 2008 12:54 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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
Previous Topic:double line
Next Topic:Command LifeCYcle
Goto Forum:
  


Current Time: Fri Apr 26 18:36:05 GMT 2024

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

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

Back to the top