Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Bug in Eclipse Forms doc?
Bug in Eclipse Forms doc? [message #209917] Thu, 11 March 2004 21:24
Christian Hauser is currently offline Christian HauserFriend
Messages: 189
Registered: July 2009
Senior Member
Hello all (especially Dejan or who ever wrote this article)

I just looked at the Eclipse Forms documentation:
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/pde-ui-h ome/working/EclipseForms/EclipseForms.html

And the first example (under 'getting started') IMHO has a bug:

public class FormView extends ViewPart {
...
private ScrolledForm form;
...
public void createPartControl(Composite parent) {
toolkit = new FormToolkit(parent.getDisplay());
form = toolkit.createForm(parent); // -->
toolkit.createScrolledForm(parent);
form.setText("Hello, Eclipse Forms");
}
...
}

Within the method createPartControl it says
toolkit.createForm(parent) instead of toolkit.createScrolledForm(parent).

You guys did a great work with Eclipse Forms (and this article). Thanks.

Christian
Previous Topic:Distributed resource management
Next Topic:javai.dll was not found and JVM terminated
Goto Forum:
  


Current Time: Thu Dec 26 14:14:37 GMT 2024

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

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

Back to the top