Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Help in ZEST
Help in ZEST [message #788657] Thu, 02 February 2012 03:29 Go to next message
Menard Mabunga is currently offline Menard MabungaFriend
Messages: 7
Registered: January 2012
Junior Member
Hi all,

I have a problem from the tutorial Lars Vogel
when I try to add

viewer.setConnectionStyle(ZestStyles.CONNECTIONS_DOT);


in

	public void createPartControl(Composite parent) {
		viewer = new GraphViewer(parent, SWT.BORDER);
		viewer.setContentProvider(new GNodeContentProvider());
		viewer.setLabelProvider(new GLabelProvider());
		GNodeModelProvider model = new GNodeModelProvider();
		viewer.setInput(model.getNodes());
		LayoutAlgorithm layout = setLayout();
		viewer.setLayoutAlgorithm(layout, true);
		viewer.applyLayout();
		viewer.setConnectionStyle(ZestStyles.CONNECTIONS_DOT);

	}


the program displays an error...

How can I resolve this?

thanks.

MENARD
Re: Help in ZEST [message #788695 is a reply to message #788657] Thu, 02 February 2012 04:56 Go to previous message
Menard Mabunga is currently offline Menard MabungaFriend
Messages: 7
Registered: January 2012
Junior Member
Got this SOLVED!
Previous Topic:zoom and color of SVG Images in GEF
Next Topic:How to define/set a node as a root
Goto Forum:
  


Current Time: Sat Dec 20 10:36:00 GMT 2014

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

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