Bug 254584 - Graph constructor style argument passed to Draw2D
Summary: Graph constructor style argument passed to Draw2D
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy Zest (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-07 07:53 EST by Dimitris Kolovos CLA
Modified: 2008-11-07 07:53 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitris Kolovos CLA 2008-11-07 07:53:11 EST
I'm trying to initialize a graph using the following line of code

new Graph(parent, SWT.NONE | ZestStyles.IGNORE_INVISIBLE_LAYOUT)

in an Eclipse editor but the following error is reported:

Could not open the editor: Invalid style being set on FigureCanvas

The problem seems to be that Zest is passing the style all the way to draw2d while it shouldn't.